Browse Source

Enable debug symbols for JoltC by default on MSVC

Lucien Greathouse 6 months ago
parent
commit
737e7827ab
1 changed files with 3 additions and 0 deletions
  1. 3 0
      CMakeLists.txt

+ 3 - 0
CMakeLists.txt

@@ -42,6 +42,9 @@ install(TARGETS joltc DESTINATION lib)
 if(MSVC)
 if(MSVC)
   target_compile_options(joltc PRIVATE /W4)
   target_compile_options(joltc PRIVATE /W4)
 
 
+  # Enable debug symbols
+  target_compile_options(joltc PRIVATE /Zi)
+
   # Ignore 'unreferenced function with internal linkage'
   # Ignore 'unreferenced function with internal linkage'
   target_compile_options(joltc PRIVATE /wd4505)
   target_compile_options(joltc PRIVATE /wd4505)
 else()
 else()