Bug #7739 2006-06-03 16:10
trikko
Error using template
Some months ago i wrote a template app for wxwidgets with different targets (mingw, visual studio, digital mars and open watcom). Now it doesn't works correctly anymore... on .cbp template project i write:
[...]
<Unit filename="_wx_intellisense.h">
<Option compilerVar="CPP" />
<Option compile="0" />
<Option link="0" />
<Option target="Release DMars" />
<Option target="Release MingW" />
<Option target="Release VC++" />
<Option target="Release OpenWatcom" />
</Unit>
<Unit filename="app.cpp">
<Option compilerVar="CPP" />
<Option target="Release DMars" />
<Option target="Release MingW" />
<Option target="Release VC++" />
<Option target="Release OpenWatcom" />
</Unit>
[...]
and so on... but when i create a project from this template all files are added 5 times to project. And on new cbp there are 5 <unit> for every file. If i copy template .cbp over the one created by c::b it works correctly.
Here a screenshot:
http://img224.imageshack.us/img224/8041/ssbug9ul.png
PS: on original project .ico and .manifest files are not included in project...
- Category
- Application::Editor
- Group
- Status
- Closed
- Close date
- 2006-07-06 17:39
- Assigned to
History
Templates are no longer supported in that form. C::B now uses wizard scripts which don't have these problems anymore.