Commit Graph

1347 Commits

Author SHA1 Message Date
Jason Perkins
55a5feec48 Add Premake executable directory to search path for the system script 2014-06-27 11:06:17 -04:00
Jason Perkins
0df2020f6b Pass _PREMAKE_COMMAND unit test when executable uses a non-standard name or location 2014-06-26 10:43:48 -04:00
Jason Perkins
d5ef6f4c32 Small optimization, improves compatibility with DLL version of Lua runtime 2014-06-26 10:40:24 -04:00
Jason Perkins
019ba5dcfc Safely ignore nil values in list fields 2014-06-16 10:13:00 -04:00
Jason Perkins
70b66f2b31 Remove problematic strip-symbol flags from Clang tool adapter
- see http://industriousone.com/topic/how-remove-flags-ldflags
2014-06-02 11:35:09 -04:00
Jason Perkins
026b75bd3f Handle missing value edge cases when validating configuration values 2014-05-30 17:03:15 -04:00
Jason Perkins
27a39db6a6 Stop using io.tmpfile() in script embedding; doesn't always work on Windows 2014-05-29 18:04:58 -04:00
Jason Perkins
8fe9c55a15 Added os.islink() — does path point to a symbolic link or reparse point? 2014-05-28 15:08:54 -04:00
Jason Perkins
b0103e76ca Add getLibraryDirectories() to tool adapters
- use throughout to avoid flag duplication in VS projects with external tools
2014-05-23 20:10:34 -04:00
Jason Perkins
17522321aa Disable VS 2013 duplicated file warnings 2014-05-22 10:26:16 -04:00
Jason Perkins
7c8acae626 Add os.realpath() to resolve symbolic links on Posix systems 2014-05-23 18:37:15 -04:00
Jason Perkins
f3395f6cad Rework VC 2010 project exporter to new extensibility conventions 2014-05-22 09:55:28 -04:00
Jason Perkins
87ebf6ee6a Update embedded project information 2014-05-14 17:43:08 -04:00
Jason Perkins
e588886bb8 Added os.chmod() (h/t Richard Geary) 2014-05-14 17:32:56 -04:00
Jason Perkins
537cd73591 Fix action check to work with new interactive prompt 2014-05-13 19:34:53 -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
5d38977c99 Fix bug in VC 2010 test suite 2014-05-07 15:18:03 -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
2d8be343b1 Remove a bit of dead code from api.lua 2014-04-29 15:45:26 -04:00
Jason Perkins
cb0aba47f3 Stop returning dotted directory names in os.matchdirs() 2014-04-29 15:45:15 -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
Jason Perkins
a672ec416a Fix issue #20 - can now find files with a dot prefix; directories are still ignored 2014-04-24 10:49:06 -04:00
Jason Perkins
aef8313299 Add per-file vector extension for VC 2010 2014-04-12 14:48:15 -04:00
Jason Perkins
419495270a Fix edge case in list field processing that would allow empty tables in the results 2014-04-09 18:48:06 -04:00
Jason Perkins
e3b03debfb Make _SCRIPT global available during debug manifest loading 2014-04-03 14:57:40 -04:00
Jason Perkins
e2055a24d0 Move more criteria pattern processing to native code loop 2014-04-09 17:55:08 -04:00
Jason Perkins
ee24e758d9 Stop trying to return current values for nil parameters to API calls; too many gaps to patch 2014-04-09 16:21:12 -04:00
Jason Perkins
d6a8aa05fe Avoid file filter term tests when matching against non-file configurations 2014-04-09 16:14:59 -04:00
Jason Perkins
7dd9f4b041 Fix handling of "files:not Pattern*" for non-file contexts 2014-04-08 15:50:00 -04:00
Jason Perkins
0f713d5c39 Move criteria.matches() to C to gain back some performance lost to filter prefixes 2014-04-08 15:07:09 -04:00
Jason Perkins
28cfa55886 First pass at support for configuration filter prefixes (e.g. "files:Debug**") 2014-04-07 15:04:19 -04:00
Jason Perkins
6812f6493b Bit more cleanup of VC 200x exporter; calling it done (for now) 2014-04-08 14:33:01 -04:00
Jason Perkins
12b2949c37 Merged project and file compiler configuration blocks 2014-04-03 11:00:47 -04:00
Jason Perkins
17f03ab901 Add helper for overriding field value accessor functions 2014-03-24 15:52:10 -04:00
Jason Perkins
6ead0b464a Add new field data kind "function" 2014-03-21 09:52:22 -04:00
Jason Perkins
25482510ac Add api.unregister() to allow replacing field definitions 2014-03-19 18:12:21 -04:00
Jason Perkins
5e0eb1ab6d Clean up structure of VC 200x file exporting code 2014-03-20 11:21:02 -04:00
Jason Perkins
b9b3667968 Add support for the AVX instruction set 2014-03-18 16:26:21 -04:00
Jason Perkins
708ec0e48e Preprocess field allowed and aliases values to lowercase keys for faster value checks 2014-03-17 15:46:35 -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
b1ea51dcc5 More clean-up of VC 200x exporter 2014-03-14 10:24:48 -04:00
Jason Perkins
5ef13aa5b6 Merge project objects with their underlying configuration sets 2014-03-13 17:08:04 -04:00
Jason Perkins
49ceccd53f Prevent project.eachconfig() from returning duplicate configurations (caused by config maps) 2014-03-12 19:19:05 -04:00
Jason Perkins
286a1d2887 Integrate latest Premake-dev; fixes vpath scope warnings 2014-03-11 15:56:17 -04:00
Jason Perkins
13c072594d Migrated more of the .vcproj support code to new conventions 2014-03-11 12:10:33 -04:00
Jason Perkins
8c54e7943f Rework VC 200x linker block to call arrays 2014-03-06 10:11:08 -05:00
Jason Perkins
e1fa699109 Fixed scoping issue in previous commit 2014-03-10 18:35:59 -04:00
Jason Perkins
883bfcd48d Improve backward compatibility of field registration 2014-03-10 17:53:52 -04:00
Jason Perkins
4e7b19b5cf Catch config set errors both project scripts API calls and in direct value sets on project objects 2014-03-10 16:30:29 -04:00