<div dir="ltr">Hi,<div>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?</div>
<div><br></div><div>Thanks,<br clear="all"><div>Izaak Beekman<br>===================================<br>(301)244-9367<br>Princeton University Doctoral Candidate<br>Mechanical and Aerospace Engineering<br><a href="mailto:ibeekman@princeton.edu" target="_blank">ibeekman@princeton.edu</a><br>
<br>UMD-CP Visiting Graduate Student<br>Aerospace Engineering<br><a href="mailto:ibeekman@umiacs.umd.edu" target="_blank">ibeekman@umiacs.umd.edu</a><br><a href="mailto:ibeekman@umd.edu" target="_blank">ibeekman@umd.edu</a></div>
</div></div>