Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/dok.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoumith Chintala <soumith@fb.com>2016-02-01 03:09:10 +0300
committerSoumith Chintala <soumith@fb.com>2016-02-01 03:09:10 +0300
commit1b36900e1bfa6ee7f48db52c577bdeb7d9e85909 (patch)
tree6e899938c0df5900e2be3ca90ff8170f63da351d
parentb5e9ffe80fb3240c3e3102ee7d3e58220d2555ab (diff)
add cmake for non-luarocks buildHEADmaster
-rw-r--r--CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..96e49b2
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,8 @@
+CMAKE_MINIMUM_REQUIRED(VERSION 2.6 FATAL_ERROR)
+CMAKE_POLICY(VERSION 2.6)
+
+SET(luasrc
+ ${CMAKE_CURRENT_SOURCE_DIR}/init.lua
+ ${CMAKE_CURRENT_SOURCE_DIR}/inline.lua)
+
+INSTALL(FILES ${luasrc} DESTINATION ${LUADIR}/dok)