aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarat Dukhan <marat@fb.com>2017-10-17 14:30:24 -0700
committerMarat Dukhan <marat@fb.com>2017-10-17 14:30:24 -0700
commitfd97e5ae9c09e264a5f92e614fb7fc1092629a0a (patch)
treeb97516458babb7868d41231236008e554f1efb25
parentc583161bf2097508b168fceb2f383a9d5ebde449 (diff)
downloadpsimd-fd97e5ae9c09e264a5f92e614fb7fc1092629a0a.tar.gz
CMake configuration
-rw-r--r--CMakeLists.txt12
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})