File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -109,12 +109,6 @@ else()
109109 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O2" )
110110endif ()
111111
112- # extra flags
113- option (DEBUG_OUTPUT "Force __VMAWARE_DEBUG__ define" OFF )
114- if (DEBUG_OUTPUT)
115- target_compile_definitions (${TARGET} PRIVATE __VMAWARE_DEBUG__ )
116- endif ()
117-
118112# add executable
119113set (CMAKE_RUNTIME_OUTPUT_DIRECTORY "${BUILD_DIR} " )
120114add_executable (${TARGET} "src/cli.cpp" )
@@ -123,6 +117,12 @@ if(NOT DEFINED CMAKE_CXX_STANDARD)
123117endif ()
124118set_property (TARGET ${TARGET} PROPERTY CXX_STANDARD_REQUIRED ON )
125119
120+ # extra flags
121+ option (DEBUG_OUTPUT "Force __VMAWARE_DEBUG__ define" OFF )
122+ if (DEBUG_OUTPUT)
123+ target_compile_definitions (${TARGET} PRIVATE __VMAWARE_DEBUG__ )
124+ endif ()
125+
126126# CTest stuff
127127include (CTest )
128128enable_testing ()
You can’t perform that action at this time.
0 commit comments