Specify the debugger binaries, args to run with.
Specify path remaps:
It's typical to remap path embedded in dwarf (as the exe was built) to the location of the source on your own pc.
These are shared by a variety of IDE's, systems, toolsets, etc.
I can't seem to find use for them in the built-in actions, but they come up in
many of my extensions.
Cross-compilers, consoles, embedded, etc, all use these.
This allows expressing "use these vpaths if this configuration is present in the project", and placing the vpaths in the same configuration block as the file lists.
A new API is needed to add support for "pure" and "safe" managed C++ code. The existing flags will be marked as deprecated in the documentation, but otherwise left intact.
Make it easier and more intuitive to support platforms/toolsets where edit-and-continue is available but turned off by default. Can now turn off with editAndContinue("off") instead of flags("NoEditAndContinue"), and turn it on with editAndContinue("on") instead of removeflags("NoEditAndContinue").
The NoEditAndContinue flag is still in place, and continues to behave as it did before, but will be marked deprecated in the documentation.
To ease the transition to 5.0, allow these values to continue to work while marking them deprecated in the documentation. Will put the messages back some time after release when folks have had a chance to switch.
- Adds externalRule() to match rule()
- Adds externalProject() as replacement for external() for consistency with rules
- Adds rules() to associate rules (external or generated) with a project
- Drops customRules(); use rules() on the project level instead
Now uses same set of paths to locate both modules and individual scripts, in order:
- the main script dir (_MAIN_SCRIPT_DIR)
- the current working directory
- ~/.premake
- the --scripts=… argument, if present
- the PREMAKE_PATH environment variable, if set
- the folder containing the Premake executable (_PREMAKE_DIR)
- ~/Library/Application Support/Premake
- /usr/local/share/premake
- /usr/share/premake
Prints a warning when embedded scripts are loaded from a debug build