[mlpack-svn] r13942 - mlpack/trunk/src/mlpack

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Wed Nov 28 15:48:53 EST 2012


Author: rcurtin
Date: 2012-11-28 15:48:53 -0500 (Wed, 28 Nov 2012)
New Revision: 13942

Modified:
   mlpack/trunk/src/mlpack/CMakeLists.txt
Log:
Make recursion into the bindings optional.


Modified: mlpack/trunk/src/mlpack/CMakeLists.txt
===================================================================
--- mlpack/trunk/src/mlpack/CMakeLists.txt	2012-11-28 20:48:39 UTC (rev 13941)
+++ mlpack/trunk/src/mlpack/CMakeLists.txt	2012-11-28 20:48:53 UTC (rev 13942)
@@ -5,12 +5,16 @@
 
 ## Recurse into both core/ and methods/.
 set(DIRS
-  bindings
   core
   methods
   tests
 )
 
+# If we are making MATLAB bindings, recurse into that subdirectory.
+if(MATLAB_BINDINGS)
+  set(DIRS ${DIRS} bindings)
+endif(MATLAB_BINDINGS)
+
 foreach(dir ${DIRS})
     add_subdirectory(${dir})
 endforeach()




More information about the mlpack-svn mailing list