Streamline test building target

Signed-off-by: Jacob Torrey <discipleofranok@gmail.com>
This commit is contained in:
Jacob Torrey 2016-08-22 17:43:43 -06:00 committed by Jacob Torrey
parent 14915c24d7
commit 256dec0601
2 changed files with 2 additions and 3 deletions

View file

@ -35,9 +35,9 @@ cmake-debug:
debug: cmake-debug
cd build/debug && $(MAKE)
debug-test: debug
debug-test:
mkdir -p build/debug
cd build/debug && cmake -D BUILD_TESTS=ON -D CMAKE_BUILD_TYPE=Debug ../.. && $(MAKE) test
cd build/debug && cmake -D BUILD_TESTS=ON -D CMAKE_BUILD_TYPE=Debug ../.. && $(MAKE) && $(MAKE) test
debug-all:
mkdir -p build/debug