summaryrefslogtreecommitdiffhomepage
path: root/userconfig-sthalik@Windows-Clang.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-06-10 00:00:54 +0200
committerStanislaw Halik <sthalik@misaki.pl>2024-06-30 21:52:01 +0200
commit014fc7ab7762890c44ad3885668696300ceed25e (patch)
tree5b87cc8a343e07e54a87f93c33f67f720a62a20d /userconfig-sthalik@Windows-Clang.cmake
parent9af205873f7e7342da56e2e66b7249e1fca4d907 (diff)
hash: more work (also add meowhash)
Diffstat (limited to 'userconfig-sthalik@Windows-Clang.cmake')
-rw-r--r--userconfig-sthalik@Windows-Clang.cmake7
1 files changed, 3 insertions, 4 deletions
diff --git a/userconfig-sthalik@Windows-Clang.cmake b/userconfig-sthalik@Windows-Clang.cmake
index b5928c10..ae71157f 100644
--- a/userconfig-sthalik@Windows-Clang.cmake
+++ b/userconfig-sthalik@Windows-Clang.cmake
@@ -1,5 +1,4 @@
if(CMAKE_BUILD_TYPE STREQUAL "DEBUG")
- add_compile_options(-mavx2)
if(FLOORMAT_WITH-COVERAGE)
set(CMAKE_BUILD_TYPE DEBUG CACHE STRING "" FORCE)
add_definitions(
@@ -31,9 +30,9 @@ set(OpenCV_DIR "f:/dev/opentrack-depends/opencv/build-clang-amd64/install" CACHE
set(CMAKE_INSTALL_MESSAGE NEVER)
sets(STRING
- CMAKE_C_FLAGS "-ggdb3 -gsplit-dwarf -gcolumn-info -gdwarf-aranges -gz=zlib"
- CMAKE_C_FLAGS_DEBUG "-O0 -fstack-protector-all"
- CMAKE_C_FLAGS_RELEASE "-O3 -ffast-math -march=nehalem -mtune=native -mpopcnt -mavx -fomit-frame-pointer -fno-stack-protector"
+ CMAKE_C_FLAGS "-march=x86-64-v2 -mtune=native -mavx2 -maes -ggdb3 -gsplit-dwarf -gcolumn-info -gdwarf-aranges -gz=zlib -fstack-protector-all"
+ CMAKE_C_FLAGS_DEBUG "-O0"
+ CMAKE_C_FLAGS_RELEASE "-Ofast -ffast-math -mpopcnt -fomit-frame-pointer -fno-stack-protector -static"
CMAKE_EXE_LINKER_FLAGS_DEBUG ""
CMAKE_SHARED_LINKER_FLAGS_DEBUG ""
)