Zaak Beekman wrote: > Hi, > I'm pretty new to CMake/CTest, and I was wondering what the best way to > switch between compilers is when testing and building the same project with > multiple compilers. It seems deleting the CMake cache from cmake-gui > doesn't always work to switch compilers (which I am specifying with `export > CC=icc; export CXX=icpc; export FC=ifort` in my environment). It would be > great if I could have multiple build directories, one for each compiler. Is > there a good way to do this, possibly in CMakeLists.txt?
Use different binary dirs, one for each compiler. Eike --
signature.asc
Description: This is a digitally signed message part.
-- 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
