Simplify CMake invocation
This commit is contained in:
parent
00d104e519
commit
331356625e
1 changed files with 1 additions and 2 deletions
3
Makefile
3
Makefile
|
@ -38,8 +38,7 @@ build: $(BUILD_DIR)/CMakeCache.txt
|
|||
cmake --build $(BUILD_DIR) -j $(JOBS)
|
||||
|
||||
$(BUILD_DIR)/CMakeCache.txt:
|
||||
@mkdir -p $(BUILD_DIR)
|
||||
cd $(BUILD_DIR); cmake ../ -DCMAKE_BUILD_TYPE=$(BUILD_TYPE)
|
||||
cmake -B $(BUILD_DIR) -DCMAKE_BUILD_TYPE=$(BUILD_TYPE)
|
||||
|
||||
install: build
|
||||
cmake --build $(BUILD_DIR) --target install
|
||||
|
|
Loading…
Reference in a new issue