Re: [CMake] Using generator expressions with set_target_properties

2015-06-30 Thread Stephen Kelly
Stephen Kelly wrote: >> Any suggestions on how I might accomplish this in a reasonable way? > > Add the flag with target_link_libraries instead. Ah, I see you tried that, sorry for the noise. Thanks, Steve. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake F

Re: [CMake] Using generator expressions with set_target_properties

2015-06-30 Thread Stephen Kelly
Patrick Griffiths wrote: > I'm trying to add the /PDBSTRIPPED option LINK_FLAGS_RELWITHDEBINFO config > (Visual Studio generator, obviously): > > set_target_properties(target PROPERTIES > LINK_FLAGS_RELWITHDEBINFO > > "/PDBSTRIPPED: $/stripped/$.pdb") > > Unfortunately the generator expressio

[CMake] Using generator expressions with set_target_properties

2015-06-25 Thread Patrick Griffiths
I'm trying to add the /PDBSTRIPPED option LINK_FLAGS_RELWITHDEBINFO config (Visual Studio generator, obviously): set_target_properties(target PROPERTIES LINK_FLAGS_RELWITHDEBINFO "/PDBSTRIPPED:$/stripped/$.pdb") Unfortunately the generator expressions aren't being expanded. Any suggestions on