Skip to content

Commit

Permalink
chore: use separate build recipe in makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
jolars committed Nov 30, 2023
1 parent 757bd54 commit f27bae6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,7 @@ install:
cmake --install $(BUILD_DIR)

.PHONY: test
test: build
test:
cmake -B $(BUILD_DIR) -S . -DBUILD_DOCS=OFF -DBUILD_TESTING=ON
cmake --build $(BUILD_DIR)
ctest --test-dir $(BUILD_DIR) --output-on-failure

0 comments on commit f27bae6

Please sign in to comment.