make/project.xml

branch
docs/3.1
changeset 1140
88a9ee79c102
parent 1064
f3b04cd60776
equal deleted inserted replaced
1139:7dfa5bcf39ee 1140:88a9ee79c102
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <project version="0.3" xmlns="http://unixwork.de/uwproj"> 2 <project version="0.3" xmlns="http://unixwork.de/uwproj">
3 <config> 3 <config>
4 <var name="root_dir" exec="true">pwd</var> 4 <var name="root_dir" exec="true">pwd</var>
5 <var name="DOXYGEN" exec="true">command -v doxygen</var> 5 <var name="DOXYGEN" exec="true">command -v doxygen</var>
6 <var name="PANDOC" exec="true">command -v pandoc</var>
7 </config> 6 </config>
8 7
9 <dependency> 8 <dependency>
10 <make> 9 <make>
11 # library version 10 # library version
73 <dependency name="doxygen"> 72 <dependency name="doxygen">
74 <test>test -n "$DOXYGEN"</test> 73 <test>test -n "$DOXYGEN"</test>
75 <make>DOXYGEN=$DOXYGEN</make> 74 <make>DOXYGEN=$DOXYGEN</make>
76 </dependency> 75 </dependency>
77 76
78 <dependency name="pandoc">
79 <test>test -n "$PANDOC"</test>
80 <make>PANDOC=$PANDOC</make>
81 </dependency>
82
83 <dependency name="coverage" toolchain="gcc"> 77 <dependency name="coverage" toolchain="gcc">
84 <cflags>\${COVERAGE_CFLAGS}</cflags> 78 <cflags>\${COVERAGE_CFLAGS}</cflags>
85 <ldflags>\${COVERAGE_LDFLAGS}</ldflags> 79 <ldflags>\${COVERAGE_LDFLAGS}</ldflags>
86 <test>command -v gcovr</test> 80 <test>command -v gcovr</test>
87 </dependency> 81 </dependency>
89 <dependency name="no_coverage"> 83 <dependency name="no_coverage">
90 <test>test -z "$FEATURE_COVERAGE"</test> 84 <test>test -z "$FEATURE_COVERAGE"</test>
91 </dependency> 85 </dependency>
92 86
93 <target> 87 <target>
94 <option arg="with-docs"> 88 <feature name="api-docs">
95 <value str="all"> 89 <dependencies>doxygen</dependencies>
96 <dependencies>pandoc,doxygen</dependencies> 90 <make>
97 <make> 91 # Documentation
98 # Documentation 92 WITH_API_DOCS=yes
99 WITH_DOCS_API=yes 93 </make>
100 WITH_DOCS_HTML=yes 94 </feature>
101 </make>
102 </value>
103 <value str="html">
104 <dependencies>pandoc</dependencies>
105 <make>
106 # Documentation
107 WITH_DOCS_HTML=yes
108 </make>
109 </value>
110 <value str="api">
111 <dependencies>doxygen</dependencies>
112 <make>
113 # Documentation
114 WITH_DOCS_API=yes
115 </make>
116 </value>
117 <value str="none"/>
118 <default value="all"/>
119 <default value="html"/>
120 <default value="api"/>
121 <default value="none"/>
122 </option>
123 <feature name="coverage"> 95 <feature name="coverage">
124 <dependencies>coverage</dependencies> 96 <dependencies>coverage</dependencies>
125 </feature> 97 </feature>
126 <feature name="cxx-tests" default="true"> 98 <feature name="cxx-tests" default="true">
127 <dependencies>cxx</dependencies> 99 <dependencies>cxx</dependencies>

mercurial