aboutsummaryrefslogtreecommitdiff
path: root/tools/depends
diff options
context:
space:
mode:
authorfuzzard <fuzzard@users.noreply.github.com>2022-06-13 07:28:45 +1000
committerGitHub <noreply@github.com>2022-06-13 07:28:45 +1000
commit4d18ab9e88aac3cd77f1dc085e3b05d4d1bedd16 (patch)
tree68be2fd1de62b6eba1156d7857ada09edc56a08e /tools/depends
parent91ce88ca7c12535e993edf92f21c0112c1f6c21e (diff)
parentdc4455c7416b724bbe81422b5bba01c35a7a1b96 (diff)
Merge pull request #21463 from fuzzard/cmake_ninja
[Cmake] implement (some) ninja support
Diffstat (limited to 'tools/depends')
-rw-r--r--tools/depends/target/cmakebuildsys/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/depends/target/cmakebuildsys/Makefile b/tools/depends/target/cmakebuildsys/Makefile
index 953dba759e..934d1ad9d1 100644
--- a/tools/depends/target/cmakebuildsys/Makefile
+++ b/tools/depends/target/cmakebuildsys/Makefile
@@ -17,6 +17,8 @@ ifeq ($(OS),darwin_embedded)
CMAKE_BUILD_ARGUMENTS = -G Xcode -T buildsystem=1
else ifeq ($(GEN),Xcode)
CMAKE_BUILD_ARGUMENTS = -G Xcode -T buildsystem=1
+else ifeq ($(GEN),Ninja)
+ CMAKE_BUILD_ARGUMENTS = -G "Ninja" -DCMAKE_BUILD_TYPE=$(Configuration)
else
CMAKE_BUILD_ARGUMENTS = -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=$(Configuration)
endif