From 8297f16ae21d668dcb5e5e819647a655bcde7568 Mon Sep 17 00:00:00 2001 From: AnyOldName3 Date: Thu, 19 Dec 2024 15:27:51 +0000 Subject: [PATCH] Update and alphabetise install exclude paths --- CMakeLists.txt | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 728ba2ef22..7954a852a3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -945,23 +945,39 @@ elseif(NOT APPLE) if(WIN32) INSTALL(DIRECTORY "${INSTALL_SOURCE}/" DESTINATION "." FILES_MATCHING PATTERN "*.dll" - PATTERN "deps" EXCLUDE + PATTERN ".cmake" EXCLUDE + PATTERN ".qt" EXCLUDE + PATTERN "_deps" EXCLUDE PATTERN "apps" EXCLUDE + PATTERN "bin" EXCLUDE PATTERN "CMakeFiles" EXCLUDE PATTERN "components" EXCLUDE + PATTERN "deps" EXCLUDE PATTERN "docs" EXCLUDE PATTERN "extern" EXCLUDE PATTERN "files" EXCLUDE - PATTERN "Testing" EXCLUDE) + PATTERN "lib" EXCLUDE + PATTERN "SymStore" EXCLUDE + PATTERN "symstore-venv" EXCLUDE + PATTERN "Testing" EXCLUDE + PATTERN "try-compile") INSTALL(DIRECTORY "${INSTALL_SOURCE}/" DESTINATION "." CONFIGURATIONS Debug;RelWithDebInfo FILES_MATCHING PATTERN "*.pdb" - PATTERN "deps" EXCLUDE + PATTERN ".cmake" EXCLUDE + PATTERN ".qt" EXCLUDE + PATTERN "_deps" EXCLUDE PATTERN "apps" EXCLUDE + PATTERN "bin" EXCLUDE PATTERN "CMakeFiles" EXCLUDE PATTERN "components" EXCLUDE + PATTERN "deps" EXCLUDE PATTERN "docs" EXCLUDE PATTERN "extern" EXCLUDE PATTERN "files" EXCLUDE - PATTERN "Testing" EXCLUDE) + PATTERN "lib" EXCLUDE + PATTERN "SymStore" EXCLUDE + PATTERN "symstore-venv" EXCLUDE + PATTERN "Testing" EXCLUDE + PATTERN "try-compile") INSTALL(FILES "${INSTALL_SOURCE}/openmw.cfg.install" DESTINATION "." RENAME "openmw.cfg") INSTALL(FILES "${OpenMW_SOURCE_DIR}/CHANGELOG.md" DESTINATION "." RENAME "CHANGELOG.txt") INSTALL(FILES "${OpenMW_SOURCE_DIR}/README.md" DESTINATION "." RENAME "README.txt")