Tag: C

C is a general-purpose, procedural programming language known for its efficiency, portability, and close-to-the-hardware capabilities, widely used in system and application development.

  • How to set C, C++ or Fortran compiler for CMake

    By

    in ,

    To use a different compiler (e.g. Intel Compiler, CLANG or PGI) or a different version then CMake uses by default, one can either set environment variables or modify the CMakeLists.txt file. CMake evaluates the environment variables CC for the C compiler, CXX for the C++ compiler and FC for the Fortran compiler: For a more…

    Read more