Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Cubos compatible with CMake find_package #1327

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

RiscadoA
Copy link
Member

Description

This PR is still very barebones. I tried to quickly give this a shot for 0.4 but it's way more complex than I anticipated.
I think we need to refactor pretty much the whole CMake configuration, as dealing with two libs at once (engine and core), plus their dependencies, of which some are obtained from add_subdirectory instead of find_package, is a big pain.

Checklist

  • Self-review changes.
  • Evaluate impact on the documentation.
  • Ensure test coverage.
  • Write new samples.
  • Add entry to the changelog's unreleased section.

@RiscadoA RiscadoA added C-Code-Quality A section of code that is hard to understand or change A-Meta B-Build Related to the build configuration labels Sep 27, 2024
@RiscadoA RiscadoA added this to the 0.5 milestone Sep 27, 2024
@RiscadoA RiscadoA self-assigned this Sep 27, 2024
@RiscadoA RiscadoA linked an issue Sep 27, 2024 that may be closed by this pull request
Copy link
Contributor

PR Preview Action v1.4.8
🚀 Deployed preview to https://GameDevTecnico.github.io/cubos/preview/pr-1327/
on branch gh-pages at 2024-09-27 09:36 UTC

Copy link

codecov bot commented Sep 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 36.18%. Comparing base (3a4258d) to head (528aa87).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1327   +/-   ##
=======================================
  Coverage   36.18%   36.18%           
=======================================
  Files         402      402           
  Lines       32096    32096           
=======================================
  Hits        11614    11614           
  Misses      20482    20482           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@RiscadoA RiscadoA changed the title Make Cubos usable CMake find_package compatible Make Cubos CMake find_package compatible Sep 29, 2024
@RiscadoA RiscadoA changed the title Make Cubos CMake find_package compatible Make Cubos compatible with CMake find_package Sep 29, 2024
@RiscadoA RiscadoA force-pushed the 1326-make-cubos-usable-in-cmake-through-find_package branch from 528aa87 to 1a572b1 Compare October 7, 2024 11:12
@RiscadoA RiscadoA force-pushed the 1326-make-cubos-usable-in-cmake-through-find_package branch from 1a572b1 to 0e47178 Compare November 5, 2024 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Meta B-Build Related to the build configuration C-Code-Quality A section of code that is hard to understand or change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make Cubos usable in CMake through find_package
1 participant