-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add casadi-matlab-bindings if ROBOTOLOGY_ENABLE_DYNAMICS_FULL_DEPS is…
… ON and ROBOTOLOGY_USES_MATLAB is ON (#747)
- Loading branch information
1 parent
d983500
commit a808bec
Showing
5 changed files
with
32 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Copyright (C) Fondazione Istituto Italiano di Tecnologia | ||
# CopyPolicy: Released under the terms of the LGPLv2.1 or later, see LGPL.TXT | ||
include(YCMEPHelper) | ||
include(FindOrBuildPackage) | ||
|
||
find_or_build_package(casadi QUIET) | ||
|
||
ycm_ep_helper(casadi-matlab-bindings TYPE GIT | ||
STYLE GITHUB | ||
REPOSITORY dic-iit/casadi-matlab-bindings.git | ||
TAG main | ||
COMPONENT dynamics | ||
FOLDER src | ||
CMAKE_ARGS -DCASADI_MATLAB_BINDINGS_USES_MATLAB:BOOL=${ROBOTOLOGY_USES_MATLAB} | ||
DEPENDS casadi) |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
if_(is_set("COMSPEC")).then_([ | ||
sys.list_append("MATLABPATH", path.join(env("CONDA_PREFIX"), "Library\\mex")) | ||
]).else_([ | ||
sys.list_append("MATLABPATH", path.join(env("CONDA_PREFIX"), "mex")) | ||
]) |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
if_(is_set("COMSPEC")).then_([ | ||
sys.list_remove("MATLABPATH", path.join(env("CONDA_PREFIX"), "Library\\mex")) | ||
]).else_([ | ||
sys.list_remove("MATLABPATH", path.join(env("CONDA_PREFIX"), "mex")) | ||
]) |
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