Brad King <brad.king@...> writes:
> 
> Yes, it should be fixed to just use DEPENDS instead of MAIN_DEPENDENCY,
> at least if there are multiple languages to be generated.  There is no
> compatibility issue because MAIN_DEPENDENCY only affects the presentation
> of source files in IDE projects.  Otherwise it is the same as DEPENDS.
> This is likely why repeated MAIN_DEPENDENCY didn't get noticed before.
> 
> I'm not set up to test UseSWIG on a real project like you.  Would you
> please look at making and testing the change locally and then send
> a patch?

I filed a bug report (http://public.kitware.com/Bug/view.php?id=15480)
with an example and a patch attached.
On my linux-system it worked fine.

Thanks
Felix


-- 

Powered by www.kitware.com

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

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to