mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-11 08:03:55 +00:00
set possible build types in cmake build system
This commit is contained in:
parent
b3794f1087
commit
7962f30d70
@ -1,6 +1,8 @@
|
||||
if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
|
||||
message(STATUS "Setting tests build type to MinSizeRel as none was specified")
|
||||
set(CMAKE_BUILD_TYPE MinSizeRel CACHE STRING "Choose the type of build" FORCE)
|
||||
set(CMAKE_BUILD_TYPE MinSizeRel CACHE STRING "Choose the type of build." FORCE)
|
||||
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release"
|
||||
"MinSizeRel" "RelWithDebInfo")
|
||||
endif()
|
||||
|
||||
set(PYBIND11_TEST_FILES
|
||||
|
Loading…
Reference in New Issue
Block a user