Skip to content

Commit

Permalink
Add optimisation compile flags
Browse files Browse the repository at this point in the history
  • Loading branch information
simon987 committed Dec 24, 2019
1 parent cef10c1 commit 8d05b0b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,18 @@ add_library(wavelib STATIC ${SOURCE_FILES} ${HEADER_FILES})

set_property(TARGET wavelib PROPERTY FOLDER "lib")

target_compile_options(wavelib
PRIVATE
-fPIC
-Ofast
-march=native
-fno-stack-protector
-fomit-frame-pointer
-freciprocal-math
)




target_include_directories(wavelib PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}../header)

0 comments on commit 8d05b0b

Please sign in to comment.