[CMake] need help fixing warning message... 3.0

2014-05-24 Thread J Decker
CMake Warning (dev) at C:/general/build/android/karaway/debug_out/core/DefaultInstall.cmake:203 (get_property): Policy CMP0026 is not set: Disallow use of the LOCATION target property. Run "cmake --help-policy CMP0026" for policy details. Use the cmake_policy command to set the policy and su

[CMake] How to build 'install' target or orther custom target in eclipse?

2014-05-24 Thread J Decker
So I've had to pick up eclipse to try and learn it; figured maybe if I took my existing code and generated it as eclipse format I might get a better clue. Now I can right click and bulid the project...but I don't see how to build a specific target like 'install' -- Powered by www.kitware.com Pl

Re: [CMake] How to use LINK_INTERFACE_LIBRARIES

2014-05-24 Thread Lucas Soltic
Le 24 mai 2014 à 18:45, Nils Gladitz a écrit : > >> On 24.05.2014 18:15, Lucas Soltic wrote: >> Hello! >> >> I'm having a hard time at properly using LINK_INTERFACE_LIBRARIES. >> From what I understood, setting this property empty for a target avoids >> transitive dependencies linking. >> >> B

Re: [CMake] Mac @loader_path for @rpath questions

2014-05-24 Thread clinton
- Original Message - > I have a bunch of libraries and frameworks that properly use @rpath. > Now I am trying to build an application that uses those library and > frameworks via CMake. > > From this blog: > http://www.kitware.com/blog/home/post/510 > I see I am supposed to do: > set(CMA

Re: [CMake] How to use LINK_INTERFACE_LIBRARIES

2014-05-24 Thread Nils Gladitz
On 24.05.2014 18:15, Lucas Soltic wrote: Hello! I'm having a hard time at properly using LINK_INTERFACE_LIBRARIES. From what I understood, setting this property empty for a target avoids transitive dependencies linking. But whatever I try, it doesn't work. I have created a lib A linked agains

[CMake] How to use LINK_INTERFACE_LIBRARIES

2014-05-24 Thread Lucas Soltic
Hello! I'm having a hard time at properly using LINK_INTERFACE_LIBRARIES. >From what I understood, setting this property empty for a target avoids >transitive dependencies linking. But whatever I try, it doesn't work. I have created a lib A linked against lib B. I'm also creating an exe linked a

Re: [CMake] Installing only a library dll and not the .lib file

2014-05-24 Thread Nils Gladitz
On 24.05.2014 16:51, Rick McGuire wrote: Our project creates a number of dlls that get installed as part of the core component and also has a development library that's an optional install piece. The .lib files only get installed if the development library is selected. I'm able to get these

[CMake] Installing only a library dll and not the .lib file

2014-05-24 Thread Rick McGuire
Our project creates a number of dlls that get installed as part of the core component and also has a development library that's an optional install piece. The .lib files only get installed if the development library is selected. I'm able to get these pieces in different components by specifying t