Added option to enable nana config
This commit is contained in:
parent
cfad078740
commit
67d4e4376a
@ -114,10 +114,13 @@ endforeach()
|
|||||||
### Some nana compilation options ###
|
### Some nana compilation options ###
|
||||||
option(NANA_CMAKE_AUTOMATIC_GUI_TESTING "Activate automatic GUI testing?" OFF)
|
option(NANA_CMAKE_AUTOMATIC_GUI_TESTING "Activate automatic GUI testing?" OFF)
|
||||||
option(NANA_CMAKE_ENABLE_MINGW_STD_THREADS_WITH_MEGANZ "replaced boost.thread with meganz's mingw-std-threads." OFF) # deprecate?
|
option(NANA_CMAKE_ENABLE_MINGW_STD_THREADS_WITH_MEGANZ "replaced boost.thread with meganz's mingw-std-threads." OFF) # deprecate?
|
||||||
|
option(NANA_CMAKE_ENABLE_CONF "enable config.hpp" OFF)
|
||||||
|
|
||||||
######## Nana options
|
######## Nana options
|
||||||
|
|
||||||
|
if(NOT NANA_CMAKE_ENABLE_CONF)
|
||||||
target_compile_definitions(nana PRIVATE NANA_IGNORE_CONF) # really ??
|
target_compile_definitions(nana PRIVATE NANA_IGNORE_CONF) # really ??
|
||||||
|
endif()
|
||||||
if(NANA_CMAKE_AUTOMATIC_GUI_TESTING)
|
if(NANA_CMAKE_AUTOMATIC_GUI_TESTING)
|
||||||
target_compile_definitions(nana PUBLIC NANA_AUTOMATIC_GUI_TESTING)
|
target_compile_definitions(nana PUBLIC NANA_AUTOMATIC_GUI_TESTING)
|
||||||
# todo: enable_testing() # ??
|
# todo: enable_testing() # ??
|
||||||
|
Loading…
x
Reference in New Issue
Block a user