Change debug optimization flag

This commit is contained in:
Stephen Seo 2024-01-23 16:34:43 +09:00
parent 20859dbcd8
commit 50015a34ae

View file

@ -40,13 +40,13 @@ target_compile_options(TrianglesLib PRIVATE
-Wall -Wextra -Wpedantic -Wall -Wextra -Wpedantic
-Wsuggest-override -Wsuggest-override
$<$<COMPILE_LANGUAGE:CXX>:-Weffc++> $<$<COMPILE_LANGUAGE:CXX>:-Weffc++>
$<$<CONFIG:DEBUG>:-O0> $<$<CONFIG:DEBUG>:-Og>
) )
target_compile_options(Triangles PRIVATE target_compile_options(Triangles PRIVATE
-Wall -Wextra -Wpedantic -Wall -Wextra -Wpedantic
-Wsuggest-override -Wsuggest-override
$<$<COMPILE_LANGUAGE:CXX>:-Weffc++> $<$<COMPILE_LANGUAGE:CXX>:-Weffc++>
$<$<CONFIG:DEBUG>:-O0> $<$<CONFIG:DEBUG>:-Og>
) )
target_link_libraries(Triangles PUBLIC TrianglesLib) target_link_libraries(Triangles PUBLIC TrianglesLib)