-
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.
For Powershell and Command Prompt, always use backslash for paths
Fix #463
- Loading branch information
1 parent
a52a01c
commit 46941be
Showing
4 changed files
with
58 additions
and
56 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
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,43 +1,43 @@ | ||
rem Automatically generated setup file for @PROJECT_NAME@ | ||
|
||
set "ROBOTOLOGY_SUPERBUILD_SOURCE_DIR=@PROJECT_SOURCE_DIR@" | ||
set "ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX=@YCM_EP_INSTALL_DIR@" | ||
set "ROBOTOLOGY_SUPERBUILD_SOURCE_DIR=@PROJECT_SOURCE_DIR_NATIVE_PATH@" | ||
set "ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX=@YCM_EP_INSTALL_DIR_NATIVE_PATH@" | ||
rem Extend PATH | ||
set "PATH=%PATH%;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%/bin" | ||
set "PATH=%PATH%;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%\bin" | ||
rem YARP related env variables (see http://www.yarp.it/yarp_data_dirs.html ) | ||
set "YARP_DATA_DIRS=%YARP_DATA_DIRS%;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%/share/yarp;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%/share/iCub;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%/share/ICUBcontrib" | ||
set "YARP_DATA_DIRS=%YARP_DATA_DIRS%;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%\share\yarp;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%\share\iCub;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%\share\ICUBcontrib" | ||
rem Extend CMAKE_PREFIX_PATH (see https://cmake.org/cmake/help/v3.8/variable/CMAKE_PREFIX_PATH.html ) | ||
set "CMAKE_PREFIX_PATH=%CMAKE_PREFIX_PATH%;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%" | ||
rem Setup BlockFactory plugins path | ||
set BLOCKFACTORY_PLUGIN_PATH=%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%/lib/blockfactory | ||
set BLOCKFACTORY_PLUGIN_PATH=%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%\lib\blockfactory | ||
|
||
@cmakeif ROBOTOLOGY_USES_GAZEBO | ||
rem ROBOTOLOGY_USES_GAZEBO-specific lines | ||
set "GAZEBO_PLUGIN_PATH=%GAZEBO_PLUGIN_PATH%;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%/lib" | ||
set "GAZEBO_MODEL_PATH=%GAZEBO_MODEL_PATH%;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%/share/gazebo/models;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%/share/iCub/robots;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%/share" | ||
set "GAZEBO_RESOURCE_PATH=%GAZEBO_RESOURCE_PATH%;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%/share/gazebo/worlds" | ||
set "GAZEBO_PLUGIN_PATH=%GAZEBO_PLUGIN_PATH%;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%\lib" | ||
set "GAZEBO_MODEL_PATH=%GAZEBO_MODEL_PATH%;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%\share\gazebo\models;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%\share\iCub\robots;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%\share" | ||
set "GAZEBO_RESOURCE_PATH=%GAZEBO_RESOURCE_PATH%;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%\share\gazebo\worlds" | ||
@endcmakeif ROBOTOLOGY_USES_GAZEBO | ||
|
||
@cmakeif ROBOTOLOGY_ENABLE_ROBOT_TESTING | ||
set "PATH=%PATH%;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%/lib/rtf | ||
set "YARP_DATA_DIRS=%YARP_DATA_DIRS%;@PROJECT_SOURCE_DIR@/robotology/icub-tests/suites" | ||
set "BLOCKTEST_RESOURCE_PATH"=%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%/bin | ||
set "PATH=%PATH%;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%\lib\rtf | ||
set "YARP_DATA_DIRS=%YARP_DATA_DIRS%;@PROJECT_SOURCE_DIR@\robotology\icub-tests\suites" | ||
set "BLOCKTEST_RESOURCE_PATH"=%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%\bin | ||
@endcmakeif ROBOTOLOGY_ENABLE_ROBOT_TESTING | ||
|
||
@cmakeif ROBOTOLOGY_ENABLE_HUMAN_DYNAMICS | ||
rem ROBOTOLOGY_ENABLE_HUMAN_DYNAMICS-specific lines | ||
set "YARP_DATA_DIRS=%YARP_DATA_DIRS%;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%/share/human-gazebo" | ||
set "YARP_DATA_DIRS=%YARP_DATA_DIRS%;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%/share/HumanDynamicsEstimation" | ||
set "YARP_DATA_DIRS=%YARP_DATA_DIRS%;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%/share/Wearables" | ||
set "YARP_DATA_DIRS=%YARP_DATA_DIRS%;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%\share\human-gazebo" | ||
set "YARP_DATA_DIRS=%YARP_DATA_DIRS%;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%\share\HumanDynamicsEstimation" | ||
set "YARP_DATA_DIRS=%YARP_DATA_DIRS%;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%\share\Wearables" | ||
@endcmakeif ROBOTOLOGY_ENABLE_HUMAN_DYNAMICS | ||
|
||
@cmakeif ROBOTOLOGY_USES_PYTHON | ||
rem Add the python bindings directory to the PYTHON_PATH | ||
set "PYTHONPATH=%PYTHONPATH%;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%/lib/@PYTHON_VERSION_PATH@/dist-packages" | ||
set "PYTHONPATH=%PYTHONPATH%;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%/lib/@PYTHON_VERSION_PATH@/site-packages" | ||
set "PYTHONPATH=%PYTHONPATH%;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%\lib\@PYTHON_VERSION_PATH@\dist-packages" | ||
set "PYTHONPATH=%PYTHONPATH%;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%\lib\@PYTHON_VERSION_PATH@\site-packages" | ||
@endcmakeif ROBOTOLOGY_USES_PYTHON | ||
|
||
@cmakeif ROBOTOLOGY_USES_MATLAB | ||
rem Configure the Matlab | ||
set "MATLABPATH=%MATLABPATH%;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%/mex;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%/mex/+wbc/simulink;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%/share/WBToolbox;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%/share/WBToolbox/images" | ||
set "MATLABPATH=%MATLABPATH%;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%\mex;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%\mex\+wbc\simulink;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%\share\WBToolbox;%ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX%\share\WBToolbox\images" | ||
@endcmakeif ROBOTOLOGY_USES_MATLAB |