On Monday 08 September 2008, Robert Kubrick wrote: > I see. So you mean removing the cache files everytime I change the > CXX variable? > That works as far as I only use mpicxx, but if I want to run a > profiled version of my program I should be able to set a variable to > switch to mpicxx -mpe=mpianim without regenerating the Makefiles.
This is not possible. One build tree is fixed to one compiler (otherwise e.g. all the try-compile tests can be wrong). If you need different compilers, I'd suggest to create separate build trees for each one of them. Alex _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
