Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

Commit

Permalink
Added option to disable Simulink packages
Browse files Browse the repository at this point in the history
  • Loading branch information
francesco-romano committed May 25, 2016
1 parent a0c388d commit 822ff31
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ set(YCM_USE_CMAKE_PROPOSED TRUE CACHE BOOL "Use files including unmerged cmake p

#options to build specific software or use a reduced set of dependencies
option(CODYCO_USES_MATLAB "Enable compilation of software that depend on Matlab and Simulink" FALSE)
option(CODYCO_NOT_USE_SIMULINK "Disable compilation of software that depend on Simulink" FALSE)
mark_as_advanced(CODYCO_NOT_USE_SIMULINK)
option(CODYCO_USES_WBI_TOOLBOX "Legacy version of Whole Body Interface Toolbox 1.0 - Simulink library" FALSE)
option(CODYCO_USES_WBI_TOOLBOX_CONTROLLERS "Controllers and Simulink models created/used with the WBI-Toolbox" FALSE)

Expand Down Expand Up @@ -94,7 +96,7 @@ if(${CODYCO_USES_KDL} AND ${CODYCO_BUILD_OCRA_MODULES} )
endif()

#WB-Toolbox
if (${CODYCO_USES_KDL} AND ${CODYCO_USES_MATLAB})
if (${CODYCO_USES_KDL} AND ${CODYCO_USES_MATLAB} AND NOT ${CODYCO_NOT_USE_SIMULINK})
find_or_build_package(WBToolbox)
endif()

Expand Down

0 comments on commit 822ff31

Please sign in to comment.