Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
Azenris committed Nov 7, 2023
1 parent 738d783 commit 3427c60
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ project(

add_executable( timer src/main.cpp )

add_compile_definitions( timer PRIVATE C_PLUS_PLUS )
add_compile_definitions( timer PRIVATE _CRT_SECURE_NO_WARNINGS )
add_compile_definitions( timer PRIVATE "$<$<CONFIG:Debug>:DEBUG>" )
add_compile_definitions( timer PRIVATE "$<$<CONFIG:Release>:NDEBUG>" )
target_compile_definitions( timer PRIVATE C_PLUS_PLUS )
target_compile_definitions( timer PRIVATE _CRT_SECURE_NO_WARNINGS )
target_compile_definitions( timer PRIVATE "$<$<CONFIG:Debug>:DEBUG>" )
target_compile_definitions( timer PRIVATE "$<$<CONFIG:Release>:NDEBUG>" )

target_compile_features( timer PRIVATE cxx_std_20 )

Expand Down

0 comments on commit 3427c60

Please sign in to comment.