Skip to content

Rewrite CMake build script#410

Merged
madebr merged 1 commit intolibsdl-org:mainfrom
madebr:cmake_work
Jun 14, 2022
Merged

Rewrite CMake build script#410
madebr merged 1 commit intolibsdl-org:mainfrom
madebr:cmake_work

Conversation

@madebr
Copy link
Copy Markdown
Contributor

@madebr madebr commented Jun 14, 2022

This PR completely rewrite the cmake build script:

  • Add support for switching between system and vendored decoders
  • Add CMake configuration scripts for the framework + VC + MinGW redistributable tarball
  • Add logic to autotools build script to generate and install cmake config scripts
  • Add MSVC and Macos to CI (fetching yasm is for MPG123

For MSVC, I had to use Visual Studio 2019 (=windows-2019 image) because MPG123 fails to build with Visual Studio 2022.
It has something to do with the assembled files, but I don't know exactly as I don't have 2022 installed + there are are no error messages in the log files making me wiser.

@madebr madebr force-pushed the cmake_work branch 3 times, most recently from 12c63e2 to e3f51d0 Compare June 14, 2022 17:44
@sezero sezero linked an issue Jun 14, 2022 that may be closed by this pull request
@sezero
Copy link
Copy Markdown
Contributor

sezero commented Jun 14, 2022

This will close #387

@slouken ?

@slouken
Copy link
Copy Markdown
Collaborator

slouken commented Jun 14, 2022

Looks good, @madebr feel free to rebase and merge when you're ready.

@madebr madebr force-pushed the cmake_work branch 2 times, most recently from 0561b1e to 7a25b44 Compare June 14, 2022 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issues with CMake and FetchContent

3 participants