aboutsummaryrefslogtreecommitdiff
path: root/tools/depends
diff options
context:
space:
mode:
authorfuzzard <fuzzard@kodi.tv>2022-05-26 18:25:35 +1000
committerfuzzard <fuzzard@kodi.tv>2022-06-02 10:06:39 +1000
commit332fd7018d1477c741571bee4c29cb516f2ae5a6 (patch)
tree88a4b97e11a7b3a304951b4c73a594b2c6260d94 /tools/depends
parentda368b250070df86252ef284e187fd50903cf8bf (diff)
[tools/depends] cmakebuildsys allow ninja Generator to used/created
use the following to create a Ninja based build project make -C tools/depends/target/cmakebuildsys GEN=Ninja This implements the single config ninja generator (ie fixed BUILD_TYPE) in cmake
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