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
On 03/26/2015 05:16 PM, felix schwitzer wrote:
> Is this a bug in UseSWIG or is my use case invalid?
It's a bug exposed by the policy warning. We never supported repeated
use of MAIN_DEPENDENCY, it just wasn't diagnosed before CMP0057.
> The warning comes from UseSWIG in line 193; the interface
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