forked from pocoproject/poco
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
trunk: cmake: added simple build script for building Release & Debug …
…version at once
- Loading branch information
Marian Krivos
committed
Feb 7, 2012
1 parent
0a33514
commit ac73265
Showing
2 changed files
with
27 additions
and
4 deletions.
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
|
||
# POCO_STATIC=1 - for static build | ||
# POCO_UNBUNDLED - for no built-in version of libs | ||
# CMAKE_INSTALL_PREFIX=path - for install path | ||
|
||
rm -rf cmake-build | ||
mkdir cmake-build | ||
cd cmake-build | ||
|
||
cmake ../. -DCMAKE_BUILD_TYPE=Debug $1 $2 $3 $4 $5 | ||
make -j3 | ||
make install | ||
|
||
rm -rf CMakeCache.txt | ||
|
||
cmake ../. $1 $2 $3 $4 $5 | ||
make -j3 | ||
make install | ||
|
||
|
||
cd .. |