mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
convert to Release CMAKE_BUILD_TYPE
This commit is contained in:
parent
76cc5243f1
commit
a13f1fc9c6
1 changed files with 8 additions and 2 deletions
|
@ -8,6 +8,12 @@
|
||||||
|
|
||||||
(
|
(
|
||||||
set -e -x
|
set -e -x
|
||||||
|
build_type="Release"
|
||||||
|
build_args="cmake -DCMAKE_BUILD_TYPE=$build_type"
|
||||||
|
build()
|
||||||
|
{
|
||||||
|
$build_args "$@"
|
||||||
|
}
|
||||||
a="`pwd`"
|
a="`pwd`"
|
||||||
cd kcardgame
|
cd kcardgame
|
||||||
# git clone git://anongit.kde.org/kpat
|
# git clone git://anongit.kde.org/kpat
|
||||||
|
@ -15,12 +21,12 @@
|
||||||
mkdir build-kpat/
|
mkdir build-kpat/
|
||||||
k="`pwd`"
|
k="`pwd`"
|
||||||
cd build-kpat
|
cd build-kpat
|
||||||
cmake -DCMAKE_BUILD_TYPE=Debug ../kpat
|
build ../kpat
|
||||||
make
|
make
|
||||||
cd ..
|
cd ..
|
||||||
mkdir b
|
mkdir b
|
||||||
cd b
|
cd b
|
||||||
cmake -DCMAKE_BUILD_TYPE=Debug ../binding-example/
|
build ../binding-example/
|
||||||
make
|
make
|
||||||
) || true
|
) || true
|
||||||
dir="`pwd`/kcardgame/b"
|
dir="`pwd`/kcardgame/b"
|
||||||
|
|
Loading…
Add table
Reference in a new issue