We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc8587d commit de669c6Copy full SHA for de669c6
CMakeLists.txt
@@ -14,8 +14,22 @@ if (APPLE)
14
else()
15
file(GLOB_RECURSE SRC_FILES "${CMAKE_CURRENT_SOURCE_DIR}/src/*.c")
16
file(GLOB_RECURSE ASM_FILES "${CMAKE_CURRENT_SOURCE_DIR}/src/*.S")
17
- set(DEBUG_COMPILE_OPTIONS "-O0" "-static-libasan" "-fno-builtin" "-g")
18
- set(RELEASE_COMPILE_OPTIONS "-O3" "-mtune=native" "-ffast-math" "-fno-math-errno" "-fno-builtin" "-falign-functions")
+ set(
+ DEBUG_COMPILE_OPTIONS
19
+ "-O0"
20
+ "-static-libasan"
21
+ "-fno-builtin"
22
+ "-g"
23
+ )
24
25
+ RELEASE_COMPILE_OPTIONS
26
+ "-O3"
27
+ "-mtune=native"
28
+ "-ffast-math"
29
+ "-fno-math-errno"
30
31
+ "-falign-functions"
32
33
endif()
34
35
# Create the static library target including C and assembly files
0 commit comments