[CMake] CPack RPM generator not using CPACK_RPM__XXX variables

2016-02-02 Thread Andrew Helten
I have the CPack RPM component packager partly working in that it creates separate RPMs for my two components (soon to be more, but two for now). However, the RPMs are not quite right because the packager completely ignores all of my CPACK_RPM__XXX variables, such as, CPACK_RPM__PACKAGE_PREFIX. The

Re: [CMake] CPack RPM generator not using CPACK_RPM__XXX variables

2016-02-03 Thread Andrew Helten
Thanks Domen! The use of original-case for in CPACK_RPM__ was indeed the problem. I never did get the CPACK_RPM_*_PACKAGE_PREFIX variable to work but I'm using a different (probably more correct) approach that gets me what I wanted. Can this use of mixed case-sensitive/all-upper-case can be c

[CMake] Variables substituted in CPack RPM component user binary specfile

2016-02-08 Thread Andrew Helten
Specifying a user binary specfile for CPack RPM packages is done like this: set(CPACK_RPM_blah_USER_BINARY_SPECFILE blah.spec.in) The documentation says the "specified file will be processed by configure_file( @ONLY)." However, exactly which variables are available for substitution? Is there a li