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) | ||||
# libsecp256k1 use a different set of flags. | # libsecp256k1 use a different set of flags. | ||||
add_compiler_flag( | add_compiler_flag( | ||||
-pedantic | -pedantic | ||||
-Wshadow | |||||
-Wno-unused-function | -Wno-unused-function | ||||
-Wno-nonnull | |||||
-Wno-overlength-strings | -Wno-overlength-strings | ||||
) | ) | ||||
add_c_compiler_flag( | add_c_compiler_flag( | ||||
-std=c89 | -std=c89 | ||||
-Wno-long-long | -Wno-long-long | ||||
) | ) | ||||
▲ Show 20 Lines • Show All 150 Lines • Show Last 20 Lines |