Commit Graph

1649 Commits

Author SHA1 Message Date
Jason Perkins
39e97e68a3 Phase out use of PS3 platform; no longer included in core 2015-03-11 16:16:56 -04:00
Jason Perkins
d5b5abe43e Merged in TurkeyMan/premake-dev/gccprefix (pull request #154)
Added new API gccprefix
2015-03-11 12:03:12 -04:00
Jason Perkins
f0215968ba Merge Xcode module integration 2015-03-10 17:49:43 -04:00
Jason Perkins
b41045fbdd Integrate latest Xcode module with fixed unit tests 2015-03-10 17:47:52 -04:00
Jason Perkins
1fd2bc5c9f Merged in noresources/premake-dev-ns/outputof_exitcode (pull request #92)
os.outputof now returns the command exit code as a second result
2015-03-10 17:26:03 -04:00
Jason Perkins
ea9cfc5ed6 Updated CONTRIBUTORS for recent merges 2015-03-10 17:18:06 -04:00
Jason Perkins
e4a1ff2638 Merged in TurkeyMan/premake-dev/specific_warnings (pull request #152)
Added api's for control of specific warnings.
2015-03-10 17:14:22 -04:00
Jason Perkins
57880d8182 Merged in TurkeyMan/premake-dev/undefines (pull request #151)
Added 'undefines' api.
2015-03-10 17:11:52 -04:00
Jason Perkins
16646ab0a5 Merged in TurkeyMan/premake-dev/debug_options (pull request #153)
Added some new debug api's, which are used by many of my plugins.
2015-03-10 17:07:41 -04:00
Manu Evans
7540f8a2f1 Added support to declare an explicit gcc toolchain prefix. 2015-03-10 21:45:41 +10:00
Manu Evans
f0f02fc680 Now with added unittests 2015-03-10 20:59:28 +10:00
Manu Evans
838e53c3d5 Now with added unit tests. 2015-03-10 20:41:44 +10:00
Manu Evans
a0567affcd Added some new debug api's, which are used by many of my plugins.
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.
2015-03-10 10:25:34 +10:00
Manu Evans
b965c5a665 Added api's for control of specific warnings.
Support VS200x, 201x, gmake
2015-03-10 09:53:46 +10:00
Manu Evans
f03898de68 Added 'undefines' api.
Support VS200x, 201x, gmake
2015-03-10 08:49:19 +10:00
Jason Perkins
0b8d4c1544 Fix embedding of Xcode action registration 2015-03-09 17:07:12 -04:00
Jason Perkins
0f13c0470c Update to latest work-in-progress Xcode exporter 2015-03-07 14:09:32 -05:00
Jason Perkins
ad24e41dd6 Allow actions to load their module implementations on-demand.
By only registering the action, we skip the processing that would been necessary to load and evaluate the module scripts. This will allow us to improve overall performance while also scaling up the number of supported actions. To force loading of the entire module (to override specific calls, for instance), call require().
2015-03-07 13:12:11 -05:00
Jason Perkins
025c434590 Started a CONTRIBUTORS.txt
If you've made contributions in the past, let me know and I will get you added. I will be trying to fill in some of this from the commit history myself as well.
2015-03-04 17:14:52 -05:00
Jason Perkins
25596a5cbc Updated change log 2015-03-04 17:11:41 -05:00
Jason Perkins
2f3df2da22 Merged in noresources/premake-dev-ns/findlib (pull request #150)
os.findlib(): add new argument to specify additional library search paths
2015-03-04 17:01:26 -05:00
Jason Perkins
e267e775d4 Merge action handling improvements 2015-03-04 16:19:12 -05:00
Jason Perkins
291bfd6c99 Updated change log 2015-03-04 16:18:39 -05:00
Jason Perkins
8ed53ed3be Skip baking and validation phases for "non-configurable" actions
For actions that don't actually use the configured project information—such Premake's own embed, test, and release actions—the results of baking and validation phases aren't used, and the extra processing just takes up unnecessary time. Detect this case by checking the action for an onSolution() or onProject() call; if there isn't one, if isn't configurable.

If you have a custom action that does all its work in execute() that *does* need configurable information, you can just define a empty onSolution() function.
2015-03-03 15:20:33 -05:00
Jason Perkins
77a4c81406 Remove non-functional action.supportsconfig() call
This function was being called with incorrect arguments that ensured it always returned true. Since no one noticed, I'm going to assume that it isn't being actively used.
2015-03-03 15:01:17 -05:00
Jason Perkins
e6718b2d51 Bit of code cleanup to standardize comments and self arguments 2015-03-03 14:59:23 -05:00
Jason Perkins
62d98fce11 Index action arguments (_ARGS) by both index and value
This allows lookups like `if _ARGS["option1"] then …`
2015-03-02 15:15:45 -05:00
Jason Perkins
d6f2c77e1a Merge _premake_main() rework to call arrays
The _premake_main() function is now broken out into separate functions executed via a call array, in the same fashion as the Visual Studio exporters. Modules may not override specific execution steps, or insert new steps.
2015-02-27 16:43:12 -05:00
Jason Perkins
0841351466 Updated change log 2015-02-27 16:42:02 -05:00
Jason Perkins
d886e813a8 Merge latest development branch 2015-02-27 16:37:00 -05:00
Jason Perkins
6f13f36998 Break _premake_main() out to a call array 2015-02-27 16:11:01 -05:00
Jason Perkins
19df1c5722 Merge filtering fixes 2015-02-26 10:43:03 -05:00
Jason Perkins
bdb546330a Fix case on _ACTION and _OPTIONS filter prefixes in validation list 2015-02-26 10:36:59 -05:00
Jason Perkins
f9270e21cc Allow filters to specify field value aliases in the conditions 2015-02-25 17:38:16 -05:00
Jason Perkins
0ef03eb13a Fix embed action for Premake 4.x executables 2015-02-25 15:50:48 -05:00
Jason Perkins
355b1b850a Merge release packaging updates and fixes 2015-02-23 17:55:19 -05:00
Jason Perkins
6b5b04c03b Pull package version from specified branch instead of the working set 2015-02-23 17:34:16 -05:00
Jason Perkins
fd11fd3f60 Updated embedded copyright year 2015-02-23 17:11:27 -05:00
Jason Perkins
82924ad947 Update supporting files for release; add 'zip' to list of required utilities for packaging 2015-02-23 17:08:19 -05:00
Jason Perkins
c56f316251 Prep new release scripts for first alpha packages 2015-02-22 19:02:09 -05:00
Jason Perkins
87762818f3 Return error code zero if --version option is specified to match other system tools 2015-02-22 10:18:07 -05:00
Jason Perkins
08c9a93e2b Remove non-functional embed action from the Premake4 version of the project script 2015-02-19 17:02:23 -05:00
Jason Perkins
2ae3479f58 Merged in tbasnoopy/premake-dev/buildoutput fix (pull request #149)
add missing buildoutputs fix for vs2010
2015-02-18 15:13:41 -05:00
M Skibbe
b5c37c25cc add missing buildoutputs fix for vs2010 2015-02-18 11:33:07 +01:00
Jason Perkins
5e51b54c3d Merge script path searching restrictions for release builds and user project scripts 2015-02-15 16:10:46 -05:00
Jason Perkins
b7dac40a67 Use a more restricted set of search paths when loading the user project script 2015-02-15 14:57:42 -05:00
Jason Perkins
e78cf3f61d Use a more restricted set of search paths when loading the core and bootstrap scripts 2015-02-15 14:30:17 -05:00
Jason Perkins
212c9ae919 Merge Windows system library linking fixes 2015-02-14 15:47:57 -05:00
Jason Perkins
c581403fe9 Remove .dll extension from managed assembly references in C++ projects 2015-02-14 15:41:41 -05:00
Jason Perkins
79507f946c Restore .lib extension on libraries from the MSC tool adapter 2015-02-14 15:30:17 -05:00