[mlpack] 18/22: CMake configuration to compile sparse autoencoders.
Barak A. Pearlmutter
barak+git at cs.nuim.ie
Thu Apr 17 12:23:03 UTC 2014
This is an automated email from the git hooks/post-receive script.
bap pushed a commit to branch svn-trunk
in repository mlpack.
commit f4a989a3354bffa9b9f33d0269bb6d75c8977ecb
Author: rcurtin <rcurtin at 9d5b8971-822b-0410-80eb-d18c1038ef23>
Date: Wed Apr 16 18:57:20 2014 +0000
CMake configuration to compile sparse autoencoders.
git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@16439 9d5b8971-822b-0410-80eb-d18c1038ef23
---
src/mlpack/methods/sparse_autoencoder/CMakeLists.txt | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/src/mlpack/methods/sparse_autoencoder/CMakeLists.txt b/src/mlpack/methods/sparse_autoencoder/CMakeLists.txt
new file mode 100644
index 0000000..b47e851
--- /dev/null
+++ b/src/mlpack/methods/sparse_autoencoder/CMakeLists.txt
@@ -0,0 +1,17 @@
+# Define the files we need to compile.
+# Anything not in this list will not be compiled into MLPACK.
+set(SOURCES
+ sparse_autoencoder.hpp
+ sparse_autoencoder_impl.hpp
+ sparse_autoencoder_function.hpp
+ sparse_autoencoder_function.cpp
+)
+
+# Add directory name to sources.
+set(DIR_SRCS)
+foreach(file ${SOURCES})
+ set(DIR_SRCS ${DIR_SRCS} ${CMAKE_CURRENT_SOURCE_DIR}/${file})
+endforeach()
+# Append sources (with directory name) to list of all MLPACK sources (used at
+# the parent scope).
+set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mlpack.git
More information about the debian-science-commits
mailing list