189
189
<p><tt>qmake</tt> provides built-in functions that can be used as conditions when writing scopes. These functions do not return a value, but instead indicate "success" or "failure":</p>
190
190
<pre> count(options, 2) {
191
191
message(Both release and debug specified.)
194
193
<p>This type of function should be used in conditional expressions only.</p>
195
194
<p>It is possible to define your own functions to provide conditions for scopes. The following example tests whether each file in a list exists and returns true if they all exist, or false if not:</p>
196
195
<pre> defineTest(allFiles) {