[mlpack-svn] r11255 - mlpack/trunk/src/mlpack
fastlab-svn at coffeetalk-1.cc.gatech.edu
fastlab-svn at coffeetalk-1.cc.gatech.edu
Mon Jan 23 12:38:43 EST 2012
Author: rcurtin
Date: 2012-01-23 12:38:43 -0500 (Mon, 23 Jan 2012)
New Revision: 11255
Modified:
mlpack/trunk/src/mlpack/CMakeLists.txt
Log:
Install binaries in the proper location.
Modified: mlpack/trunk/src/mlpack/CMakeLists.txt
===================================================================
--- mlpack/trunk/src/mlpack/CMakeLists.txt 2012-01-23 16:07:49 UTC (rev 11254)
+++ mlpack/trunk/src/mlpack/CMakeLists.txt 2012-01-23 17:38:43 UTC (rev 11255)
@@ -55,3 +55,14 @@
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib)
+
+# Set generated executables to be installed.
+# This will have some odd effects if the user has placed anything else in bin/,
+# but I think we can just hope that they haven't. At least, an auto-builder
+# won't do that...
+install(DIRECTORY ${CMAKE_BINARY_DIR}/bin/
+ DESTINATION bin # ugly hack!
+ USE_SOURCE_PERMISSIONS
+ COMPONENT mlpack
+ FILES_MATCHING
+ PATTERN *[^_test])
More information about the mlpack-svn
mailing list