Skip to content

Commit

Permalink
Update project-defaults.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
lyndskg authored Jan 7, 2024
1 parent 28bbb3d commit 1c1529c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion project-defaults.cmake
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Highest-level CMake run & build configuration file to specify project defaults
##########################################################################################################

set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
Expand All @@ -20,4 +22,4 @@ add_compile_options(
# Enable separate sections per function/data item
$<$<CONFIG:RELEASE>:-ffunction-sections>
$<$<CONFIG:RELEASE>:-fdata-sections>
)
)

0 comments on commit 1c1529c

Please sign in to comment.