Skip to content

Commit

Permalink
added static build to makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
papaLazzarou committed May 18, 2015
1 parent dc3dd77 commit 8923eb7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ cmake-release:
mkdir -p build/release
cd build/release && cmake -D CMAKE_BUILD_TYPE=Release ../..

release-static-64:
mkdir -p build/release
cd build/release && cmake -D STATIC=ON -D ARCH="x86-64" -D BUILD_64=ON -D CMAKE_BUILD_TYPE=release ../.. && $(MAKE)

release-static-32:
mkdir -p build/release
cd build/release && cmake -D STATIC=ON -D ARCH="i686" -D BUILD_64=OFF -D CMAKE_BUILD_TYPE=release ../.. && $(MAKE)

build-release: cmake-release
cd build/release && $(MAKE)

Expand Down

0 comments on commit 8923eb7

Please sign in to comment.