Skip to content

Add fling_add_module CMake helper - #194

Merged
BenjaFriend merged 1 commit into
mainfrom
feature/169-fling-add-module
Aug 16, 2026
Merged

Add fling_add_module CMake helper#194
BenjaFriend merged 1 commit into
mainfrom
feature/169-fling-add-module

Conversation

@BenjaFriend

Copy link
Copy Markdown
Member

Summary

  • Adds fling_add_module() (CMake/FlingModule.cmake) so a new engine library can declare public/private module deps and get a generated *API.h export macro.
  • Adds FlingLibExports.h as the shared dllexport/dllimport primitive those headers use.
  • Root CMake includes the helper; no module target calls it yet (engine is still one static lib).
  • Updates docs/BuildModules.md and Skills/testing.md for the post-Foundation layout.

Follow-up to #193 / #169. How to add a module (UI example) is already in Skills/adding-modules.md.

Test plan

  • Configure and build Sandbox + FlingTests (include(FlingModule) must not break configure)
  • Confirm FlingTests still pass
  • Confirm no target named Core/UI is created yet (helper only)

Made with Cursor

…rivate deps.

Nothing calls it yet; this lands the helper, generated *API.h template, and Phase 0 notes so later splits do not invent a second CMake pattern.

Co-authored-by: Cursor <cursoragent@cursor.com>
@BenjaFriend
BenjaFriend merged commit 6901aa5 into main Aug 16, 2026
6 checks passed
@BenjaFriend
BenjaFriend deleted the feature/169-fling-add-module branch August 16, 2026 17:09
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.

1 participant