Skip to content

Commit 5029171

Browse files
authored
Merge pull request #31 from Shahid-Roofi-Khan/Shahid-Roofi-Khan-patch-1
Update CMakeLists.txt
2 parents 895f714 + 57d5ca5 commit 5029171

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CMakeLists.txt

+5
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ if(NOT CMAKE_BUILD_TYPE)
2222
endif()
2323
message(STATUS "Started CMake for ${PROJECT_NAME} v${PROJECT_VERSION}...\n")
2424

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.
27+
endif (UNIX)
28+
29+
2530
#
2631
# Setup alternative names
2732
#

0 commit comments

Comments
 (0)