make/project.xml

branch
newapi
changeset 404
384f6d1f5784
parent 302
b00cbbfeec7a
equal deleted inserted replaced
403:b59935b2de79 404:384f6d1f5784
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://unixwork.de/uwproj"> 2 <project version="0.3" xmlns="http://unixwork.de/uwproj">
3 <dependency> 3 <dependency>
4 <lang>c</lang> 4 <lang>c</lang>
5 </dependency> 5 </dependency>
6 6
7 <dependency name="libadwaita"> 7 <dependency name="libadwaita">
34 <cflags>-DUI_WINUI</cflags> 34 <cflags>-DUI_WINUI</cflags>
35 </dependency> 35 </dependency>
36 <!-- 36 <!--
37 <dependency name="qt4"> 37 <dependency name="qt4">
38 <test>which qmake-qt4</test> 38 <test>which qmake-qt4</test>
39 <cflags type="exec">qmake-qt4 -o - /dev/null | grep DEFINES\ </cflags> 39 <cflags exec="true">qmake-qt4 -o - /dev/null | grep DEFINES\ </cflags>
40 <cflags type="exec">qmake-qt4 -o - /dev/null | grep INCPATH\ </cflags> 40 <cflags exec="true">qmake-qt4 -o - /dev/null | grep INCPATH\ </cflags>
41 <ldflags type="exec"><cflags type="exec">qmake-qt4 -o - /dev/null | grep LIBS\ </cflags></ldflags> 41 <ldflags exec="true">qmake-qt4 -o - /dev/null | grep LIBS\ </ldflags>
42 </dependency> 42 </dependency>
43 <dependency name="qt5"> 43 <dependency name="qt5">
44 <test>which qmake-qt5</test> 44 <test>which qmake-qt5</test>
45 <cflags type="exec">qmake-qt5 -o - /dev/null | grep DEFINES\ </cflags> 45 <cflags exec="true">qmake-qt5 -o - /dev/null | grep DEFINES\ </cflags>
46 <cflags type="exec">qmake-qt5 -o - /dev/null | grep INCPATH\ </cflags> 46 <cflags exec="true">qmake-qt5 -o - /dev/null | grep INCPATH\ </cflags>
47 <ldflags type="exec"><cflags type="exec">qmake-qt5 -o - /dev/null | grep LIBS\ </cflags></ldflags> 47 <ldflags exec="true">qmake-qt5 -o - /dev/null | grep LIBS\ </ldflags>
48 </dependency> 48 </dependency>
49 --> 49 -->
50 <dependency name="cocoa" platform="macos"> 50 <dependency name="cocoa" platform="macos">
51 <cflags>-DUI_COCOA</cflags> 51 <cflags>-DUI_COCOA</cflags>
52 <ldflags>-lobjc -framework Cocoa</ldflags> 52 <ldflags>-lobjc -framework Cocoa</ldflags>
113 <value str="qt4"> 113 <value str="qt4">
114 <dependencies>qt4</dependencies> 114 <dependencies>qt4</dependencies>
115 <make>TOOLKIT = qt</make> 115 <make>TOOLKIT = qt</make>
116 <make>LD = $(CXX)</make> 116 <make>LD = $(CXX)</make>
117 </value> 117 </value>
118 <value str="cocoa">
119 <dependencies>cocoa</dependencies>
120 <make>TOOLKIT = cocoa</make>
121 </value>
118 <value str="motif"> 122 <value str="motif">
119 <dependencies>motif</dependencies> 123 <dependencies>motif</dependencies>
120 <make>TOOLKIT = motif</make> 124 <make>TOOLKIT = motif</make>
121 </value> 125 </value>
122 <default value="winui" platform="windows" /> 126 <default value="winui" platform="windows" />

mercurial