TMP / Improved build tools layout

This commit is contained in:
2023-04-01 23:19:07 +02:00
parent 310724a207
commit 553916f8c1
6 changed files with 10 additions and 20 deletions

View File

@@ -28,7 +28,7 @@ file(MAKE_DIRECTORY "${generated}")
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/tools/")
include(embed/embed)
include(glslc)
include(clang-tidy/clang-tidy)
include(dev-mode)
# Source files
target_sources(progressia PRIVATE
@@ -104,7 +104,7 @@ if (WIN32 AND NOT BUILD_ID STREQUAL "dev")
target_link_options(progressia PRIVATE -static-libstdc++ -static-libgcc)
elseif (compiler_cl_dialect STREQUAL "MSVC")
target_link_options(progressia PRIVATE /entry:mainCRTStartup)
# The static linking options for standard libraries are not available for MSVC when using a GPLv3 license,
# as statically linking the standard C/C++ libraries would be a violation of the GPLv3 license.
# The GPL requires that any derivative work that includes GPL-licensed code must also be licensed under the GPL,
@@ -116,7 +116,7 @@ if (WIN32 AND NOT BUILD_ID STREQUAL "dev")
# Yours faithfully,
# ChatGPT
message(WARNING "Release builds with MSVC/Clang-CL are not supported")
endif()
endif()