Re: [cmake-developers] UseSWIG warns about CMP0057

2015-03-27 Thread felix schwitzer
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

[cmake-developers] UseSWIG warns about CMP0057

2015-03-26 Thread felix schwitzer
I have a library and use the UseSWIG-module to generate bindings for different scripting languages from an interface file (ltt.i in the example below). To get the bindings for more than one language, my CMakeLists.txt looks somehow like add_library(ltt sources) include(UseSWIG)