Skip to content

Commit

Permalink
O2 optimizes size more
Browse files Browse the repository at this point in the history
  • Loading branch information
kynex7510 committed Nov 3, 2024
1 parent b55fae7 commit 90a1878
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ project(CTRL LANGUAGES C ASM)
file(GLOB CTRL_SOURCES Source/*.c Source/*.s)
add_library(CTRL STATIC ${CTRL_SOURCES})
target_include_directories(CTRL PUBLIC Include)
target_compile_options(CTRL PRIVATE -O3 -Wall -Wno-switch)
target_compile_options(CTRL PRIVATE -O2 -Wall -Wno-switch)

install(TARGETS CTRL)
install(DIRECTORY Include/CTRL DESTINATION include)
Expand Down

0 comments on commit 90a1878

Please sign in to comment.