Hello,
we have a number of projects, in some of them, we have translation units that 
define member functions of template classes,
and at the bottom we have explicit template instantiations of those templates:
template class Templ<ArgList1>;
template class Templ<ArgList2>;

it turns out under VS2005/2008 we only need the instantiation with 
Templ<ArgList1>
while under gcc3 we need Templ<ArgList2>

I saw some aux sources command in cmake that considers a "Template" subdir, but 
we don't wish to use this method.
Is there any other feature of cmake to help with this?
Otherwise, we will use processor defines to test which env and then choose the 
appropriate instantiation.

rds,
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to