2011/2/21 Michael Wild <them...@gmail.com>: >>> Do you know such a call can be configured? >>> for example: >>> export MYVARIABVLE=test; cd dir; compiler_call >> >> I don't think there is an easy way to do that from within CMake. >> You would need some way to set env var "before" launching the compile rule >> the only way I see would be to craft a compile script for each case. >> >> > > You could experiment with the RULE_LAUNCH_COMPILE and RULE_LAUNCH_LINK > properties... However, that would only work for Makefile-based generators.
I didn't even know those properties existed :-] Thank you Michael. -- Erk Membre de l'April - « promouvoir et défendre le logiciel libre » - http://www.april.org _______________________________________________ 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