[mlpack-svn] r16439 - mlpack/trunk/src/mlpack/methods/sparse_autoencoder

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Wed Apr 16 14:57:21 EDT 2014


Author: rcurtin
Date: Wed Apr 16 14:57:20 2014
New Revision: 16439

Log:
CMake configuration to compile sparse autoencoders.


Added:
   mlpack/trunk/src/mlpack/methods/sparse_autoencoder/CMakeLists.txt

Added: mlpack/trunk/src/mlpack/methods/sparse_autoencoder/CMakeLists.txt
==============================================================================
--- (empty file)
+++ mlpack/trunk/src/mlpack/methods/sparse_autoencoder/CMakeLists.txt	Wed Apr 16 14:57:20 2014
@@ -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)



More information about the mlpack-svn mailing list