chalet icon indicating copy to clipboard operation
chalet copied to clipboard

Package Management 1 - In-Project

Open rewrking opened this issue 3 years ago • 1 comments

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.

rewrking avatar Jun 17 '22 23:06 rewrking

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.

rewrking avatar Aug 23 '22 14:08 rewrking