Skip to content

config.make PROJECT_SYSTEM_LIBS (-l), PROJECT_FRAMEWORKS Apple only, read by CMake too - #8632

Merged
danoli3 merged 1 commit into
openframeworks:masterfrom
danoli3:project-system-libs
Oct 31, 2026
Merged

danoli3 merged 1 commit into
openframeworks:masterfrom
danoli3:project-system-libs

Conversation

@danoli3

@danoli3 danoli3 commented Oct 31, 2026

Copy link
Copy Markdown
Member

Project-level system frameworks and libraries, kept in the project's config.make so the projectGenerator, make and CMake all use the same list (PG side: openframeworks/projectGenerator#690).

PROJECT_FRAMEWORKS = Security CoreBluetooth
PROJECT_SYSTEM_LIBS = sqlite3 z
  • makefiles: new PROJECT_SYSTEM_LIBS -> -lsqlite3 -lz; PROJECT_FRAMEWORKS (already there) now only on Darwin, so a shared config.make doesn't pass -framework to Linux builds
  • CMake: of_add_app reads both from config.make like it reads addons.make (-framework on Apple only)
  • osx / macos template config.make: documented, commented examples (the PG fills these lines in)

Tested on macOS: CMake app using sqlite3 / zlib / SecRandomCopyBytes builds and runs with -framework Security -lsqlite3 -lz from config.make; make flag logic checked for Darwin (-framework Security ... -lsqlite3 -lz) and Linux (-lsqlite3 -lz only).

@danoli3
danoli3 merged commit c3ce1ad into openframeworks:master Oct 31, 2026
29 checks passed
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