Jason Perkins
4af8eb44af
Clean up rule container creation and usage
...
- 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
2014-10-20 15:41:00 -04:00
Jason Perkins
86685d7514
Merge latest development branch
2014-10-04 19:21:38 -04:00
Jason Perkins
67f6fba149
Merge new script embedding system
2014-10-04 19:10:21 -04:00
Jason Perkins
a9f862293b
Merge latest development branch
2014-10-02 17:11:34 -04:00
Jason Perkins
e2c1f5c430
Add more module and script search paths
...
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
2014-09-29 18:00:52 -04:00
Jason Perkins
b4cdb330bf
Added _MAIN_SCRIPT_DIR to module search path
2014-09-29 14:58:46 -04:00
Damien Courtois
4e7dc976ba
added a buildinput command to add additional input dependencies to custom build commands.
2014-09-25 10:41:27 +02:00
Jason Perkins
1b73aaf36c
Merge with latest development branch
2014-09-22 16:37:51 -04:00
Jason Perkins
35b652557a
Merged in mendsley/premake-dev/xbox360-imagexex (pull request #116 )
...
Add support for custom title configuration files in xbox360 builds
2014-09-20 18:32:18 -04:00
Jason Perkins
599e231d3a
Fill in more command line properties; add file extension
2014-09-19 15:26:56 -04:00
Jason Perkins
5d9901913c
Merge with development branch
2014-09-11 10:56:44 -04:00
Jason Perkins
a0af35b467
Added basic support for enum and list rule properties
2014-09-11 10:20:13 -04:00
Jason Perkins
c034834dc1
Complete generation of simple .targets files
2014-09-10 16:38:38 -04:00
Jason Perkins
1f1f5bee5f
Add rule .props file support for buildCommands, buildOutputs, buildMessage, buildDependencies
2014-09-03 16:14:42 -04:00
Jason Perkins
1f67707a9b
Store config maps in a list, so project script ordering will be maintained
2014-08-28 09:19:14 -04:00
Jason Perkins
98aba2438f
Rework filter() and configuration() to support new container hierarchies; can now use on rules
2014-08-27 16:38:58 -04:00
Jason Perkins
6471232ced
Begin implementation of property definitions for generated rules
...
- add new API propertyDefinition() with name, kind, and default value keys
- write default values to Visual Studio .props files
2014-08-27 10:40:36 -04:00
Jason Perkins
95d487b8ee
Add location() and filename() support for generated rule sets
...
- Enable new top-level field scope "rule"
2014-08-19 11:05:27 -04:00
Jason Perkins
c3042f9b02
Minor fix-ups on field definitions; fix kind of buildoutputs()
2014-07-23 15:53:43 -04:00
Jason Perkins
ce0e8f8e90
Merged in triton/premake-cs-fixes/defplatform (pull request #108 )
...
Added support for setting default platforms and implemented the VS action.
2014-07-17 11:48:41 -04:00
Jason Perkins
35582e2c4c
Added cleanExtensions(), with VC 201x support
2014-07-16 15:32:08 -04:00
Jason Perkins
19c3d7c972
Support project-level custom rule variables for VS 201x
2014-07-15 11:16:59 -04:00
Jason Perkins
efe5f1e292
Initial implementation of a minimal custom rules API (currently Visual Studio only)
2014-06-10 16:38:16 -04:00
Jason Perkins
b722cfef29
New flag --interactive opens a REPL prompt with project loaded (h/t Richard Geary)
2014-05-13 19:17:50 -04:00
Jason Perkins
9e372f8edb
Add --fatal flag to treat Premake script warnings as errors
2014-05-09 15:17:00 -04:00
Jason Perkins
ae8a1e0cf3
Manual merge pull request #45 (Oliver Kuckertz)
...
- Add Maps flag to control generation of maps file for Visual Studio
2014-05-01 15:32:50 -04:00
Jason Perkins
f4e55da621
Added new filter() to replace configuration(), with required field prefixes
...
- use like: filter { "configurations:Debug" }
- supported prefixes: action, architecture, configurations, files, kind, language, options, platforms, system
- defaults to "configurations" if no prefix is specified
2014-04-25 11:53:01 -04:00
triton
dc18aba44a
Added support for setting default platforms and implemented the VS action.
2014-03-18 22:01:59 +00:00
Jason Perkins
b9b3667968
Add support for the AVX instruction set
2014-03-18 16:26:21 -04:00
Jason Perkins
b05df0faa1
Change configmap data type to catch simple value type errors in mappings
2014-03-14 11:54:13 -04:00
Jason Perkins
6355a3215d
Make virtual path processing order deterministic
2014-03-09 13:17:10 -04:00
Jason Perkins
93c13e9ed1
Port API field kinds to new format strings; code cleanup
2014-03-09 09:55:18 -04:00
Jason Perkins
7c98127394
Replace "array" and "object" API data kinds with "table"
2014-02-27 17:40:25 -05:00
msk
f209be910d
add Visual Studio Utility Support
2014-03-01 18:20:06 +01:00
Jason Perkins
6c0be942ce
Merged in tbasnoopy/premake-dev/ATL support (pull request #105 )
...
add ATL support
2014-02-27 14:01:16 -05:00
M. Skibbe
8e32d2a68a
lower case the api call
2014-02-27 16:47:43 +01:00
Jason Perkins
5fdeba643f
Moved platform toolset selection into configuration system
2014-02-27 09:54:55 -05:00
M. Skibbe
cb3671fdc8
add ATL support
2014-02-27 13:47:51 +01:00
Jason Perkins
85e62a76f5
Make framework a configuration value, to enable more reuse by modules (Will Vale)
2014-02-14 15:18:37 -05:00
Jason Perkins
fc79f5d9dc
Add distinct FatalCompileWarnings and FatalLinkWarnings flags
2014-02-14 12:23:12 -05:00
Will Vale
b5a40c9fd2
Removed "valid" framework values - aim is to use framework for other systems - e.g. Android API level
2014-02-12 00:04:33 +13:00
Jason Perkins
b3468bd591
Add locale() to specify culture codes for Visual Studio C/C++ resources
2014-02-06 15:38:51 -05:00
Jason Perkins
6cf6ab4955
Add prebuild-, prelink- and postbuildmessage()
2014-01-15 16:12:29 -05:00
Jason Perkins
98ee892303
Use boolean fields rather than string decorations for extra API field information (Richard Geary)
2014-01-14 16:43:14 -05:00
Jason Perkins
0824533307
Allow implib… fields to control linking names for all target kinds
2013-12-20 09:48:03 -05:00
Jason Perkins
446090b6d8
Added more command line flags for MSC compiler
2013-11-22 14:06:41 -05:00
Jason Perkins
06aa897261
Add new "Resource" build action for WPF
2013-11-16 11:53:48 -05:00
Jason Perkins
fadde31127
Begin adding support for .xaml files
2013-11-15 17:17:41 -05:00
Jason Perkins
d3f0a43644
Add flag "WPF" to enable Microsoft WPF project handling
2013-11-15 16:35:27 -05:00
Manu Evans
40c846c2fe
Added OmitDefaultLibrary flag.
2013-10-29 17:10:01 +10:00