Re: [CMake] Per build configuration variables

2015-09-01 Thread Sergiu Dotenco
On 8/31/2015 1:11 AM, Sergiu Dotenco wrote: > I would like to pass different library directories to fixup_bundle, > depending what configuration is currently active. Right now, I define a > cache variable consisting of DLL directories: > > set (RUNTIME_LIBRARY_DIRS "C:/Foo/Re

[CMake] Per build configuration variables

2015-08-30 Thread Sergiu Dotenco
I would like to pass different library directories to fixup_bundle, depending what configuration is currently active. Right now, I define a cache variable consisting of DLL directories: set (RUNTIME_LIBRARY_DIRS "C:/Foo/Release/bin;..." CACHE STRING "") This is problematic, since for a different

Re: [CMake] Windows 8 native app generator.

2012-09-06 Thread Sergiu Dotenco
On 9/6/2012 5:00 PM, J Decker wrote: > winrt apps are written in C#/WPF Not sure what are you trying to say, but Metro style applications can also be written in C++. See http://msdn.microsoft.com/en-us/library/hh875012 for instance. > On Thu, Sep 6, 2012 at 6:47 AM, Martell wrote: >> Hi guys, >>

Re: [CMake] GENERATE_EXPORT_HEADER

2012-09-05 Thread Sergiu Dotenco
On 9/5/2012 3:52 PM, Micha Renner wrote: > For static libraries the macro GENERATE_EXPORT_HEADER produce an output > like this one: > > ... > #else > # ifndef CTEST_EXPORT > #ifdef cTest_EXPORTS > /* We are building this library */ > # define CTEST_EXPORT > #else > /

Re: [CMake] apply for maintainer of FindOpenCL.cmake

2012-02-24 Thread Sergiu Dotenco
On 24.02.2012 11:11, Daniel Dekkers wrote: > It would be nice to have an OpenCL find module. But it should include easy > access to the Intel and NVIDIA libraries as well, I think, not just AMD. And > what about the different OpenCL versions? And does it work on Mac OS as well? > Finding the Ope

Re: [CMake] OpenCL Module?

2011-09-15 Thread Sergiu Dotenco
Am 29.08.2011 15:44, schrieb Michael Jackson: > Does anyone have an "FindOpenCL.cmake" file that they would like to share? > ___ > Mike Jackson www.bluequartz.net > Principal Software Engineer mike.jack...@bluequartz

Re: [CMake] How do I select a different lib based on the configuration of the consuming project?

2011-07-08 Thread Sergiu Dotenco
Am 08.07.2011 23:57, schrieb Benjamin Lindley: > I made a library named Zik. I compiled it in both release and debug > mode in Visual Studio, then installed it like this: > > Zik > |--source > |--build > +--distribution >|--include >+--bin > +--Visual Studio 10 > |--Zik.lib

Re: [CMake] problems (again) finding boost on Windows MSVC 64 bit

2011-07-08 Thread Sergiu Dotenco
Am 08.07.2011 16:53, schrieb Dominik Szczerba: > Hi, > > Anytime I touch boost, cmake (2.8.4) fails to find it. Why is it so fragile? > > This time it would not find boost static build while it would find a > shared one (the last time it was the exact opposite). > I am quite overwhelmed by the re