Commit 652ae58c authored by Eric Bruneton's avatar Eric Bruneton
Browse files

improved project file, added option to specify name of SequenceTask resource...

improved project file, added option to specify name of SequenceTask resource (to be able to include method definitions in XML archive files)

git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/ork/trunk@21 28599a00-4e59-401b-b2d8-d34d4661a6c9
parent 3acee4dd
......@@ -7,10 +7,11 @@
<Option compiler="gcc" />
<Build>
<Target title="Debug">
<Option output="orkd" prefix_auto="1" extension_auto="1" />
<Option output="bin/ork3d" prefix_auto="1" extension_auto="1" />
<Option object_output="build/Debug/" />
<Option type="3" />
<Option compiler="gcc" />
<Option createStaticLib="1" />
<Compiler>
<Add option="-g" />
<Add option="-mthreads" />
......@@ -25,10 +26,11 @@
</Linker>
</Target>
<Target title="Debug_UNIX">
<Option output="orkd" prefix_auto="1" extension_auto="1" />
<Option output="bin/ork3d" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/debug/" />
<Option type="3" />
<Option compiler="gcc" />
<Option createStaticLib="1" />
<Compiler>
<Add option="-pg" />
<Add option="-g" />
......@@ -40,10 +42,11 @@
</Linker>
</Target>
<Target title="Release">
<Option output="ork" prefix_auto="1" extension_auto="1" />
<Option output="bin/ork3" prefix_auto="1" extension_auto="1" />
<Option object_output="build/Release/" />
<Option type="3" />
<Option compiler="gcc" />
<Option createStaticLib="1" />
<Compiler>
<Add option="-O2" />
<Add option="-mthreads" />
......@@ -59,10 +62,11 @@
</Linker>
</Target>
<Target title="Release_UNIX">
<Option output="ork" prefix_auto="1" extension_auto="1" />
<Option output="bin/ork3" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/release/" />
<Option type="3" />
<Option compiler="gcc" />
<Option createStaticLib="1" />
<Compiler>
<Add option="-O2" />
<Add option="-fPIC" />
......
......@@ -86,7 +86,7 @@ public:
ResourceTemplate<40, SequenceTask>(manager, name, desc)
{
e = e == NULL ? desc->descriptor : e;
checkParameters(desc, e, "");
checkParameters(desc, e, "name,");
vector< ptr<TaskFactory> > subtasks;
const TiXmlNode *n = e->FirstChild();
while (n != NULL) {
......
Supports Markdown
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