Created
December 9, 2022 08:23
-
-
Save kumpeishiraishi/e1a0985c41262568d7b30f87778b150b to your computer and use it in GitHub Desktop.
My minimum cmake file with cnpy and AVX intrinsics
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 3.13) | |
project(test_cmake CXX) | |
add_executable(a.out main.cpp) | |
target_include_directories(a.out PRIVATE /home/shiraishi/.local/include) | |
target_link_directories(a.out PRIVATE /home/shiraishi/.local/lib) | |
target_compile_options(a.out PRIVATE -O3 -xCORE_AVX512) | |
target_compile_features(a.out PRIVATE cxx_std_17) | |
target_link_libraries(a.out cnpy z) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment