Makefile: Add debug-static-all target

Also make debug-all target statically link all internal libraries.
This commit is contained in:
Erik de Castro Lopo 2017-07-02 18:12:10 +10:00
parent ab594cfee9
commit 94dd5cb4a0

View File

@ -41,7 +41,11 @@ debug-test:
debug-all:
mkdir -p build/debug
cd build/debug && cmake -D BUILD_TESTS=ON -D CMAKE_BUILD_TYPE=Debug ../.. && $(MAKE)
cd build/debug && cmake -D BUILD_TESTS=ON -D BUILD_SHARED_LIBS=OFF -D CMAKE_BUILD_TYPE=Debug ../.. && $(MAKE)
debug-static-all:
mkdir -p build/debug
cd build/debug && cmake -D BUILD_TESTS=ON -D STATIC=ON -D CMAKE_BUILD_TYPE=Debug ../.. && $(MAKE)
cmake-release:
mkdir -p build/release