Commit Graph

1775 Commits

Author SHA1 Message Date
Jason Perkins
aab1e899bf Merge Xcode and module loading improvements 2015-03-14 14:25:20 -04:00
Jason Perkins
692daee04d Update change log 2015-03-14 14:24:32 -04:00
Jason Perkins
bda1d10e4a Clean up module file error handling; use os.locate() to predetermine script availability 2015-03-14 14:21:54 -04:00
Jason Perkins
de9520eded Re-enable deferred module loading 2015-03-13 19:17:07 -04:00
Jason Perkins
4667789bc3 Merge script error handling fix in module loader 2015-03-13 16:49:22 -04:00
Jason Perkins
a82d9c7ba5 Report script errors from the custom module loader 2015-03-13 16:48:32 -04:00
Jason Perkins
571f2da4fb Apply coding conventions to Xcode workspace exporter 2015-03-13 16:48:06 -04:00
Jason Perkins
5d9829a1da Fix issue #200: Prevent generation of empty Visual Studio .user files 2015-03-12 11:28:08 -04:00
Jason Perkins
006a35c795 Stop generating empty .csproj.user files for VS 201x; added to change log 2015-03-12 11:26:29 -04:00
Jason Perkins
8a4a8ff866 Merge latest from development branch 2015-03-12 11:04:54 -04:00
Jason Perkins
0993059791 Roll back broken Xcode action preregistration 2015-03-12 08:13:53 -04:00
Jason Perkins
df4b2860ca Fix .user file indentation and final line ending 2015-03-11 17:36:25 -04:00
Jason Perkins
c8cc548bb0 Merge latest from default branch 2015-03-11 16:20:37 -04:00
Jason Perkins
39e97e68a3 Phase out use of PS3 platform; no longer included in core 2015-03-11 16:16:56 -04:00
Jason Perkins
89470ea620 Only output VC# .user file if there is something to put in it 2015-03-11 16:11:09 -04:00
Jason Perkins
058f1a4916 Modernize the VC# user file exporter 2015-03-11 15:52:51 -04:00
Jason Perkins
2fdddbee85 Only output VC'200x .user file if there is something to put in it 2015-03-11 15:39:20 -04:00
Jason Perkins
26fb3cb240 Reconcile coding styles between VC'201x and VC'200x user file exporters 2015-03-11 14:58:57 -04:00
Jason Perkins
7e8617dddf Standardize names of Visual Studio generate*() functions 2015-03-11 14:46:13 -04:00
Jason Perkins
a0408ebb98 Only output VC'201x .user file if there is something to put in it 2015-03-11 14:40:12 -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