Folks,

so CMake introduced those nice features "[CMAKE_]C_STANDARD[_REQUIRED]" etc to automatically add appropriate flags to compilers. so, while i can see there's settings for clang and gnu in Modules/Compiler/..
the Intel-* script do not define any (current cmake 3.3.1).
but the intel devzone says there are flags you can use: https://software.intel.com/en-us/articles/c99-support-in-intel-c-compiler

i ran into that problem as the "SUPERLU_DIST" package requires C99 standard, which failed to compile using intel compilers
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?

thanks!

--
Dr. Daniel Wirtz
Dipl. Math. Dipl. Inf.
SRC SimTech
Pfaffenwaldring 5a
+49 711 685 60044

--

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

Reply via email to