Commit 19ed2247 authored by Paul Wais's avatar Paul Wais

nice error message

parent d74d3ae5
...@@ -2,7 +2,23 @@ ...@@ -2,7 +2,23 @@
<project name="Djinni-test"> <project name="Djinni-test">
<target name="compile"> <target name="compile">
<mkdir dir="build"/> <mkdir dir="build"/>
<mkdir dir="build/local"/> <mkdir dir="build/local"/>
<!-- Veteran djinni users might not have cmake. Given them some advice. -->
<property environment="env" />
<fail
message="****${line.separator}
Can't find cmake! Please install, using e.g.:${line.separator}
$ brew install cmake ${line.separator}
$ sudo port install cmake ${line.separator}
$ apt-get install cmake ${line.separator}
$ yum install cmake ${line.separator}
****${line.separator}">
<condition>
<not><available file="cmake" filepath="${env.PATH}" /></not>
</condition>
</fail>
<exec executable="cmake" failonerror="true" dir="build"> <exec executable="cmake" failonerror="true" dir="build">
<!-- Verbose helps make debugging compiler issues easier --> <!-- Verbose helps make debugging compiler issues easier -->
<arg value="-DCMAKE_VERBOSE_MAKEFILE=ON"/> <arg value="-DCMAKE_VERBOSE_MAKEFILE=ON"/>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment