Re: [CMake] Re - How can I change the compiler?

2009-11-22 Thread Taesoo Kwon
0 > > echo CC=$CC > echo CXX=$CXX > > #echo rm CMakeCache.txt > rm CMakeCache.txt > ccmake ~/lbm/source/patch2d/testcases/serial/. > - > > Best SirAnn > > > Von: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] Im Auftrag > von Taesoo Kwon > Ge

[CMake] How can I change the compiler?

2009-11-22 Thread Taesoo Kwon
I am sorry that this should be an recurring question. But I wasn't able to find any working solution after hours of search. What I tried is as follows: /root/CMakeLists.txt set(CMAKE_CXX_COMPILER mpic++) set(CMAKE_C_COMPILER mpicc) project (taesoo_cmu) add_subdirectory(BaseLib) add_subdirecto