EuropaTools/cmake/CompilerFlags.cmake

19 lines
526 B
CMake
Raw Permalink Normal View History

#
# EuropaTools
#
# (C) 2021-2025 modeco80 <lily.modeco80@protonmail.ch>
#
# SPDX-License-Identifier: MIT
#
# Core compile arguments used for the whole project
#
# This is the driver, we include compiler/platform specific files here
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
include(CompilerFlags-GNU)
else()
message(WARNING "Unsupported (for now?) compiler ${CMAKE_CXX_COMPILER_ID}. Configuration will continue,"
"however this configuration may break at any time.")
endif()