Usage of Build_Profile_Kind for compiler switches #1055
Unanswered
captain-haddock17
asked this question in
Q&A
Replies: 1 comment
-
Hello @captain-haddock17 If you want to tweak the build switches it's better to do it from the [build-switches]
release.optimization = ["-O1", "-gnatn"] I'd like to know what the custom set of switches doesn't work for you. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Dear Team,
I'd like to use
Build_Profile_Kind
to define alternative compiler switches.As this variable is defined in the (generated)
*_config.gpr
file, my specific setup could be erased by 'alr' at some point.My usage is
I did not like to put this in
myProject.gpr
, because it would redundant a lot of config lines.Would there be an elegant way to do this ?
Thanks a lot,
Kind regards,
William
Beta Was this translation helpful? Give feedback.
All reactions