make/project.xml

changeset 158
4bde241c49b1
parent 156
62f1a55535e7
child 170
ad9edb497857
--- a/make/project.xml	Mon Feb 04 17:49:50 2019 +0100
+++ b/make/project.xml	Sat Nov 14 20:58:20 2020 +0100
@@ -1,5 +1,12 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project>
+	<!--
+	<dependency name="gtk4">
+		<pkgconfig>gtk+-4.0</pkgconfig>
+		<cflags>-DUI_GTK3</cflags>
+		<ldflags>-lpthread</ldflags>
+	</dependency>
+	-->
 	<dependency name="gtk3">
 		<pkgconfig>gtk+-3.0</pkgconfig>
 		<cflags>-DUI_GTK3</cflags>
@@ -40,8 +47,26 @@
 		<ldflags>-lXm -lXt -lX11 -lpthread</ldflags>
 	</dependency>
 	
+	<dependency platform="macos">
+		<make>OBJ_EXT = o</make>
+		<make>LIB_EXT = a</make>
+		<make>PACKAGE_SCRIPT = package_osx.sh</make>
+	</dependency>
+	<dependency platform="unix" not="macos">
+		<make>OBJ_EXT = o</make>
+		<make>LIB_EXT = a</make>
+		<make>PACKAGE_SCRIPT = package_unix.sh</make>
+	</dependency>
+	
 	<target name="tk">
 		<option arg="toolkit">
+			<!--
+			<value str="gtk4">
+				<dependencies>gtk4</dependencies>
+				<make>TOOLKIT = gtk</make>
+				<make>GTKOBJ = draw_cairo.o</make>
+			</value>
+			-->
 			<value str="gtk3">
 				<dependencies>gtk3</dependencies>
 				<make>TOOLKIT = gtk</make>

mercurial