On 23/03/2012 09:10, Mike Krus wrote:
Technically, that command could run when CMake is invoked (ie before any build invocation). In that case, if the generator is Visual Studio, I would simple run the script twice, once with parameters compatible for debug, once for release... Is there a way to do that?
answering my own question: execute_process is my new friend...
-- Mike Krus (PhD) - Principal Software Engineer Midland Valley Exploration 144 West George Street Glasgow G2 2HG, UK Tel: +44 141 332 2681 Fax: +44 141 332 6792 -- 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