[CMake] Use CMAKE_MACOSX_RPATH to link a library outside build tree

2015-08-22 Thread Oleg Zhylin via CMake
Hi All, I still need help with 0015708: Use CMAKE_MACOSX_RPATH to link a library outside build tree - MantisBT. Could you please suggest are there any CMake mechanisms to ensure a library outside build tree on mac is linked with either @rpath and using hard-coded path on build machine? Either op

Re: [CMake] How to depend on external cmake projects?

2015-08-22 Thread Robert Dailey
On Mon, Aug 17, 2015 at 10:17 AM, James Johnston wrote: > Well, you'd do this in conjunction with ExternalProject_Add. A well-written > CMake external project will provide a Config.cmake file which you > will then find using find_package. After toying around with this idea for a bit, I've found

Re: [CMake] CMake and Visual Studio multiconfig solution

2015-08-22 Thread Mauro Ziliani
Oh Yes I mean DEBUG_POSTFIX. DEBUG_POSTFIX? http://www.cmake.org/cmake/help/v3.3/prop_tgt/DEBUG_POSTFIX.html On Sat, Aug 22, 2015 at 12:11 PM, Mauro Ziliani wrote: > Hi all. > My name is mauro and i am a freelance programmer and I work different > platforms: windows and Linux. > I'm trying cmake

Re: [CMake] CMake and Visual Studio multiconfig solution

2015-08-22 Thread Iosif Neitzke
DEBUG_POSTFIX? http://www.cmake.org/cmake/help/v3.3/prop_tgt/DEBUG_POSTFIX.html On Sat, Aug 22, 2015 at 12:11 PM, Mauro Ziliani wrote: > Hi all. > My name is mauro and i am a freelance programmer and I work different > platforms: windows and Linux. > I'm trying cmake 3.3.1 and I am in trouble to

[CMake] CMake and Visual Studio multiconfig solution

2015-08-22 Thread Mauro Ziliani
Hi all. My name is mauro and i am a freelance programmer and I work different platforms: windows and Linux. I'm trying cmake 3.3.1 and I am in trouble to do this. I need to compile my app with visual studio and achieve the follow behavior. If I compile the app in debug configuration I need to appe