diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-08-27 15:44:39 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-08-27 17:57:30 +0200 |
commit | 405c0c4214c48908d8203a8f4d911289211eb909 (patch) | |
tree | ac77153e2c07be81a89d708083743ae8f6932e83 /userconfig-sthalik@Windows-Clang.cmake | |
parent | 364155032c228342e853c8f1661fea0c57f11c15 (diff) |
cmake: kill precompiled headers
They only help by 5% at best. Not worth the side effects.
Diffstat (limited to 'userconfig-sthalik@Windows-Clang.cmake')
-rw-r--r-- | userconfig-sthalik@Windows-Clang.cmake | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/userconfig-sthalik@Windows-Clang.cmake b/userconfig-sthalik@Windows-Clang.cmake index 244ebffc..bb5b6103 100644 --- a/userconfig-sthalik@Windows-Clang.cmake +++ b/userconfig-sthalik@Windows-Clang.cmake @@ -12,22 +12,17 @@ if(CMAKE_BUILD_TYPE STREQUAL "DEBUG") -fcoverage-mapping ) endif() - #sets(BOOL FLOORMAT_PRECOMPILED-HEADERS OFF) else() add_compile_options(-march=native -mavx2) add_compile_options(-emit-llvm) add_compile_options(-fmerge-all-constants -flto=full -fwhole-program-vtables -fforce-emit-vtables) add_link_options(-fmerge-all-constants -flto=full -fwhole-program-vtables -fforce-emit-vtables) add_link_options(-Wl,--gc-sections -Wl,--icf=all) - #sets(BOOL FLOORMAT_PRECOMPILED-HEADERS ON) endif() -sets(BOOL FLOORMAT_PRECOMPILED-HEADERS OFF) - if(FLOORMAT_ASAN) add_compile_options(-fsanitize=undefined -fsanitize=address) add_link_options(-fsanitize=undefined -fsanitize=address) - sets(BOOL FLOORMAT_PRECOMPILED-HEADERS ON) endif() set(OpenCV_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../opentrack-depends/opencv/build-clang-amd64/install" CACHE PATH "" FORCE) @@ -88,7 +83,6 @@ endfunction() # for test_app sources only function(fm-userconfig-src) #add_compile_options(-ftime-trace) - #sets(BOOL FLOORMAT_PRECOMPILED-HEADERS ON) add_compile_options( -Wall -Wextra -Wpedantic -Wno-old-style-cast -Wno-padded -Weverything |