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 th
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 )
include(UseSWIG)
foreach(_lan