File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -65,16 +65,9 @@ endif()
6565target_link_libraries (${PROJECT_NAME} PRIVATE ${CPPLM_LINK_LIBRARIES} )
6666
6767if (MSVC )
68- target_compile_options (${PROJECT_NAME} PRIVATE /W4 /WX /Zc:preprocessor)
68+ target_compile_options (${PROJECT_NAME} PRIVATE /W4 /WX /Zc:preprocessor $<$<CONFIG:Release>:/Zi> )
6969else ()
70- target_compile_options (${PROJECT_NAME} PRIVATE -Wextra -Wshadow -Wconversion -Wpedantic -Werror)
71- endif ()
72-
73- # Produce PDB file for debug
74- if (MSVC )
75- target_compile_options (${PROJECT_NAME} PRIVATE $<$<CONFIG:Release>:/Zi>)
76- else ()
77- target_compile_options (${PROJECT_NAME} PRIVATE $<$<CONFIG:Release>:-g1>)
70+ target_compile_options (${PROJECT_NAME} PRIVATE -Wextra -Wshadow -Wconversion -Wpedantic -Werror $<$<CONFIG:Release>:-g1>)
7871endif ()
7972
8073if (APPLE )
You can’t perform that action at this time.
0 commit comments