mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Changed project layout
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@460 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
b22842eade
commit
3358ddda0e
55 changed files with 32 additions and 0 deletions
|
|
@ -119,6 +119,38 @@
|
||||||
</tar>
|
</tar>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
<property name="boost.dir" value="${out.dir}/../boost.mock"/>
|
||||||
|
<target name="boost" description="convert to boost">
|
||||||
|
<delete dir="${boost.dir}"/>
|
||||||
|
<copy todir="${boost.dir}/boost/mock">
|
||||||
|
<fileset dir="${libraries.dir}/turtle" includes="**"/>
|
||||||
|
</copy>
|
||||||
|
<copy todir="${boost.dir}/libs/mock/test">
|
||||||
|
<fileset dir="${tests.dir}/test" includes="**"/>
|
||||||
|
</copy>
|
||||||
|
<copy todir="${boost.dir}">
|
||||||
|
<fileset dir="${libraries.dir}" includes="Jam*"/>
|
||||||
|
</copy>
|
||||||
|
<replaceregexp match="MOCK" replace="BOOST_MOCK" flags="g">
|
||||||
|
<fileset dir="${boost.dir}" includes="**/*.hpp,**/*.cpp"/>
|
||||||
|
</replaceregexp>
|
||||||
|
<replaceregexp match="BOOST_MOCK_BOOST_MOCK" replace="BOOST_MOCK" flags="g">
|
||||||
|
<fileset dir="${boost.dir}" includes="**/*.hpp,**/*.cpp"/>
|
||||||
|
</replaceregexp>
|
||||||
|
<replaceregexp match='"([^"]+)"' replace="<boost/mock/\1>" flags="g">
|
||||||
|
<fileset dir="${boost.dir}" includes="**/*.hpp,**/*.cpp"/>
|
||||||
|
</replaceregexp>
|
||||||
|
<replaceregexp match="<turtle/([^>]+)" replace="<boost/mock/\1" flags="g">
|
||||||
|
<fileset dir="${boost.dir}" includes="**/*.hpp,**/*.cpp"/>
|
||||||
|
</replaceregexp>
|
||||||
|
<replaceregexp match="(namespace mock)" replace="namespace boost${line.separator}{${line.separator}\1" flags="g">
|
||||||
|
<fileset dir="${boost.dir}" includes="**/*.hpp,**/*.cpp"/>
|
||||||
|
</replaceregexp>
|
||||||
|
<replaceregexp match="(}${line.separator}${line.separator}#endif //)" replace="}${line.separator}\1" flags="g">
|
||||||
|
<fileset dir="${boost.dir}" includes="**/*.hpp,**/*.cpp"/>
|
||||||
|
</replaceregexp>
|
||||||
|
</target>
|
||||||
|
|
||||||
<target name="all" depends="configure,test,bench,reports,export,package" description="configure, build and run tests and benchmark, export and package distribution"/>
|
<target name="all" depends="configure,test,bench,reports,export,package" description="configure, build and run tests and benchmark, export and package distribution"/>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue