Re: [CMake] CPack option naming and deb generator

2007-10-12 Thread Eric Noulard
2007/9/30, Eric Noulard [EMAIL PROTECTED]: 2007/9/29, Bill Hoffman [EMAIL PROTECTED]: I have been busy and have not had time to look at this thread. I have also not had a proper chance to look at the the generators that were added to CPack. My gut feeling is that all variables should

Re: [CMake] CPack option naming and deb generator

2007-09-30 Thread Eric Noulard
2007/9/29, Bill Hoffman [EMAIL PROTECTED]: I have been busy and have not had time to look at this thread. I have also not had a proper chance to look at the the generators that were added to CPack. My gut feeling is that all variables should stay prefixed with CPACK_. CPACK_DEBIAN_.

Re: [CMake] CPack option naming and deb generator

2007-09-29 Thread Eric Noulard
2007/9/29, Fredrik Hultin [EMAIL PROTECTED]: Setting the architecture CMakeLists.txt is a rather crude solution in [..] As mentioned earlier I changed my CPackDeb.cmake file to do this by itself instead. You are perfectly right this is the way to go for this issue. For this kind of already

Re: [CMake] CPack option naming and deb generator

2007-09-29 Thread Bill Hoffman
I have been busy and have not had time to look at this thread. I have also not had a proper chance to look at the the generators that were added to CPack. My gut feeling is that all variables should stay prefixed with CPACK_. CPACK_DEBIAN_.Keeps us from polluting the global namespace

Re: [CMake] CPack option naming and deb generator

2007-09-28 Thread Fredrik Hultin
Setting the architecture CMakeLists.txt is a rather crude solution in itself since then you'd have to manually change the architecture in that file. Sure you can make a small script that does this by executing dpkg --print-architecture, but it seems like a lot of fuzz for something that has to be

Re: [CMake] CPack option naming and deb generator

2007-09-27 Thread Eric Noulard
2007/9/26, Fredrik Hultin [EMAIL PROTECTED]: You're describing my problem all over again, if I'm not overlooking something important. If I write: SET(DEBIAN_PACKAGE_ARCHITECTURE whatever) INCLUDE(CPack) OK right. Sorry for the delayed answer I was too busy to give this a try. in my

Re: [CMake] CPack option naming and deb generator

2007-09-26 Thread Eric Noulard
2007/9/26, Fredrik Hultin [EMAIL PROTECTED]: Hi I've got a question and/or suggestion regarding CPack: How are the generator specific settings supposed to be sent to the generators? If I understand the CPack system correctly you're supposed (or at least you have the option) to write CPack

[CMake] CPack option naming and deb generator

2007-09-25 Thread Fredrik Hultin
Hi I've got a question and/or suggestion regarding CPack: How are the generator specific settings supposed to be sent to the generators? If I understand the CPack system correctly you're supposed (or at least you have the option) to write CPack settings in your CMakeLists.txt. This would be