diff options
author | Marat Dukhan <marat@fb.com> | 2017-10-17 14:30:24 -0700 |
---|---|---|
committer | Marat Dukhan <marat@fb.com> | 2017-10-17 14:30:24 -0700 |
commit | fd97e5ae9c09e264a5f92e614fb7fc1092629a0a (patch) | |
tree | b97516458babb7868d41231236008e554f1efb25 | |
parent | c583161bf2097508b168fceb2f383a9d5ebde449 (diff) | |
download | psimd-fd97e5ae9c09e264a5f92e614fb7fc1092629a0a.tar.gz |
CMake configuration
-rw-r--r-- | CMakeLists.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..5451804 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,12 @@ +CMAKE_MINIMUM_REQUIRED(VERSION 3.0 FATAL_ERROR) + +INCLUDE(GNUInstallDirs) + +# ---[ Project +PROJECT(psimd LANGUAGES C CXX) + +# ---[ psimd library +ADD_LIBRARY(psimd INTERFACE) +TARGET_INCLUDE_DIRECTORIES(psimd INTERFACE include) + +INSTALL(FILES include/psimd.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) |