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

github.com/torch/nn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..75239ad
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,9 @@
+SET(src init.c)
+
+FILE(GLOB luasrc *.lua)
+SET(luasrc ${luasrc} test/test.lua)
+
+ADD_TORCH_PACKAGE(nn "${src}" "${luasrc}" "Machine Learning")
+ADD_TORCH_DOK(dok nn "Machine Learning" "Neural Networks" 3.1)
+
+TARGET_LINK_LIBRARIES(nn luaT TH)