Profile include statement
See original GitHub issueI would like to make it possible to include one profile in the other. There is several reasons for this:
- linux-x86_64 and linux-x86 could share several CFLAGS and it would be unnecessary with a lot of code duplication there
- With the suggested #1141 it would be hugely beneficial to be able to include the whole part that handles buildtools and centralize that into one file
I think a simple pre-processor include before parsing the file is the simplest and most straight-forward way. Another possible solution would be able to use some kind of templating in the profiles and then have config file where you specify the keys.
The second one is more powerful for sure it could do something like this:
include(BuildTools)
[settings]
compiler={build_tools_compiler}
[env]
CC={build_tools_compiler_path}
CFLAGS={common_cflags} -DFOO
but I am not picky 😃
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
INCLUDE statement - IBM
This statement causes profile statements from the named data set to be included at the point that the INCLUDE statement is encountered.
Read more >Including profiles in spring boot 2.4.0 version - Stack Overflow
include property included auth profile at runtime. But after I migrated to Spring Boot 2.4.0, I don't get the auth profile enabled. spring....
Read more >How to Write a Resume Profile or Summary Statement
A resume summary or career profile is a brief statement at the top of your resume. If you are a career changer or...
Read more >What Is a Resume Profile? 12 Examples of Strong ... - Indeed
A profile on a resume is a written statement located at the top of your resume that briefly highlights the experience and skills...
Read more >about Profiles - PowerShell | Microsoft Learn
The profile paths include the following variables: ... In this command, the if statement prevents you from overwriting an existing profile.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Agree. Most likely we should move forward this feature request to 0.23, and wait until the new [build_requires] are released, tested and get more feedback about usage. Being mostly UX rather than functional, no big issue to postpone it.
What I’ve been doing with settings it to declare a general profile with the common settings and then use -s for the variations. In the Android Studio use case with a loop of architectures and a declared api_level has been more than enough so, for me, it’s not needed yet. Any other experience is welcome.