From 332fd7018d1477c741571bee4c29cb516f2ae5a6 Mon Sep 17 00:00:00 2001 From: fuzzard Date: Thu, 26 May 2022 18:25:35 +1000 Subject: [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 --- tools/depends/target/cmakebuildsys/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/depends') 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 -- cgit v1.2.3