Newcomers may not be interested in Make's $@ when learning gprbuild.
This commit hides default.cgpr as much as possible, but another
consistent option is to make the information flow explicit.
`gprconfig -o default.cgpr`
`gprbuild`--config=default.cgpr`
`gprclean --config=default.cgpr`
Replace `gprbuild`, `gprbuild -Pfoo`, `gprbuild -Pfoo.gpr` and
`gprbuild foo` with the equivalent `gprbuild foo.gpr`.
Examples are intended for beginners, so an explicit file name is
preferable.
The current working directory is not always in the PATH
Part of LB19-013
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/gprbuild@198141 936e1b1b-40f2-da11-902a-00137254ae57
not output it if it is the same as one of the named runtimes.
Should fix the examples KC16-043
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/gprbuild@185008 936e1b1b-40f2-da11-902a-00137254ae57
running cross tests, but not on developers' machines)
Add an empty file in empty object directories, since those are not
properly checked out by git otherwise. This ensure that tests also
pass when using git.
Part of K124-011
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/gprbuild@169639 936e1b1b-40f2-da11-902a-00137254ae57
Language & Name are now 2 non-mandatory attributes of node <compiler>
whose value is a regular case-insensitive string (as opposed to a regexp).
It makes it easier to specify language based rules that do not depend on
the toolchain such as which dirver to use for linking multi-language
applications.
(Makefile.in): fix typo in installation of html files
(share/gprconfig/*.xml): support for CYGMING-GCC configuration.
Rewrite of linker driver preference using the new capabilities above.
(examples/first_steps/c_src/c_main.c): avoid warning.
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/gprbuild@114931 936e1b1b-40f2-da11-902a-00137254ae57
* Makefile:
* Makefile:
* Makefile:
* Makefile:
* Makefile:
* Makefile:
* compilers.xml:
* linker.xml:
* gprconfig-knowledge.adb:
Prettify the generated configuration files by
- separate packages by a blank line
- indent properly all attributes
Do not create ada_runtime.gpr anymore since it is not needed by
gprbuild and update example Makefiles accordingly
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/gprbuild@113519 936e1b1b-40f2-da11-902a-00137254ae57