mirror of
https://gitea.windcorp.ru/Wind-Corporation/Progressia.git
synced 2025-12-16 15:28:36 +03:00
TMP / Improved build tools layout
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user