79 Commits
Author SHA1 Message Date
Mikaël Capelle 8287612282 Re-run pip install on failure. (#47) 2026-06-06 09:27:43 +02:00
Mikaël Capelle 49ec9e1223 Find exact (minor) version of Python. (#40) 2025-07-12 14:57:51 +02:00
Mikaël Capelle ec11e37488 Default CXX_STANDARD to C++23. (#39) 2025-06-25 20:21:22 +02:00
Mikaël Capelle e7c4285952 Add pre-commit hook. (#38) 2025-05-29 11:20:20 +02:00
Mikaël Capelle 4c9420b74e Move to VCPKG (#34) 2025-05-29 10:54:03 +02:00
Mikaël Capelle caa8032d7b Move QtWebEngineProcess.exe from dlls to root directory when deploying. (#37) 2025-05-22 18:29:22 +02:00
Mikaël Capelle 8abcb29e08 Add DirectXTex target. (#31)
* Add DirectXTex target.
* Link DirectXTex to libbsarch.
2024-07-01 17:20:50 +02:00
Mikaël Capelle 198c72de90 Make Qt, Boost and spdlog includes system to avoid warnings. (#32) 2024-06-29 17:40:07 +02:00
Mikaël Capelle 16cfcd91ce Improve mo2_configure_tests to make running tests easier. (#30) 2024-06-22 08:27:35 +02:00
Mikaël Capelle 7deea3d224 Add compile definition to make spdlog use std::format. (#29) 2024-06-21 07:56:31 +02:00
Mikaël Capelle c708d28f22 Use Python debug executable when needed. (#28) 2024-06-14 16:14:11 +02:00
Mikaël Capelle 2aef568a68 Merge pull request #27 from ModOrganizer2/dev/ignore-pycache-install
Exclude __pycache__ when shipping third-party libraries.
2024-06-02 13:24:27 +02:00
Mikaël Capelle c20a072db2 Exclude __pycache__ when shipping third-party libraries. 2024-06-02 13:24:10 +02:00
Mikaël Capelle fcffb6e2ca Merge pull request #26 from ModOrganizer2/dev/stdformat
Remove dependencies to fmt.
2024-05-25 13:19:42 +02:00
Mikaël Capelle 0640ca161a Remove dependencies to fmt. 2024-05-25 13:19:28 +02:00
Mikaël Capelle 84744540a1 Merge pull request #25 from ModOrganizer2/dev/deps-upgrade-20240518
Fix libloot path after upgrade.
2024-05-25 13:15:46 +02:00
Mikaël Capelle a95beb8487 Fix libloot path after upgrade. 2024-05-18 19:09:33 +02:00
Mikaël Capelle 46fe31997a Merge pull request #23 from ModOrganizer2/libloot_0_21
Change cpptoml to toml++ for libloot update
2023-09-18 19:54:32 +02:00
Mikaël Capelle 301d650a26 Merge pull request #22 from ModOrganizer2/fix/cmake-cmp0144
Set CMP0144 policy only if present.
2023-09-12 09:00:31 +02:00
Mikaël Capelle ccf7205636 Set CMP0144 policy only if present. 2023-09-12 08:59:00 +02:00
Mikaël Capelle 37af1d3ef3 Add missing parameters to hopefully make this 3.22 compatible. 2022-05-13 20:32:18 +02:00
Mikaël Capelle 311ad556b1 Remove unecessary files after Qt deploy. 2022-05-08 14:02:17 +02:00
Mikaël Capelle 7ee5a94190 Better detection of output name for folder plugins. 2022-05-06 17:30:16 +02:00
Mikaël Capelle 2b053ad672 Add option for external warning to configure_target(). 2022-05-05 22:20:10 +02:00
Mikaël Capelle 239d8e3b7a Allow more flexibility for warning levels. 2022-05-05 21:46:09 +02:00
Mikaël Capelle 2fce791d2f Fix lupdate for C++ project. 2022-05-05 21:00:45 +02:00
Mikaël Capelle 70e4aa6c4f Fix translations for Python plugins. 2022-05-03 08:35:12 +02:00
Mikaël Capelle 4ddf88707e Add extra include to Python module install. 2022-05-02 21:01:02 +02:00
Mikaël Capelle 9f26a99039 Fix python plugin requirements install. 2022-05-02 16:13:07 +02:00
Mikaël Capelle 999392e0c3 Fix issue with target type. 2022-05-02 15:46:00 +02:00
Mikaël Capelle d09ce1e8f3 Improve mo2_configure_tests. 2022-05-02 14:53:20 +02:00
Mikaël Capelle cc5663fe96 Documentation and cleaning. 2022-05-02 14:33:57 +02:00
Mikaël Capelle 2dcfb74662 Add Python dependencies (pip) functions. 2022-05-02 13:53:09 +02:00
Mikaël Capelle 54dce7e657 Fix mo2_configure_tests. 2022-05-02 13:52:55 +02:00
Mikaël Capelle 0c96e2cc21 Create libdir for Python if it does not exists to avoid fail install. 2022-04-28 18:26:45 +02:00
Mikaël Capelle 9984040eaf Remove old include. 2022-04-28 18:06:39 +02:00
Mikaël Capelle a39875eb7e Merge branch 'update-cmake-common-qt6' into qt6 2022-04-28 17:59:15 +02:00
Mikaël Capelle 3bfb179993 Remove old CMake files. 2022-04-28 17:59:00 +02:00
Mikaël Capelle d87c5516a3 Merge pull request #19 from ModOrganizer2/update-cmake-common-qt6
Update cmake common qt6
2022-04-28 17:53:34 +02:00
Mikaël Capelle 7dd6a440fb Add SOURCE_TREE option to plugins. 2022-04-28 17:53:25 +02:00
Mikaël Capelle 4e84650c90 Fix cpptoml dependency. 2022-04-21 20:09:10 +02:00
Mikaël Capelle f872c10122 Fix mo2_qt_deploy(). 2022-04-21 19:55:12 +02:00
Mikaël Capelle cef8846879 Fix python plugin requirements. 2022-04-21 19:45:49 +02:00
Mikaël Capelle 82017d8a1a Common code for translations. Do not generate/install qm files. 2022-04-21 18:57:24 +02:00
Mikaël Capelle ce93e6dfe7 Fix issue with translations. 2022-04-20 00:30:40 +02:00
Mikaël Capelle 9e058957e9 Minor fixes. 2022-04-19 23:31:34 +02:00
Mikaël Capelle e95d8308fa Fix many things with translations in Python. 2022-04-19 22:45:32 +02:00
Mikaël Capelle cf412fb7db Set default project to first creted target in project. Cleaner way to run from executable. 2022-04-19 22:02:39 +02:00
Mikaël Capelle 2c85aef1e8 Fix issues with Qt translations and Nuget projects. Fix issues with latest Boost. 2022-04-19 22:02:16 +02:00
Mikaël Capelle cdde5cd261 Add PyQt5 translations back to check. 2022-04-18 22:48:08 +02:00
Mikaël Capelle fbe27b12bc Add many source_group to Python stuff. 2022-04-18 22:31:46 +02:00
Mikaël Capelle f82118fcc1 Small updates. 2022-04-18 22:31:46 +02:00
Mikaël Capelle 10ed2979fe Use CONFIGURE_DEPENDS for GLOB pattern. 2022-04-18 22:31:46 +02:00
Mikaël Capelle e7635d3a09 Multiple updates. 2022-04-18 22:31:40 +02:00
Mikaël Capelle f44bb5a2e1 Fix generation of rc files in Python. 2022-04-18 22:29:15 +02:00
Mikaël Capelle 0528473935 Fix mo2_deploy_qt(). 2022-04-18 22:29:15 +02:00
Mikaël Capelle 65c0affc18 Add lootcli and usvfs libraries. Fix zlib. 2022-04-18 22:29:15 +02:00
Mikaël Capelle b4b6b20065 Install qm files. 2022-04-18 22:29:15 +02:00
Mikaël Capelle 542874a74a Add deploy_qt function and some fixes. 2022-04-18 22:29:15 +02:00
Mikaël Capelle 9e7ade8d71 Add ELEVATED option to executable. 2022-04-18 22:29:15 +02:00
Mikaël Capelle 59c90ece6d Add Dbghelp for all cmake target. Add gamebryo and creation dependencies. 2022-04-18 22:29:15 +02:00
Mikaël Capelle 1c1928fdb2 Use target_compile_options instead of COMPILE_FLAGS for C++ target. 2022-04-18 22:29:15 +02:00
Mikaël Capelle 7615da29eb Many fixes for Python plugins. 2022-04-18 22:29:15 +02:00
Mikaël Capelle dcb52867f2 Do not generate translations (by default) for libraries. 2022-04-18 22:29:15 +02:00
Mikaël Capelle 122f2e4469 Fix generation of translations. 2022-04-18 22:29:15 +02:00
Mikaël Capelle a64f72f2c3 Continue updates. 2022-04-18 22:29:15 +02:00
Mikaël Capelle b300360e1a Start working on new cmake_common. 2022-04-18 22:29:15 +02:00
Mikaël Capelle 39aae6fb01 Merge pull request #14 from Holt59/python-module-improvements
Fix pip installation for Python module.
2020-11-25 18:19:47 +01:00
Mikaël Capelle 012f121688 Fix pip installation for Python module. 2020-11-25 18:18:43 +01:00
Mikaël Capelle bd2f743455 Merge pull request #13 from Holt59/python-module-improvements
Improve Python module installation.
2020-11-25 17:42:28 +01:00
Mikaël Capelle 630e5cc93f Improve Python module installation. 2020-11-23 10:58:17 +01:00
Mikaël Capelle 92c9f1063c Remove unused function and log message. 2020-11-06 21:22:24 +01:00
Mikaël Capelle b73622646b Add new project type for python module. 2020-11-06 21:19:46 +01:00
Mikaël Capelle 26986335fd Allow any kind of executable file in set_project_to_run_from_install. 2020-05-22 21:10:38 +02:00
Mikaël Capelle b5e1e02d11 Use the same set_project_to_run function for exe, dll and plugin projects. 2020-05-22 21:00:41 +02:00
Mikaël Capelle a42388ed6a Move common code to functions.cmake. 2020-05-22 20:34:46 +02:00
Mikaël Capelle fc6f4fbfba Have plugin projects run ModORganizer.exe from install. 2020-05-22 20:32:39 +02:00
Mikaël Capelle 985d603687 Have DLL project run ModOrganizer.exe from install by default for debugging. 2020-05-20 16:55:25 +02:00
Mikaël Capelle d0728fa0ca Add 'tests' project type. 2020-05-06 13:26:03 +02:00