message(SEND_ERROR "Building in the source directory is not supported.")
message(FATAL_ERROR "Please remove the created \"CMakeCache.txt\" file, the \"CMakeFiles\" directory and create a build directory and call \"${CMAKE_COMMAND} <path to the sources>\".")
# Skip unused parameters as it has to be used for the documentation via doxygen and the interfaces
set( COMPILER_WARNINGS "-W""-Wall""-Wno-unused""-Wextra""-Wno-non-virtual-dtor""-Wno-unused-parameter""-Wno-variadic-macros" CACHE STRINGLIST "This list contains the warning flags used during compilation ")
set( COMPILER_WARNINGS "-W""-Wall""-Wextra""-Wno-non-virtual-dtor""-Wno-unused-parameter""-Wno-variadic-macros" CACHE STRINGLIST "This list contains the warning flags used during compilation ")
ELSEIF( CMAKE_SYSTEM MATCHES "SunOS*")
set( COMPILER_WARNINGS "" CACHE STRINGLIST "This list contains the warning flags used during compilation ")
ELSE()
set( COMPILER_WARNINGS "-W""-Wall""-Wno-unused""-Wextra""-Wno-variadic-macros" CACHE STRINGLIST "This list contains the warning flags used during compilation ")