You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CMakeLists.txt
+5
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,11 @@ if(NOT CMAKE_BUILD_TYPE)
22
22
endif()
23
23
message(STATUS"Started CMake for ${PROJECT_NAME} v${PROJECT_VERSION}...\n")
24
24
25
+
if (UNIX)
26
+
add_compile_options("$<$<CONFIG:DEBUG>:-D_DEBUG>") #this will allow to use same _DEBUG macro available in both Linux as well as Windows - MSCV environment. Easy to put Debug specific code.
0 commit comments