On Tuesday 17 May 2011 14:28:30 Yngve Inntjore Levinsen wrote: > On Tuesday 17 May 2011 14.01.00 Rolf Eike Beer wrote: > > Yngve Inntjore Levinsen wrote: > > > set(CTEST_BUILD_NAME "${osname}-${cpu}-prod") > > > message("CTEST name: ${CTEST_BUILD_NAME}") > > > > You must set the build name before including the CTest modules. > > Aha, did not know that. Tried and now it works very well (using BUILDNAME > and not CTEST_BUILD_NAME), thanks a bunch! > > > The compiler version is always unknown as this information is not > > transferred (properly) in the XML to CDash. See > > http://www.cmake.org/Bug/view.php?id=7867 > > Oh well then we just have to wait for the bug to be fixed I guess...
I use the ctest build name to put all information about the host system and compiler in there. E.g. it looks like this: "master Description: openSUSE 11.3 (x86_64) x86_64 g++ (GCC) 4.6.1 20110429 (prerelease)" So basically "<git branch> <lsb_release -b> <uname -m> <g++ --version|head - n1> <CXXFLAGS>". Cheers, Matthias -- ________________________________________________________ Matthias Kretz (Germany) <>< http://kretzfamily.de/ _______________________________________________ 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