Enable parallel build for release target in Makefile for improved build performance
This commit is contained in:
parent
f066f46021
commit
6e9725bb53
2
Makefile
2
Makefile
@ -15,7 +15,7 @@ $(BUILD_DIR):
|
||||
# Build targets with specific build types
|
||||
release: $(BUILD_DIR)
|
||||
$(CMAKE) -B $(BUILD_DIR) $(CMAKE_FLAGS) -DCMAKE_BUILD_TYPE=Release
|
||||
$(CMAKE_BUILD) $(BUILD_DIR) --target webserv
|
||||
$(CMAKE_BUILD) $(BUILD_DIR) --target webserv --parallel
|
||||
|
||||
debug: $(BUILD_DIR)
|
||||
$(CMAKE) -B $(BUILD_DIR) $(CMAKE_FLAGS) -DCMAKE_BUILD_TYPE=Debug
|
||||
|
||||
Loading…
Reference in New Issue
Block a user