Skip to content

Reworked CMake to align better with package manager standards#16

Merged
Ethirix merged 3 commits into
masterfrom
rework/cmake
May 8, 2026
Merged

Reworked CMake to align better with package manager standards#16
Ethirix merged 3 commits into
masterfrom
rework/cmake

Conversation

@Ethirix
Copy link
Copy Markdown
Member

@Ethirix Ethirix commented May 3, 2026

CMakeLists and CMakePresets completely redesigned to better support intended usage with package managers and developer intentions. Now instead of trying to specifically decide between 'shared' or 'static' targets, CPack will now only include the files relating to that type of install:

  • Runtime - shared .dll/.so
  • Developer - everything else (static library, headers, CMake files)

When interacting with the project from another CMake project, the library has two components: Static and Shared which allow you to link between your chosen library type.

`CMakeLists` and `CMakePresets` completely redesigned to better support intended usage with package managers and developer intentions.
Now instead of trying to specifically decide between 'shared' or 'static' targets, `CPack` will now only include the files relating to that type of install:
- Runtime - shared `.dll`/`.so`
- Developer - everything else (static library, headers, `CMake` files)

When interacting with the project from another CMake project, the library has two components: `Static` and `Shared` which allow you to link between your chosen library type.
@Ethirix Ethirix self-assigned this May 3, 2026
@Ethirix Ethirix added the enhancement New feature or request label May 3, 2026
Ethirix added 2 commits May 7, 2026 16:52
Slight changes to `codeql.yml` and `pr-xplot-build-test.yml` to conform to some changes on GitHub end.
@Ethirix Ethirix moved this from To-do to In Progress in Engine Development Kanban May 8, 2026
@Ethirix Ethirix merged commit 76a50f6 into master May 8, 2026
22 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Engine Development Kanban May 8, 2026
@Ethirix Ethirix deleted the rework/cmake branch May 8, 2026 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant