[CMake] Using generator expressions with set_target_properties
Patrick Griffiths
patrick.griffiths at gmail.com
Thu Jun 25 16:43:43 EDT 2015
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:$<TARGET_FILE_DIR:target>/stripped/$<TARGET_FILE_NAME:target>.pdb")
Unfortunately the generator expressions aren't being expanded.
Any suggestions on how I might accomplish this in a reasonable way?
Thanks
Patrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150625/428106f6/attachment.html>
More information about the CMake
mailing list