commit | fd97e5ae9c09e264a5f92e614fb7fc1092629a0a | [log] [tgz] |
---|---|---|
author | Marat Dukhan <marat@fb.com> | Tue Oct 17 14:30:24 2017 -0700 |
committer | Marat Dukhan <marat@fb.com> | Tue Oct 17 14:30:24 2017 -0700 |
tree | b97516458babb7868d41231236008e554f1efb25 | |
parent | c583161bf2097508b168fceb2f383a9d5ebde449 [diff] [blame] |
CMake configuration
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})