mirror of
https://github.com/jb55/nostril.git
synced 2024-11-24 08:59:08 -05:00
CMakeLists.txt: Debug/Release CMAKE_BUILD_TYPE
This commit is contained in:
parent
93c9616d9c
commit
2c481cd581
|
@ -4,6 +4,11 @@ else()
|
||||||
cmake_minimum_required(VERSION 3.15)
|
cmake_minimum_required(VERSION 3.15)
|
||||||
endif()
|
endif()
|
||||||
set(CMAKE_BUILD_TYPE Debug)
|
set(CMAKE_BUILD_TYPE Debug)
|
||||||
|
option(BUILD_RELEASE "BUILD_RELEASE" ON)
|
||||||
|
if(BUILD_RELEASE)
|
||||||
|
set(CMAKE_BUILD_TYPE Release)
|
||||||
|
endif()
|
||||||
|
|
||||||
project (nostril C)
|
project (nostril C)
|
||||||
|
|
||||||
include_directories(${CMAKE_SOURCE_DIR}/ext/secp256k1/include)
|
include_directories(${CMAKE_SOURCE_DIR}/ext/secp256k1/include)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user