Hello, I am finally wanting to start using ninja with some of my windows builds. It seems the critical thing is to invoke the appropriate Vcvarsall.bat file before the cmake configuration.
Currently I am just using a ctest script with ctest_run_script to drive my dashboard nightly dashboard scripts. How can I invoke the bat file and then get a ctest command in a sub-process? Currently I have something like this: foreach( NEXT_SCRIPT IN LISTS MORE_CTEST_SCRIPTS ) message( "Starting to execute script: ${NEXT_SCRIPT}..." ) ctest_run_script( NEW_PROCESS ${NEXT_SCRIPT} ) endforeach() And I want something like the following so that the NEXT_SCRIPT with have the correct environment: foreach( NEXT_SCRIPT IN LISTS MORE_CTEST_SCRIPTS ) message( "Starting to execute script: ${NEXT_SCRIPT}...” ) NEW PROCESS RUN Vcvarsall.bat ctest_run_script( NEW_PROCESS ${NEXT_SCRIPT} ) endforeach() My googling skills are not finding a solution that is as simple as I would expect it to be. Thank you for the help with this simple question! Brad _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Kitware offers ITK Training Courses, for more information visit: http://kitware.com/products/protraining.php Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/insight-developers