Skip to content

Commit

Permalink
[Change] Replace -g3 -Og with -O2 for more efficient library.
Browse files Browse the repository at this point in the history
  • Loading branch information
buck-yeh committed Sep 16, 2024
1 parent 2a64549 commit aec8e6d
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 @@ -2,7 +2,7 @@ cmake_minimum_required (VERSION 3.18)
cmake_policy(VERSION 3.18)
project(bux)

set(GNU_LIKE_CXX_FLAGS " -Wall -Wextra -Wshadow -Wconversion -Wno-parentheses -g3 -Og -std=c++23")
set(GNU_LIKE_CXX_FLAGS " -Wall -Wextra -Wshadow -Wconversion -Wno-parentheses -O2 -std=c++23")
#string(APPEND CMAKE_CXX_FLAGS " -g3")

if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND NOT MSVC)
Expand Down

0 comments on commit aec8e6d

Please sign in to comment.