Ensure the streamable classes are compiled before trying to generate C++ classes from them
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6352 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -225,7 +225,7 @@
|
|||||||
</target>
|
</target>
|
||||||
<target name="gencheck" depends="enablegencheck,gencode"
|
<target name="gencheck" depends="enablegencheck,gencode"
|
||||||
description="Fails the build if any new code would be generated"/>
|
description="Fails the build if any new code would be generated"/>
|
||||||
<target name="gencode" depends="gendobj,genservice,genreceiver,genstream"
|
<target name="gencode" depends="gendobj,genservice,genreceiver,gencppstream"
|
||||||
description="Runs all code generators"/>
|
description="Runs all code generators"/>
|
||||||
|
|
||||||
<target name="gendobj" depends="-preptools"
|
<target name="gendobj" depends="-preptools"
|
||||||
@@ -291,7 +291,9 @@
|
|||||||
</genreceiver>
|
</genreceiver>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="genstream" depends="-preptools" description="Generates C++ streamable classes.">
|
<!-- C++ streamable generation depends on a diverse enough set of classes that we just compile
|
||||||
|
everything for it -->
|
||||||
|
<target name="gencppstream" depends="-preptools,compile" description="Generates C++ streamable classes.">
|
||||||
<gencppstreamable classpathref="built.classpath" cpproot="src/cpp" checking="${gencheck}">
|
<gencppstreamable classpathref="built.classpath" cpproot="src/cpp" checking="${gencheck}">
|
||||||
<generate class="com.threerings.presents.client.InvocationReceiver$Registration"/>
|
<generate class="com.threerings.presents.client.InvocationReceiver$Registration"/>
|
||||||
<generate class="com.threerings.presents.data.ClientObject"/>
|
<generate class="com.threerings.presents.data.ClientObject"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user