Skip to content

Add CMake build system#20

Open
Asd-g wants to merge 4 commits intovimeo:masterfrom
HomeOfAviSynthPlusEvolution:master
Open

Add CMake build system#20
Asd-g wants to merge 4 commits intovimeo:masterfrom
HomeOfAviSynthPlusEvolution:master

Conversation

@Asd-g
Copy link

@Asd-g Asd-g commented Jun 30, 2025

  • Supports building on Linux, macOS, and Windows (MSVC & MinGW).
  • Builds both static and shared libraries across all supported platforms.
  • Finds and links against a CMake-installed OBUParse dependency. (Add CMake build system dwbuiten/obuparse#16)
  • Generates and installs a CMake package that provides imported alias targets for easy consumption:
    • LSMASH::static
    • LSMASH::shared
  • Builds the command-line tools (muxer, remuxer, boxdumper, timelineeditor) as separate executables.
  • Includes a convenient uninstall target.

Note: requires obuparse with CMake build system (dwbuiten/obuparse#16)

Asd-g added 4 commits June 30, 2025 20:29
- Supports building on Linux, macOS, and Windows (MSVC & MinGW).
- Builds both static and shared libraries across all supported platforms.
- Finds and links against a CMake-installed OBUParse dependency.
  (dwbuiten/obuparse#16)
- Generates and installs a CMake package that provides imported alias
  targets for easy consumption:
    - `LSMASH::static`
    - `LSMASH::shared`
- Builds the command-line tools (muxer, remuxer, boxdumper, timelineeditor)
  as separate executables.
- Includes a convenient `uninstall` target.
@dwbuiten
Copy link
Collaborator

... but why? The existing build system works fine (and tbh I do not like cmake at all).

@Asd-g
Copy link
Author

Asd-g commented Dec 1, 2025

It works fine for some building environments. For others, one have to manual handle the building.

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.

2 participants