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.
On Sep 8, 2008, at 5:26 PM, Alexander Neundorf wrote:
On Monday 08 September 2008, Robert Kubrick wrote:
Nope. I removed the force compiler lines from CMakeLists.txt and set
CXX to mpicxx but the Makefile invokes g++.
Did you remove CMakeCache.txt, i.e. start with a fresh build tree ?
Otherwise the compiler won't be changed.
Alex
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake