chalet
chalet copied to clipboard
Package Management 1 - In-Project
In-Project means the build targets describe what links, staticLinks, includeDirs, libDirs, searchPaths that are needed (maybe others). A target that depends on such a build target simply requires it, where it is a namespaced identifier for the target. Since we're still talking about local targets, the target be ::foo or maybe foo.
includeDirs and libDirs define relative directories that get exposed once the package target is required.
Also need to consider: header only/single header libraries. These do not build, but can be consumed. "building" them might mean concatenating several files together, but that can be a separate thing later on.