Re: [CMake] still having rpath problems on osxZ

2015-12-31 Thread clinton
- On Dec 31, 2015, at 1:41 AM, Boudewijn Rempt b...@valdyas.org wrote: > I think I've finally figured out why I didn't get the results the cmake > documentation suggested I should be getting... It's the extra-cmake-modules > that I use, Krita being a KDE application. With these settings: >

Re: [CMake] How to include config.h.in in VS project

2015-12-31 Thread Roman Wüger
Hi, You must add those sources to add_executable/add_library as well. Wish you a happy new year. Best regards Roman > Am 29.12.2015 um 09:53 schrieb Mauro Ziliani : > > Hi all. > I'm using CMake 3.4.1 for my projects. > I'm working with Visual studio 10 2010 express and wxFormBuilder > I'd l

Re: [CMake] Cannot set FOLDER property to an interface (header-only) target

2015-12-31 Thread Nils Gladitz
On 31.12.2015 14:19, David Cole via CMake wrote: I can't think of a reason why we would not whitelist the FOLDER property... Unless somebody else chimes in with one, perhaps you could submit a proposed patch to whitelist it? As far as I remember INTERFACE libraries don't generate visual studio

Re: [CMake] Cannot set FOLDER property to an interface (header-only) target

2015-12-31 Thread David Cole via CMake
I can't think of a reason why we would not whitelist the FOLDER property... Unless somebody else chimes in with one, perhaps you could submit a proposed patch to whitelist it? D On Wednesday, December 30, 2015, Klaim - Joël Lamotte wrote: > The following CMake script: > > cmake_minimum_re

Re: [CMake] still having rpath problems on osxZ

2015-12-31 Thread Boudewijn Rempt
Oh, and for reference, it's this code block: # RPATH handling ## if(NOT KDE_SKIP_RPATH_SETTINGS) # Set the default RPATH to point to useful locations, namely where the # libraries will be installed and the linker search path if(NOT LIB_I

Re: [CMake] still having rpath problems on osxZ

2015-12-31 Thread Boudewijn Rempt
I think I've finally figured out why I didn't get the results the cmake documentation suggested I should be getting... It's the extra-cmake-modules that I use, Krita being a KDE application. With these settings: set(KDE_SKIP_RPATH_SETTINGS 1) set(CMAKE_MACOSX_RPATH 1) set(BUILD_WITH