Add support for source based libraries
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 362
- Forks
- 75
- Avg merge
- 6d 9h
- Merged PRs (30d)
- 35
Description
Is your feature request related to a problem? Please describe.
Our build configuration currently expects all libraries to be pre-compiled.
We should add support for adding a path to a project to be included as a library.
Describe the solution you'd like
Add the option in the JSON file to add a "source library"
During the project config phase, the source libraries are compiled in order into the build folder along with their dependencies
The resulting object files are then linked with the project (statically)
Transitive dependencies are also added to the project
Shared dependencies are added transitively as libraries to the project
Describe alternatives you've considered
An alternative to compiling all libraries beforehand is to add them as source files. The support in the build config is still required regardless of the solution
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the project configuration phase and the JSON build-configuration handling. Trace how precompiled libraries, dependencies, object files, and static linking are currently represented. Done means a source-library path can be configured, its dependencies compile in order into the build folder, and direct, transitive, and shared dependencies are linked into the project.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system, compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100