This repository has been archived by the owner on Feb 21, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 124
[issue #879] moved all installations to /opt/jderobot #880
Merged
Merged
Changes from 1 commit
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
12a01d1
[issue #879] moved all installations to /opt/jderobot
aitormf 688e337
[issue #879] Moved setup.bash to /opt/jderobot/
aitormf d07134b
[issue #879] moved all installation of libs to /opt/jderobot/libs ins…
aitormf 8ab7b3d
[issue #879] updated visualStates.cpp for installation in /opt/jderobot
aitormf f4a0f8d
[issue #879] Updated visualStates.cpp bug with getinterfaces.sh location
aitormf ea0181e
[issue #879] Solved bug in some libraries installation
aitormf 01f58c0
[issue #485] Set CMAKE_INSTALL_PREFIX only if default value is requested
lr-morales ca670d0
Merge pull request #1 from lr-morales/global/cmake/485-cmake_paths
aitormf f800518
[issue #879] solved bug in a visualStates file install
aitormf File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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,6 +1,20 @@ | ||
find_package(Python3Interp) | ||
find_package(Python2Interp) | ||
|
||
message(${PYTHON3_MODULE_PATH}) | ||
if (${PYTHON3INTERP_FOUND}) | ||
string(REPLACE "/" ";" PY3_LIST ${PYTHON3_MODULE_PATH}) | ||
list(LENGTH PY3_LIST len) | ||
math(EXPR pos ${len}-1) | ||
list(GET PY3_LIST ${pos} py3) | ||
set (JDEROBOT_PYTHON3_MODULE_PATH ${CMAKE_INSTALL_PREFIX}/lib/${py3}) | ||
message("${PYTHON3_MODULE_PATH}:${JDEROBOT_PYTHON3_MODULE_PATH}") | ||
endif() | ||
|
||
message(${PYTHON2_MODULE_PATH}) | ||
if (${PYTHON2INTERP_FOUND}) | ||
string(REPLACE "/" ";" PY2_LIST ${PYTHON2_MODULE_PATH}) | ||
list(LENGTH PY2_LIST len) | ||
math(EXPR pos ${len}-1) | ||
list(GET PY2_LIST ${pos} py2) | ||
set (JDEROBOT_PYTHON2_MODULE_PATH ${CMAKE_INSTALL_PREFIX}/lib/${py2}) | ||
message("${PYTHON2_MODULE_PATH}:${JDEROBOT_PYTHON2_MODULE_PATH}") | ||
endif() |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
|
||
export PATH=$PATH:@CMAKE_INSTALL_PREFIX@/bin | ||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:@CMAKE_INSTALL_PREFIX@/lib | ||
export CMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH:@CMAKE_INSTALL_PREFIX@ | ||
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:@CMAKE_INSTALL_PREFIX@/lib/pkgconfig | ||
export PYTHONPATH=$PYTHONPATH:@CMAKE_INSTALL_PREFIX@/lib/python2.7 | ||
|
||
|
||
FILE=@CMAKE_INSTALL_PREFIX@/share/jderobot/gazebo/gazebo-setup.sh | ||
if [ -f $FILE ]; then | ||
source $FILE | ||
fi | ||
|
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
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
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one should be just ${CMAKE_INSTALL_PREFIX}