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

Rename top level adaptabuild to adaptabuild_config.mak #2

Open
rhempel opened this issue Feb 8, 2025 · 0 comments
Open

Rename top level adaptabuild to adaptabuild_config.mak #2

rhempel opened this issue Feb 8, 2025 · 0 comments

Comments

@rhempel
Copy link
Owner

rhempel commented Feb 8, 2025

As a result of making adaptabuild a submodule for my umm-malloc library there will be a conflict between the adaptabuild.mak file that specifies how to build the library, and the adaptabuild.mak that sets up how adaptabuild is configured for a project that includes the module.

To make things even clearer, we rename the library level adaptabuild.mak to adaptabuild_library.mak

We solve this by having the following files at the top level of any code that is built with adaptabuild (project or library)

  • adpatabuild_library.mak - specifies how to build the library (library only)
  • adaptabuild_config.mak - configuration of logging, source and build directories, etc (project or library)
  • adaptabuild_products.mak - products that can be specified on the command line (project or library)
  • adaptabuild_artifacts.make - artifacts that are needed for the build (project or library)

Let's see if this works in the general case :-)

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

No branches or pull requests

1 participant