parent
c2d54cb75b
commit
41919a7fa3
@ -0,0 +1,21 @@
|
||||
python_script := './cmake/scripts/cmake-build-cfg.py'
|
||||
default_host_os := if os_family() == "linux" { "linux" } else { "host" }
|
||||
|
||||
# Build host-debug-ninja target
|
||||
default: debug-ninja
|
||||
|
||||
# Build for Host with Debug configuration and the Make build system
|
||||
debug-make:
|
||||
{{python_script}} -o {{default_host_os}} -l build-Debug -g "make"
|
||||
|
||||
# Build for Host with Debug configuration and the Ninja build system
|
||||
debug-ninja:
|
||||
{{python_script}} -o {{default_host_os}} -l build-Debug -g "ninja"
|
||||
|
||||
# Build for Host with Release configuration and the Make build system
|
||||
release-make:
|
||||
{{python_script}} -b release -o {{default_host_os}} -l build-Release -g "make"
|
||||
|
||||
# Build for Host with Release configuration and the Ninja build system
|
||||
release-ninja:
|
||||
{{python_script}} -b release -o {{default_host_os}} -l build-Release -g "ninja"
|
Loading…
Reference in new issue