Commit 5d160acd authored by Joseph Mirabel's avatar Joseph Mirabel Committed by Joseph Mirabel
Browse files

Add INSTALL_DOCUMENTATION variable to Makefile.

parent aca3c7c6
Pipeline #433 passed with stages
in 76 minutes and 1 second
......@@ -7,8 +7,9 @@ variables:
.build_template: &build_definition
stage: build
script:
- export INSTALL_DOCUMENTATION=OFF
- cp -r /clean_workspace $DEVEL_DIR
- /auto-install-hpp.sh --branch devel
- /auto-install-hpp.sh --branch ${CI_COMMIT_REF_NAME}
artifacts:
paths:
- workspace
......
......@@ -32,6 +32,7 @@ TAR=tar
GIT_QUIET=--quiet
# Qt version should be either 4 or 5
QT_VERSION=4
INSTALL_DOCUMENTATION=ON
hpp-fcl_branch=devel
hpp-fcl_repository=${HPP_REPO}
......@@ -325,7 +326,10 @@ update:
%.configure_nodep:%.checkout
mkdir -p ${SRC_DIR}/$(@:.configure_nodep=)/${BUILD_FOLDER}; \
cd ${SRC_DIR}/$(@:.configure_nodep=)/${BUILD_FOLDER}; \
cmake -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_BUILD_TYPE=${BUILD_TYPE} \ -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="-g -O3 -DNDEBUG" ${$(@:.configure_nodep=)_extra_flags} ..
cmake -DCMAKE_INSTALL_PREFIX=${INSTALL_DIR} -DCMAKE_INSTALL_LIBDIR=lib -DCMAKE_BUILD_TYPE=${BUILD_TYPE} \
-DINSTALL_DOCUMENTATION=${INSTALL_DOCUMENTATION} \
-DCMAKE_CXX_FLAGS_RELWITHDEBINFO="-g -O3 -DNDEBUG" \
${$(@:.configure_nodep=)_extra_flags} ..
%.install:%.configure
${MAKE} -C ${SRC_DIR}/$(@:.install=)/${BUILD_FOLDER} install
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment