> > How did you test these? For full testing we need the CMake test >> suite to pass with the Intel compilers. In particular, tests with >> 'CompileFeatures' in their name cover this functionality. > > > I was able to build and use (or not use as appropriately) C++11 and C++14 > for a given project I already have. What is the proper way to do run the > test suite for a given compiler? >
I ran this: CC=icc CXX=icpc ctest -j 12 -R CompileFeatures --verbose Here is the tail end of the results: The following tests passed: CompileFeatures RunCMake.CompileFeatures 100% tests passed, 0 tests failed out of 2 Total Test time (real) = 1130.73 sec However, it unclear based on the output if the CC and CXX defines did anything. Is this the correct way to switch compilers when running the tests?
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers