[mlpack-git] master: Use add_cli_executable to control CLI executables build; more information take a look at #619. (3d1ed0f)

gitdub at mlpack.org gitdub at mlpack.org
Mon May 30 13:18:40 EDT 2016


Repository : https://github.com/mlpack/mlpack
On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/ec1c46a5fc6c36e981ff381e2c291e824bf41a8e...3d1ed0fa731b4f34d0c02ae63c37d4106e23a9f8

>---------------------------------------------------------------

commit 3d1ed0fa731b4f34d0c02ae63c37d4106e23a9f8
Author: Marcus Edel <marcus.edel at fu-berlin.de>
Date:   Mon May 30 19:18:28 2016 +0200

    Use add_cli_executable to control CLI executables build; more information take a look at #619.


>---------------------------------------------------------------

3d1ed0fa731b4f34d0c02ae63c37d4106e23a9f8
 src/mlpack/methods/rmva/CMakeLists.txt | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/src/mlpack/methods/rmva/CMakeLists.txt b/src/mlpack/methods/rmva/CMakeLists.txt
index d075ce3..ced53a3 100644
--- a/src/mlpack/methods/rmva/CMakeLists.txt
+++ b/src/mlpack/methods/rmva/CMakeLists.txt
@@ -14,10 +14,4 @@ endforeach()
 # the parent scope).
 set(MLPACK_SRCS ${MLPACK_SRCS} ${DIR_SRCS} PARENT_SCOPE)
 
-add_executable(mlpack_rmva
-  rmva_main.cpp
-)
-target_link_libraries(mlpack_rmva
-  mlpack
-)
-install(TARGETS mlpack_rmva RUNTIME DESTINATION bin)
+add_cli_executable(rmva)




More information about the mlpack-git mailing list