EuropaTools/cmake/CompilerFlags.cmake
modeco80 f5d03cfdeb *: "Support" MSVC
For Windows builds of EuropaTools. For now I'm using MSVC since clang completely barfs.
2025-01-17 20:25:34 -05:00

18 lines
526 B
CMake

#
# 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()