[cmake-developers] Generator Expressions in CPack (Module) variables

Gregor Jasny gjasny at googlemail.com
Fri Apr 24 14:55:32 EDT 2015


Hello,

would it be possible to add generator expression support to CPack
so that I can use $<CONFIG> within CPACK_PACKAGE_FILE_NAME? I'm
using the CPack module from within my CMakeLists.txt.

I'm trying to generate unique file names per architecture and
configuration but multi config generators like Xcode make this
harder than expected.

Before digging into that topic I'd like to know if this would be
a dead end.

Thanks,
Gregor

PS: Currently I'm appending a random 5 character string.


More information about the cmake-developers mailing list