QSP patch/activator (Review Request 126125: [OS X] make KDE's trash use the OS X trash)

Alex Merry alex.merry at kde.org
Sun Nov 29 10:22:54 UTC 2015


On 2015-11-28 21:53, René J. V.  Bertin wrote:
> BTW, not that it's already being used, but is 
> CMAKE_EXE_LINKER_FLAGS_INIT
> incremental or does one have to accumulate all elements first and use a 
> single -
> DCMAKE_EXE_LINKER_FLAGS_INIT=XX argument?

CMAKE_EXE_LINKER_FLAGS_INIT is a bit special. You have to specify it on 
the first CMake run you do for a project (ie: before the CMakeCache.txt 
file has been created), and whatever you put in it will be added to 
whatever default value for CMAKE_EXE_LINKER_FLAGS that CMake comes up 
with (which I believe is just the contents of the LDFLAGS env var when 
compiling with Clang or GCC). After that, it will be ignored, and you'll 
want to modify CMAKE_EXE_LINKER_FLAGS directly.

Note that what I said above only applies to setting this variable on the 
command line, not to setting it from within CMake code (when you'll just 
want to append to CMAKE_EXE_LINKER_FLAGS).

I'm not sure what you mean by "incremental", though. All CMake variables 
overwrite their previous values when you set them, so you have to 
explicitly include the old value when you set them, and you can't really 
do this from the command line.

Alex


More information about the Kde-frameworks-devel mailing list