opm-simulators/cmake
Roland Kaufmann 52a36f77fa Recognize Clang to be a GCC-compatible compiler
Clang aims to be compatible with GCC when it comes to command-line
parameters. Where we enable functionality based on the presence of
a GCC-compiler, we can use the same functionality with Clang.

This patch introduces a new variable CXX_COMPAT_GCC which is true if
the compiler handles the same options as GCC, and this variable is
subsequently used in tests instead of CMAKE_COMPILER_IS_GNUCXX (which
remains if we need to test if we really have GCC, e.g. for version)
2013-08-14 23:39:05 +02:00
..
Modules Recognize Clang to be a GCC-compatible compiler 2013-08-14 23:39:05 +02:00
Scripts Enable support for Ninja build generator 2013-08-14 23:39:05 +02:00
Templates Only include library if there is one 2013-08-14 23:39:05 +02:00