Skip to content

Commit aec8e6d

Browse files
committed
[Change] Replace -g3 -Og with -O2 for more efficient library.
1 parent 2a64549 commit aec8e6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ cmake_minimum_required (VERSION 3.18)
22
cmake_policy(VERSION 3.18)
33
project(bux)
44

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

88
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND NOT MSVC)

0 commit comments

Comments
 (0)