[CMake] Configuration dependent link

2015-11-10 Thread Stephan Menzel
Hello, I am trying to have config dependent link. Basically, coming from a set of 3rd party location scripts I have a Visual Studio target which I would like to equip with imported libs rather than the existing "manual" scripts. With that I have a few trouble that maybe someone can help me with.

Re: [CMake] Configuration dependent link

2015-11-11 Thread Stephan Menzel
I have investigated further into this and still have no solution, but a hint, which anyone may be able to confirm. It appears like I was led astray by a number of bugs in target_link_libraries() which I was mistaking for intentional behavior and so I started to re-create the behavior manually. Whi

Re: [CMake] Configuration dependent link

2015-11-12 Thread Stephan Menzel
Hey all, I have a few more findings about this before I finally give up and resort my old self made approach: It looks to me like the imported target mechanism is not propagating properties the way it could and probably should. Es specially not like it is described here: https://cmake.org/cmake/he