Skip to content

Commit

Permalink
build script not remove wholl product directory
Browse files Browse the repository at this point in the history
  • Loading branch information
akindyakov committed Jul 16, 2013
1 parent 52d0ce7 commit a8082ba
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 3 deletions.
8 changes: 5 additions & 3 deletions build/linux_build_debug.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,15 @@ echo ------------------------------------------------------
echo generate makefiles
echo ------------------------------------------------------

sh linux_clean.sh
#sh linux_clean.sh
echo remove product directiry
rm -r product/debug

echo create product directory
mkdir product/
mkdir product/debug/
mkdir product/debug

cd product/debug/
cd product/debug

cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug ../../../

Expand Down
22 changes: 22 additions & 0 deletions build/linux_build_release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
cat ../README.md

echo ------------------------------------------------------
echo generate makefiles
echo ------------------------------------------------------

#sh linux_clean.sh

echo create product directory
mkdir product/
mkdir product/release/

cd product/release/

cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ../../../

echo ------------------------------------------------------
echo building
echo ------------------------------------------------------

make

1 change: 1 addition & 0 deletions build/linux_clean.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
echo remove product directiry
rm -f -r product/

0 comments on commit a8082ba

Please sign in to comment.