Commit Graph

1843 Commits

Author SHA1 Message Date
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
df9be74911 Added tag 5.0-alpha1 for changeset cd2871a74fb4 2015-02-23 17:10:51 -05:00
Jason Perkins
a748de7909 Update embedded version number for release 2015-02-23 17:09:56 -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
Jason Perkins
9ac067355d Reverse order of system and sibling libraries to match previous versions 2015-02-14 15:23:36 -05:00
Jason Perkins
f5abdb9d69 Remove ".lib" extension from system library links in generated makefiles on Windows 2015-02-14 14:56:02 -05:00
Jason Perkins
494196598e Fix Lua stack underflow in script loader 2015-02-13 16:03:32 -05:00
Jason Perkins
8390255470 Reverse search order of module naming variations to avoid matching embedded path ahead of local file 2015-02-12 18:29:48 -05:00
Jason Perkins
e9ac1dc74e Allow modules to be specified as bare Lua files, instead of placed in a module folder 2015-02-12 17:51:49 -05:00
ben_ratzlaff
10c1d98a90 Merged premake/premake-dev into default 2015-02-09 22:25:21 -07:00
Jason Perkins
4101fd8241 Fix "unused parameter" warning 2015-02-09 12:44:15 -05:00
Jason Perkins
1ddb214cc3 Fix "Error: (null)" messages on startup if main script can't be located on disk 2015-02-09 12:43:08 -05:00
Ben Ratzlaff
ec157c8e6e Implement 'RelativeLinks" flag to effect makefile creation to use -l and -L instead of linking against the full path of a dynamic object library 2015-02-06 16:48:59 -07:00
Jason Perkins
38c5b79840 Add the directory containing the Premake executable to the script search path
This is a useful location for placing a system script.
2015-02-06 16:33:28 -05:00
Jason Perkins
25e1e766ae Allow modules to specify an explicit directory, i.e. require("build/mymodule")
This makes it easier to distribute modules along with a project's source code, giving full control over where the modules are kept in the tree.
2015-02-06 15:38:56 -05:00