>> Maybe you can base the package name by testing the generator name. > > I need to do that to e.g. get a useful build naming in CTest scripts. At > that point CMAKE_SIZEOF_VOID_P is not available anyway. And I think that > using this is just a bad idea. How do you decide if it's IA64 or AMD64?
[...] And if you are inside the build you have also CMAKE_CL_64. At least when using NMake. IIRC it is not set when using the Visual Studio Generators so you are back to the previously posted solution. Eike _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
