make/project.xml

branch
newapi
changeset 404
384f6d1f5784
parent 302
b00cbbfeec7a
--- a/make/project.xml	Sat Nov 30 20:33:16 2024 +0100
+++ b/make/project.xml	Wed Dec 04 08:55:49 2024 +0100
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://unixwork.de/uwproj">
+<project version="0.3" xmlns="http://unixwork.de/uwproj">
 	<dependency>
 		<lang>c</lang>
 	</dependency>
@@ -36,15 +36,15 @@
 	<!--
 	<dependency name="qt4">
 		<test>which qmake-qt4</test>
-		<cflags type="exec">qmake-qt4 -o - /dev/null | grep DEFINES\ </cflags>
-		<cflags type="exec">qmake-qt4 -o - /dev/null | grep INCPATH\ </cflags>
-		<ldflags type="exec"><cflags type="exec">qmake-qt4 -o - /dev/null | grep LIBS\ </cflags></ldflags>
+		<cflags exec="true">qmake-qt4 -o - /dev/null | grep DEFINES\ </cflags>
+		<cflags exec="true">qmake-qt4 -o - /dev/null | grep INCPATH\ </cflags>
+		<ldflags exec="true">qmake-qt4 -o - /dev/null | grep LIBS\ </ldflags>
 	</dependency>
 	<dependency name="qt5">
 		<test>which qmake-qt5</test>
-		<cflags type="exec">qmake-qt5 -o - /dev/null | grep DEFINES\ </cflags>
-		<cflags type="exec">qmake-qt5 -o - /dev/null | grep INCPATH\ </cflags>
-		<ldflags type="exec"><cflags type="exec">qmake-qt5 -o - /dev/null | grep LIBS\ </cflags></ldflags>
+		<cflags exec="true">qmake-qt5 -o - /dev/null | grep DEFINES\ </cflags>
+		<cflags exec="true">qmake-qt5 -o - /dev/null | grep INCPATH\ </cflags>
+		<ldflags exec="true">qmake-qt5 -o - /dev/null | grep LIBS\ </ldflags>
 	</dependency>
 	-->
 	<dependency name="cocoa" platform="macos">
@@ -115,6 +115,10 @@
 				<make>TOOLKIT = qt</make>
 				<make>LD = $(CXX)</make>
 			</value>
+			<value str="cocoa">
+				<dependencies>cocoa</dependencies>
+				<make>TOOLKIT = cocoa</make>
+			</value>
 			<value str="motif">
 				<dependencies>motif</dependencies>
 				<make>TOOLKIT = motif</make>

mercurial