Commit Graph

1958 Commits

Author SHA1 Message Date
Manu Evans
fa02da93c6 Updated extensions to modern style, added a heap of tests 2015-07-26 23:53:24 +10:00
Manu Evans
1c27cca3f2 Merge pull request #131 from tbasnoopy/localdebuggertype
allow changing of local debugger type
2015-07-20 20:36:00 +10:00
starkos
a2d7160bb7 Merge pull request #153 from Blizzard/added-table-functions
Add table.insertsorted, table.unique, table.filter and table.insertkeyed
2015-07-19 14:22:15 -04:00
starkos
a66aae1057 Merge pull request #152 from Blizzard/detoken-fix
fix bug in detoken.
2015-07-19 14:21:44 -04:00
starkos
072c4581b9 Merge pull request #81 from Blizzard/validate_options
add validation of valid_kinds and valid_languages
2015-07-19 13:54:52 -04:00
starkos
e1c18c0fe8 Merge pull request #158 from starkos/vc2010-cleanup
VC 2010 exporter cleanup
2015-07-17 16:12:36 -04:00
Jason Perkins
d2452f23e9 Use m.element() consistently; precursor to enabling more per-file configuration settings 2015-07-15 16:52:57 -04:00
Jason Perkins
d7525cf1d9 Replace "premake." with "p." consistently 2015-07-15 16:52:56 -04:00
Jason Perkins
de7b6e001d Code cleanup; finish converting to new indentation-aware output APIs 2015-07-15 16:52:56 -04:00
Jason Perkins
6be595f126 Consolidate file handling in VC 2010 exporter 2015-07-15 16:52:56 -04:00
Jason Perkins
f94c5aee15 Convert custom build files export to call array 2015-07-15 16:52:56 -04:00
Jason Perkins
59644e42fb Convert VC 2010 file configurations export to call array; bit of cleanup 2015-07-15 16:52:56 -04:00
starkos
5566d7dd60 Merge pull request #157 from starkos/fix-external-rules
Fix handling of external rules
2015-07-15 16:06:54 -04:00
Jason Perkins
b323613cdf Enable rules for later version of Visual Studio 2015-07-15 12:20:06 -04:00
Jason Perkins
6d6fe29dcf Stop generating rules and solutions when they have been marked as external 2015-07-15 12:19:46 -04:00
Tom van Dijck
26008f0bed both key and value need to be expanded for tables. 2015-07-14 15:12:52 -07:00
Tom van Dijck
58b60aa232 Add table.insertsorted, table.unique, table.filter and table.insertkeyed 2015-07-14 09:37:16 -07:00
Tom van Dijck
92b704ed96 fix bug in detoken. 2015-07-14 09:34:40 -07:00
Tom van Dijck
9a4e49efcc use premake.warn instead of printf, and fix the visual studio action warnings. 2015-07-14 09:31:31 -07:00
Tom van Dijck
53e4145765 add nil check, remove 'self' as argument, just get it through action.current() 2015-07-14 09:31:31 -07:00
Tom van Dijck
7ce257badc add validation of valid_kinds and valid_languages 2015-07-14 09:31:31 -07:00
starkos
90857e578d Merge pull request #115 from dcourtois/fix_token_backslashes
fixed a crash when a token contains non-escaped backslashes
2015-07-12 17:17:17 -04:00
starkos
52eeed6a0b Merge pull request #146 from starkos/solution-hasproject
Add new convenience function solution.hasProject()
2015-07-12 16:52:30 -04:00
starkos
3663909c35 Merge pull request #43 from Blizzard/contrib-libs
adding contrib libs (curl, zlib and libzip)
2015-07-12 16:51:24 -04:00
Jason Perkins
acbf81112e Add new convenience function solution.hasProject() to check existings of projects meeting particular criteria
This is a companion function to project.hasConfig() and works the same way. I also implemented a generic container.hasChild() for reuse by other container types
2015-07-09 19:23:07 -04:00
Jason Perkins
b07b353507 Fix unit tests broken by the previous commit 2015-07-09 15:06:41 +02:00
Tom van Dijck
5fb66f12e5 fix unit-tests. 2015-07-09 15:06:38 +02:00
rhuvendiek
ca4a687773 Add unit test for MIDL generator. 2015-07-09 15:06:35 +02:00
Tom van Dijck
1eaeed4800 fix targetdir default. 2015-07-09 15:06:33 +02:00
Jason Perkins
349c6f891c Add link time optimization support for GCC and Clang 2015-07-09 15:06:32 +02:00
rhuvendiek
54cefc08ef Write entries to compile idl files with MIDL into vcxproj-files. 2015-07-09 15:06:29 +02:00
Jason Perkins
42d5c77d40 Update modules to latest versions 2015-07-09 15:06:27 +02:00
Jason Perkins
a76e18f50c Fix preloading of embedded modules
os.locate() wasn't able to find the embedded scripts; added an explicit check after scanning the file system
2015-07-09 15:06:24 +02:00
tbasnoopy
0fff5bb036 add customtoolnamespace 2015-07-09 15:06:23 +02:00
leeonix
91ec1f2f4f modify gmake Makefile LINKCMD $(TARGET) to "$@" issue #125 2015-07-09 15:06:18 +02:00
Jason Perkins
7101edc54d Add more informative deprecation warnings for NoExceptions and NoRTTI flags 2015-07-09 15:06:15 +02:00
Jason Perkins
9f68132f53 Deprecate SEH flag; add value to exceptionhandling() 2015-07-09 15:06:14 +02:00
Jason Perkins
2a608f4ca4 Replace usages of NoExceptions and NoRTTI flags with exceptionhandling() and rtti() 2015-07-09 15:06:09 +02:00
Jason Perkins
4dc9745363 Fix mapping of exception handler and rtti values in tool adapters 2015-07-09 15:06:08 +02:00
Jason Perkins
2c3dbf682f Tweak release script for new versioning setup 2015-07-09 15:06:05 +02:00
Jason Perkins
bd2b887367 Add optional versions argument to require() 2015-07-09 15:06:03 +02:00
Jason Perkins
c3c288a139 Add a version comparison call with tests 2015-07-09 15:05:59 +02:00
Tom van Dijck
8574e25f9d Update vs2010_vcxproj.lua 2015-07-09 15:05:56 +02:00
Tom van Dijck
d3f9a18ff4 Update _premake_init.lua 2015-07-09 15:05:55 +02:00
Jason Perkins
89eb297f24 Embedded modules should now return "should load" test function from their _preload.lua script
Each _preload.lua should end by returning a function of the form `function (cfg) … end`, which should itself return true if the module is required by the provided configuration. For the D language module, this might look like `return function (cfg) return cfg.language == "D" end`
2015-07-09 15:05:53 +02:00
Jason Perkins
21706c3e82 A bit of clean up on release support files 2015-07-09 15:05:52 +02:00
Jason Perkins
8d17e12b23 Update CHANGES and CONTRIBUTORS 2015-07-09 15:05:51 +02:00
Tom van Dijck
0432d192e4 convert exceptionhandling, rtti and editandcontinue flags from boolean to "tri-states". 2015-07-09 15:05:50 +02:00
Tom van Dijck
046abc1331 add new exceptionhandling and rtti API's, deprecate the corresponding flags. 2015-07-09 15:05:47 +02:00
Gabi Davar
7de66f1199 Add file.directory token
Useful for buildrules which require the directory of the file separate from its basename (protobuf 2.x).
Example:

``` lua

       -- One or more commands to run (required)
       protobuf_base = path.getabsolute(path.join(os.getcwd(), 'Third-Party/nanopb'))

       buildcommands {
            protobuf_base .. '/bin/protoc.exe -o%{cfg.objdir}/%{file.basename}.pb --proto_path=%{file.directory} %{file.abspath}',
```
2015-07-09 15:05:40 +02:00