Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
don't include dirs if the don't exist
- Loading branch information
Soeren Sonnenburg
committed
Jan 6, 2014
1 parent
62d2113
commit 8679dbf
Showing
2 changed files
with
73 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,51 @@ | ||
IF (NOT TRAVIS_DISABLE_LIBSHOGUN_TESTS) | ||
add_subdirectory(undocumented/libshogun) | ||
IF (NOT TRAVIS_DISABLE_LIBSHOGUN_TESTS AND EXISTS ${CMAKE_SOURCE_DIR}/undocumented/libshogun) | ||
add_subdirectory(${CMAKE_SOURCE_DIR}/undocumented/libshogun) | ||
ENDIF() | ||
|
||
IF (PythonModular) | ||
add_subdirectory(undocumented/python_modular) | ||
IF (PythonModular AND EXISTS ${CMAKE_SOURCE_DIR}/undocumented/python_modular) | ||
add_subdirectory(${CMAKE_SOURCE_DIR}/undocumented/python_modular) | ||
ENDIF() | ||
|
||
# lua modular | ||
IF (LuaModular) | ||
add_subdirectory(undocumented/lua_modular) | ||
IF (LuaModular AND EXISTS ${CMAKE_SOURCE_DIR}/undocumented/lua_modular) | ||
add_subdirectory(${CMAKE_SOURCE_DIR}/undocumented/lua_modular) | ||
ENDIF() | ||
|
||
# java modular | ||
IF (JavaModular) | ||
add_subdirectory(undocumented/java_modular) | ||
IF (JavaModular AND EXISTS ${CMAKE_SOURCE_DIR}/undocumented/java_modular) | ||
add_subdirectory(${CMAKE_SOURCE_DIR}/undocumented/java_modular) | ||
ENDIF() | ||
|
||
# ruby modular | ||
IF (RubyModular) | ||
add_subdirectory(undocumented/ruby_modular) | ||
IF (RubyModular AND EXISTS ${CMAKE_SOURCE_DIR}/undocumented/ruby_modular) | ||
add_subdirectory(${CMAKE_SOURCE_DIR}/undocumented/ruby_modular) | ||
ENDIF() | ||
|
||
# octave modular | ||
IF (OctaveModular) | ||
add_subdirectory(undocumented/octave_modular) | ||
IF (OctaveModular AND EXISTS ${CMAKE_SOURCE_DIR}/undocumented/octave_modular) | ||
add_subdirectory(${CMAKE_SOURCE_DIR}/undocumented/octave_modular) | ||
ENDIF() | ||
|
||
# csharp modular | ||
IF (CSharpModular) | ||
add_subdirectory(undocumented/csharp_modular) | ||
IF (CSharpModular AND EXISTS ${CMAKE_SOURCE_DIR}/undocumented/csharp_modular) | ||
add_subdirectory(${CMAKE_SOURCE_DIR}/undocumented/csharp_modular) | ||
ENDIF() | ||
|
||
# r modular | ||
IF (RModular) | ||
add_subdirectory(undocumented/r_modular) | ||
IF (RModular AND EXISTS ${CMAKE_SOURCE_DIR}/undocumented/r_modular) | ||
add_subdirectory(${CMAKE_SOURCE_DIR}/undocumented/r_modular) | ||
ENDIF() | ||
|
||
# perl modular | ||
IF (PerlModular) | ||
#add_subdirectory(undocumented/perl_modular) | ||
IF (PerlModular AND EXISTS ${CMAKE_SOURCE_DIR}/undocumented/perl_modular) | ||
#add_subdirectory(${CMAKE_SOURCE_DIR}/undocumented/perl_modular) | ||
ENDIF() | ||
|
||
IF (MatlabStatic) | ||
#add_subdirectory(undocumented/matlab_static) | ||
IF (MatlabStatic AND EXISTS ${CMAKE_SOURCE_DIR}/undocumented/matlab_static) | ||
#add_subdirectory(${CMAKE_SOURCE_DIR}/undocumented/matlab_static) | ||
ENDIF() | ||
|
||
IF (CmdLineStatic) | ||
add_subdirectory(undocumented/cmdline_static) | ||
IF (CmdLineStatic AND EXISTS ${CMAKE_SOURCE_DIR}/undocumented/cmdline_static) | ||
add_subdirectory(${CMAKE_SOURCE_DIR}/undocumented/cmdline_static) | ||
ENDIF() | ||
|