mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
instead of adding an extra CMakeLists in .ci/travis/code_layout to build API doc, astyle and run tests (indentation, spelling, sip, doc coverage), the top CMakeLists has been adapted to allow not building core libraries and possibly just the static code layout * astyle has been moved from /src/astyle to /lib/astyle (I would propose to move all external libraries, and possibly add git submodules)
23 lines
1007 B
Bash
Executable File
23 lines
1007 B
Bash
Executable File
###########################################################################
|
|
# install.sh
|
|
# ---------------------
|
|
# Date : February 2017
|
|
# Copyright : (C) 2017 by Denis Rouzaud
|
|
# Email : denis.rouzaud@gmail.com
|
|
###########################################################################
|
|
# #
|
|
# This program is free software; you can redistribute it and/or modify #
|
|
# it under the terms of the GNU General Public License as published by #
|
|
# the Free Software Foundation; either version 2 of the License, or #
|
|
# (at your option) any later version. #
|
|
# #
|
|
###########################################################################
|
|
|
|
export CORES=2
|
|
|
|
mkdir build
|
|
cd build
|
|
|
|
cmake -DWITH_CORE=OFF -DWITH_APIDOC=ON -DWITH_ASTYLE=ON -DENABLE_TESTS=ON ..
|
|
make -j${CORES}
|