[CMake] Ctest + Post command

2008-11-12 Thread Alexander.Camek
Hi list, I have got here a script which is invoked by cron job. During that all will be checked out and compiled, tested and uploaded to Cdash server. What I want to do now is to add a post command to my script so that I can run a profiling tool. Additionally I want to use in the post script als

Re: [CMake] Ctest + Post command

2008-11-12 Thread David Cole
What does the script that you run by cron look like? Is it a declarative(/old-style) ctest script or a command-based(/new-style) ctest script?Or something else? In a command-based ctest script (one that uses CTEST_BUILD(), CTEST_TEST() and CTEST_SUBMIT(), for example) you could add EXECUTE_PROCESS

Re: [CMake] Ctest + Post command

2008-11-12 Thread Alexander.Camek
Hi David, > David Cole wrote: > > What does the script that you run by cron look like? > Is it a declarative(/old-style) ctest script or a > command-based(/new-style) ctest script? > Or something else? It is an old-styled one. Do I need something special to use the new-style? > In a declarati

Re: [CMake] Ctest + Post command

2008-11-12 Thread David Cole
On Wed, Nov 12, 2008 at 11:02 AM, <[EMAIL PROTECTED]> wrote: > > So when I have something like: > SET(CTEST_COMMAND "ctest -D Nightly" "FOO") > First the ctest will be run (here a nightly build) and after that FOO. > Correct. ___ CMake mailing list CMak