[cmake-developers] Preferred variable retrieval within Cpack generator.

Schwartz, Philip Marc (RIS-BCT) Philip.Schwartz at lexisnexis.com
Sat Mar 10 09:51:39 EST 2012


What is the preferred method of variable retrieval and/pr parameter passing in the cpack generator structure. I have seen a mixture of passing values into functions and also using GetOption to obtain the wanted value.

I am currently looking at adding new functionality to allow for better control of package naming when working with generation of packages. This will include using a variable template for creation of the naming schema to be used. Currently I am allowing the package specific generator to build a map of the parameters for naming and pass the map into the function GetComponentPackageFileName. This will allow for the specific generator to control the values, but I am not sure if it is more efficient to use GetOption directly in the function.

What are the thoughts of the other developers working on CMake and CPack?


Thank You,
Philip Schwartz
Senior Software Engineer
LexisNexis RIAG
O - 561 999 4472
C - 954 290 4024

-----------------------------------------
The information contained in this e-mail message is intended only
for the personal and confidential use of the recipient(s) named
above. This message may be an attorney-client communication and/or
work product and as such is privileged and confidential. If the
reader of this message is not the intended recipient or an agent
responsible for delivering it to the intended recipient, you are
hereby notified that you have received this document in error and
that any review, dissemination, distribution, or copying of this
message is strictly prohibited. If you have received this
communication in error, please notify us immediately by e-mail, and
delete the original message.



More information about the cmake-developers mailing list