[mlpack-git] master: Add CMakeLists file to build the RMVA. (cd7f063)
gitdub at mlpack.org
gitdub at mlpack.org
Wed May 25 08:05:25 EDT 2016
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/1f562a1aba7ae55475afcc95659511c2b7f694e5...5b8fdce471328f722fcd8c0f22a6d995ce22c98b
>---------------------------------------------------------------
commit cd7f06319f88be12c2e7ab35a814c1653fc1e4b4
Author: Marcus Edel <marcus.edel at fu-berlin.de>
Date: Wed May 25 14:05:06 2016 +0200
Add CMakeLists file to build the RMVA.
>---------------------------------------------------------------
cd7f06319f88be12c2e7ab35a814c1653fc1e4b4
src/mlpack/methods/CMakeLists.txt | 1 +
src/mlpack/methods/{cf => rmva}/CMakeLists.txt | 15 +++++++++------
2 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/src/mlpack/methods/CMakeLists.txt b/src/mlpack/methods/CMakeLists.txt
index d0ea04c..eab2f5c 100644
--- a/src/mlpack/methods/CMakeLists.txt
+++ b/src/mlpack/methods/CMakeLists.txt
@@ -48,6 +48,7 @@ set(DIRS
range_search
rann
regularized_svd
+ rmva
softmax_regression
sparse_autoencoder
sparse_coding
diff --git a/src/mlpack/methods/cf/CMakeLists.txt b/src/mlpack/methods/rmva/CMakeLists.txt
similarity index 71%
copy from src/mlpack/methods/cf/CMakeLists.txt
copy to src/mlpack/methods/rmva/CMakeLists.txt
index 30f5a4f..d075ce3 100644
--- a/src/mlpack/methods/cf/CMakeLists.txt
+++ b/src/mlpack/methods/rmva/CMakeLists.txt
@@ -1,11 +1,8 @@
# Define the files we need to compile
# Anything not in this list will not be compiled into mlpack.
set(SOURCES
- cf.hpp
- cf_impl.hpp
- cf.cpp
- svd_wrapper.hpp
- svd_wrapper_impl.hpp
+ rmva.hpp
+ rmva_impl.hpp
)
# Add directory name to sources.
@@ -17,4 +14,10 @@ endforeach()
# the parent scope).
set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
-add_cli_executable (cf)
+add_executable(mlpack_rmva
+ rmva_main.cpp
+)
+target_link_libraries(mlpack_rmva
+ mlpack
+)
+install(TARGETS mlpack_rmva RUNTIME DESTINATION bin)
More information about the mlpack-git
mailing list