Changeset View
Changeset View
Standalone View
Standalone View
src/secp256k1/CMakeLists.txt
# Copyright (c) 2017 The Bitcoin developers | # Copyright (c) 2017 The Bitcoin developers | ||||
cmake_minimum_required(VERSION 3.5) | cmake_minimum_required(VERSION 3.5) | ||||
project(secp256k1) | project(secp256k1) | ||||
# Add path for custom modules | |||||
set(CMAKE_MODULE_PATH | |||||
${CMAKE_MODULE_PATH} | |||||
${CMAKE_CURRENT_SOURCE_DIR}/../../cmake/modules | |||||
) | |||||
include(AddCompilerFlags) | include(AddCompilerFlags) | ||||
# libsecp256k1 use a different set of flags. | # libsecp256k1 use a different set of flags. | ||||
add_compiler_flags( | add_compiler_flags( | ||||
-pedantic | -pedantic | ||||
-Wall | -Wall | ||||
-Wextra | -Wextra | ||||
-Wcast-align | -Wcast-align | ||||
▲ Show 20 Lines • Show All 223 Lines • Show Last 20 Lines |