On 09/15/2015 05:53 AM, Daniel Wirtz wrote: > because cmake did not add the "-std=c99" c flags. > so has that simply not come up yet or is there a reason cmake does not > add those flags for intel?
The necessary tables of information have simply not been filled out for the Intel compiler. No one has stepped forward to do it so far, and it requires non-trivial research and testing. One must construct a table of what versions of Intel support what standards, and what the corresponding -std= flags are. There also need to be tables of which features: http://www.cmake.org/cmake/help/v3.3/prop_gbl/CMAKE_C_KNOWN_FEATURES.html http://www.cmake.org/cmake/help/v3.3/prop_gbl/CMAKE_CXX_KNOWN_FEATURES.html are supported by each version of the compiler. These are encoded as preprocessor conditional test fragments. See Modules/Compiler/GNU-CXX-FeatureTests.cmake for an example. -Brad -- 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
