Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Guilhem Saurel
hpp-doc
Commits
b3aa21b9
Commit
b3aa21b9
authored
Mar 08, 2016
by
Joseph Mirabel
Committed by
Joseph Mirabel
Mar 08, 2016
Browse files
Add variable BUILD_FOLDER. Build external dependency in Release mode.
parent
04c705d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
doc/Makefile
View file @
b3aa21b9
...
...
@@ -10,6 +10,11 @@ HPP_REPO=https://github.com/humanoid-path-planner
SRC_DIR
=
${DEVEL_DIR}
/src
BUILD_TYPE
=
Debug
ifeq
(${BUILD_TYPE},Debug)
BUILD_FOLDER
=
build
else
BUILD_FOLDER
=
build-rel
endif
hpp-fcl_branch
=
devel
hpp-fcl_repository
=
${HPP_REPO}
...
...
@@ -108,6 +113,12 @@ OpenSceneGraph-3.4.0_extra_flags= -DDESIRED_QT_VERSION=4 -DCOLLADA_DYNAMIC_LIBRA
doxygen-Release_1_8_10_extra_flags
=
-DCMAKE_BUILD_TYPE
=
Release
roboptim-core-3.1_extra_flags
=
-DCMAKE_BUILD_TYPE
=
Release
roboptim-trajectory-3.1_extra_flags
=
-DCMAKE_BUILD_TYPE
=
Release
qpOASES_extra_flags
=
-DCMAKE_BUILD_TYPE
=
Release
all
:
doxygen-Release_1_8_10.install hpp_tutorial.install
\
hpp-gepetto-viewer.install
${MAKE}
hpp-doc.install
...
...
@@ -215,25 +226,24 @@ update:
git submodule update
%.configure
:
%.configure.dep
cd
${SRC_DIR}
/
$
(
@:.configure
=)
;
\
mkdir
-p
build
;
\
cd
${SRC_DIR}
/
$
(
@:.configure
=)
/build
;
\
mkdir
-p
${SRC_DIR}
/
$
(
@:.configure
=)
/
${BUILD_FOLDER}
;
\
cd
${SRC_DIR}
/
$
(
@:.configure
=)
/
${BUILD_FOLDER}
;
\
cmake
-DCMAKE_INSTALL_PREFIX
=
${DEVEL_DIR}
/install
-DCMAKE_INSTALL_LIBDIR
=
lib
-DCMAKE_BUILD_TYPE
=
${BUILD_TYPE}
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO
=
"-g -O3 -DNDEBUG"
${
$
(@
:.configure
=)_extra_flags
}
..
%.install
:
%.configure
cd
${SRC_DIR}
/
$
(
@:.install
=)
/
build
;
\
cd
${SRC_DIR}
/
$
(
@:.install
=)
/
${BUILD_FOLDER}
;
\
make
install
%.uninstall
:
cd
${SRC_DIR}
/
$
(
@:.uninstall
=)
/
build
;
\
cd
${SRC_DIR}
/
$
(
@:.uninstall
=)
/
${BUILD_FOLDER}
;
\
make uninstall
%.clean
:
cd
${SRC_DIR}
/
$
(
@:.clean
=)
/
build
;
\
cd
${SRC_DIR}
/
$
(
@:.clean
=)
/
${BUILD_FOLDER}
;
\
make clean
%.very-clean
:
rm
-rf
${SRC_DIR}
/
$
(
@:.very-clean
=)
/
build
/
*
rm
-rf
${SRC_DIR}
/
$
(
@:.very-clean
=)
/
${BUILD_FOLDER}
/
*
%.status
:
cd
${SRC_DIR}
/
$
(
@:.status
=)
;
git status
...
...
@@ -249,8 +259,8 @@ update:
hpp-doc.configure
:
hpp-doc.checkout
cd
${SRC_DIR}
/
$
(
@:.configure
=)
;
\
./bootstrap
;
\
mkdir
-p
build
;
\
cd
${SRC_DIR}
/
$
(
@:.configure
=)
/
build
;
\
mkdir
-p
${BUILD_FOLDER}
;
\
cd
${SRC_DIR}
/
$
(
@:.configure
=)
/
${BUILD_FOLDER}
;
\
../configure
--prefix
=
${DEVEL_DIR}
/install
eigen3.checkout
:
...
...
@@ -263,8 +273,8 @@ eigen3.checkout:
eigen3.configure
:
eigen3.configure.dep
cd
${SRC_DIR}
/eigen3
;
\
mkdir
-p
build
;
\
cd
${SRC_DIR}
/eigen3/
build
;
\
mkdir
-p
${BUILD_FOLDER}
;
\
cd
${SRC_DIR}
/eigen3/
${BUILD_FOLDER}
;
\
cmake
-DCMAKE_INSTALL_PREFIX
=
${DEVEL_DIR}
/install
-DCMAKE_INSTALL_LIBDIR
=
lib
-Dpkg_config_libdir
=
${DEVEL_DIR}
/install/lib ..
roboptim-core-3.1.checkout
:
...
...
@@ -291,28 +301,28 @@ doxygen-Release_1_8_10.checkout:
hrp2.configure
:
hrp2.configure.dep
.
${DEVEL_DIR}
/install/setup.sh
;
\
cd
${SRC_DIR}
/hrp2/hrp2_14_description
;
\
mkdir
-p
build
;
\
cd
${SRC_DIR}
/hrp2/hrp2_14_description/
build
;
\
mkdir
-p
${BUILD_FOLDER}
;
\
cd
${SRC_DIR}
/hrp2/hrp2_14_description/
${BUILD_FOLDER}
;
\
cmake
-DCMAKE_INSTALL_PREFIX
=
${DEVEL_DIR}
/install
-DCMAKE_INSTALL_LIBDIR
=
lib
-DCMAKE_BUILD_TYPE
=
${BUILD_TYPE}
..
hrp2.install
:
hrp2.configure
cd
${SRC_DIR}
/hrp2/hrp2_14_description/
build
;
\
cd
${SRC_DIR}
/hrp2/hrp2_14_description/
${BUILD_FOLDER}
;
\
make
install
robot_model_py.configure
:
robot_model_py.configure.dep
cd
${SRC_DIR}
/
$
(
@:.configure
=)
/xml_reflection
;
\
mkdir
-p
build
;
\
cd
build
;
\
mkdir
-p
${BUILD_FOLDER}
;
\
cd
${BUILD_FOLDER}
;
\
cmake
-DCMAKE_INSTALL_PREFIX
=
${DEVEL_DIR}
/install
-DCMAKE_INSTALL_LIBDIR
=
lib
-DCMAKE_BUILD_TYPE
=
${BUILD_TYPE}
..
cd
${SRC_DIR}
/
$
(
@:.configure
=)
/urdf_parser_py
;
\
mkdir
-p
build
;
\
cd
build
;
\
mkdir
-p
${BUILD_FOLDER}
;
\
cd
${BUILD_FOLDER}
;
\
cmake
-DCMAKE_INSTALL_PREFIX
=
${DEVEL_DIR}
/install
-DCMAKE_INSTALL_LIBDIR
=
lib
-DCMAKE_BUILD_TYPE
=
${BUILD_TYPE}
..
robot_model_py.install
:
robot_model_py.configure
cd
${SRC_DIR}
/
$
(
@:.install
=)
/xml_reflection/
build
;
\
cd
${SRC_DIR}
/
$
(
@:.install
=)
/xml_reflection/
${BUILD_FOLDER}
;
\
make
install
;
\
cd
${SRC_DIR}
/
$
(
@:.install
=)
/urdf_parser_py/
build
;
\
cd
${SRC_DIR}
/
$
(
@:.install
=)
/urdf_parser_py/
${BUILD_FOLDER}
;
\
make
install
;
OpenSceneGraph-3.4.0.checkout
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment