Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support file based build configuration #483

Closed
10 of 14 tasks
ghaith opened this issue Apr 26, 2022 · 0 comments
Closed
10 of 14 tasks

Support file based build configuration #483

ghaith opened this issue Apr 26, 2022 · 0 comments
Labels
enhancement New feature or request libraries

Comments

@ghaith
Copy link
Collaborator

ghaith commented Apr 26, 2022

Is your feature request related to a problem? Please describe.
Support building a project using a build description file.
The description file contains:

  • The sources to build (Could be globs)
  • The libraries to include/link to
  • Libraries are specified by a path.
  • Anything in the include directory of the library is included.
  • SO files should be located under their target folders in the lib directory
  • The output type (Static/Shared/Executable)
  • The output filename
  • Packaging Information
    Packaging information contains a list of commands to be executed after the build/linking is done

Optionally, the description could also include metadata :

  • Project Name
  • Version
  • Authors
  • Website

Describe the solution you'd like
Introduce a new subcommand build.
The build subcommand will look for a plc.json file to read the configuration
It can also take the configuration as an argument

  • The build would happen in a build directory in the project, or if specified with --build-location another directory
  • The build would be ran for the default target, unless a --target is passed with a target triple.
@ghaith ghaith added enhancement New feature or request libraries labels Apr 26, 2022
This was referenced Jul 25, 2022
@99NIMI 99NIMI closed this as completed Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request libraries
Projects
None yet
Development

No branches or pull requests

2 participants