On Fri, Apr 30, 2010 at 11:16 AM, Kārlis Repsons <k...@11.lv> wrote:
Good day in here, I was trying to figure out how should CMake be used to automate building, which can happen on two or more platforms with some 4 compilers to be used in total, and should store the results in file tree like $platform/$compiler or $platform/$compilerEnvironment. Could you please suggest me how should it be done? Some example?
I use one ctest script per compiler+platform. Eg: Using gcc-snapshot: http://public.kitware.com/cgi-bin/viewcvs.cgi/zorglub_gdcm2_gcc_snap.cmake?root=DashboardScripts&view=markup Using gcc-4.3: http://public.kitware.com/cgi-bin/viewcvs.cgi/zorglub_gdcm2_gcc43.cmake?root=DashboardScripts&view=markup Using ctest scripting makes sure your test script is portable and is specifically tailored to calling cmake. HTH -- Mathieu
signature.asc
Description: OpenPGP digital signature
_______________________________________________ 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