Skip to content

Build Windows Release with CMake#60159

Closed
alef wants to merge 341 commits intoCleverRaven:masterfrom
alef:cmake-presets
Closed

Build Windows Release with CMake#60159
alef wants to merge 341 commits intoCleverRaven:masterfrom
alef:cmake-presets

Conversation

@alef
Copy link
Contributor

@alef alef commented Aug 14, 2022

Summary

None

Purpose of change

WARNING: CMake build is NOT official and should be used for dev purposes ONLY.
Use CMake and VCPKG to build a MinGW release, including GitHub Actions.

Describe the solution

  • Raise CMake requirement to v3.21
  • User documentation under doc/COMPILING
  • Branch interactivelty rebased to explain reasons for changes in commits
  • Extends and improve the work done in Align CMake to Visual Studio projects #56875
  • The MinGW build runs under Ubuntu 22.04 and replaces MXE with VCPKG
  • SDL version now dictated by VCPKG
  • The names of the CMake presets are now the same as in release.yml
  • The GHA caches needs optimization. For now, trash them with gh-actions-cache

Describe alternatives you've considered

Same as in #56875

Testing

  • Run command as by doc/COMPILING/COMPILING-CMAKE-VCPKG.md on Windows and Ubuntu.
  • Run cmake.yml under GHA at my account.
    You may prefer disabling it by clicking Actions -> All Workflows: CMake Release -> [...] -> Disable workflow.

Additional context

@github-actions github-actions bot added <Documentation> Design documents, internal info, guides and help. [JSON] Changes (can be) made in JSON [Markdown] Markdown issues and PRs Code: Build Issues regarding different builds and build environments Code: Tooling Tooling that is not part of the main game but is part of the repo. json-styled JSON lint passed, label assigned by github actions astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions labels Aug 14, 2022
@github-actions github-actions bot added the <Bugfix> This is a fix for a bug (or closes open issue) label Aug 29, 2022
onura46 and others added 17 commits August 31, 2022 22:56
* add technomancer adept weapon as tool alongside normal version

* add magus adept weapon as tool alongside normal version

* add animist adept weapon as tool alongside normal version
* [DinoMod] dino carriers

* add wood variant to innawoods

* revert innawood change

* Create recipe_others.json

* spawn in dino locations

* Update pets.json

* Update pets.json

* Update pets.json
* Nested-Misc ammo & components

* Typo
quality steel and steel products for modular workshop
Currently the game will not allow any item incompatible with power armor
Non-covering items should be allowed as they don't obstruct power armor

Co-authored-by: nopen <nopen>
Co-authored-by: Venera3 <Venera3@users.noreply.github.com>
Appliance: option to unplug power connections
* Add toolmod to power devices with bionic power.

* fixzes more whitespace.

* Doublespaced the period
Change wrapped radiation badge to match (unwrapped) radiation badge
* Update recipe_deconstruction.json

* Update furniture-tools.json

* Update furniture-tools.json

* Update recipe_deconstruction.json

* Update recipe_deconstruction.json

* Update recipe_vehicle.json

* Update parts.json

* Update frames.json

* Update vehicle_parts.json
* Fix: shed loose connections when taking down appliance

* Fix: don't count fake parts when choosing to remove vehicle
@akrieger
Copy link
Member

Something seems to have gone poorly with the last push.

@alef alef marked this pull request as draft September 10, 2022 19:49
@alef alef closed this Sep 10, 2022
@alef
Copy link
Contributor Author

alef commented Sep 10, 2022

Something seems to have gone poorly with the last push.

Yes, I am closing this. Will try to make smaller PR in the future. Thanks for the review, I have took note of your comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions <Bugfix> This is a fix for a bug (or closes open issue) Code: Build Issues regarding different builds and build environments Code: Tooling Tooling that is not part of the main game but is part of the repo. <Documentation> Design documents, internal info, guides and help. [JSON] Changes (can be) made in JSON json-styled JSON lint passed, label assigned by github actions [Markdown] Markdown issues and PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.