Commit Graph

2031 Commits

Author SHA1 Message Date
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
Tom van Dijck
155dbe48bb adding table.filterempty to vstudio.path 2015-07-09 15:05:38 +02:00
Tom van Dijck
cd80c5a9c5 oops.. remove out paths. 2015-07-09 15:05:34 +02:00
Tom van Dijck
b874b79597 filter out /./ in path.join and path.normalize 2015-07-09 15:05:33 +02:00
Tom van Dijck
812d374a87 add inlining API. 2015-07-09 15:05:31 +02:00
Bastien Brunnenstein
75eb183296 Fix #39, working tokens and wildcards in the same path
Add a "translate" accessor to field kinds, allowing to perform a custom
processing (after detoken has happened)
Detoken is now applied to the "remove" elements
Detoken and translate are now performed in configset.fetch
2015-07-08 17:26:14 +02:00
Damien Courtois
b228a68919 fixed incorrect backslashes escaping outside of tokens 2015-07-07 14:43:31 +02:00
Jason Perkins
86d40be605 Fix unit tests broken by the previous commit 2015-07-05 12:51:36 -04:00
starkos
9e1b733e78 Merge pull request #138 from Blizzard/targetdir-default-fix
fix targetdir default.
2015-07-05 12:30:36 -04:00
starkos
080c78455a Merge pull request #130 from tbasnoopy/customtoolnamespace
add customtoolnamespace
2015-07-05 12:23:18 -04:00
starkos
e04c4292ac Merge pull request #103 from Blizzard/inline
add inlining API.
2015-07-05 12:21:53 -04:00
Tom van Dijck
31e3588d54 fix unit-tests. 2015-07-02 07:14:26 -07:00
starkos
b3639127cc Merge pull request #137 from starkos/lto-support
Add link time optimization support for GCC and Clang
2015-07-01 16:27:53 -04:00
starkos
9a64c379cd Merge pull request #135 from rhuvendiek/master
Add midl compiler tags to Visual Studio vxproj files
2015-07-01 14:11:54 -04:00
rhuvendiek
2014046021 Add unit test for MIDL generator. 2015-07-01 16:52:53 +02:00
Tom van Dijck
c3d9ca6c89 fix targetdir default. 2015-06-30 15:02:52 -07:00
Jason Perkins
d0e6042406 Add link time optimization support for GCC and Clang 2015-06-30 16:20:10 -04:00
rhuvendiek
a50cbe5c83 Merge branch 'master' of https://github.com/premake/premake-core 2015-06-29 14:05:28 +02:00
rhuvendiek
94374e496b Write entries to compile idl files with MIDL into vcxproj-files. 2015-06-29 13:56:15 +02:00
Jason Perkins
8f8fb3646c Update modules to latest versions 2015-06-26 16:33:35 -04:00
Manu Evans
3cdfaa705b Merge pull request #132 from starkos/fix-preloading
Fix preloading of embedded modules
2015-06-26 10:47:17 +10:00
starkos
5ce2bc0a7b Merge pull request #127 from starkos/exception-rtti-fixes
Finish switching to exceptionhandling() and rtti()
2015-06-25 15:35:05 -04:00
Jason Perkins
6a66587079 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-06-25 14:18:14 -04:00
starkos
6ee9747358 Merge pull request #128 from leeonix/master
modify gmake Makefile LINKCMD $(TARGET) to "$@" issue #125
2015-06-25 13:14:06 -04:00
tbasnoopy
26326835c9 add customtoolnamespace 2015-06-25 11:34:46 +02:00
tbasnoopy
c9147296ce allow changing of local debugger type 2015-06-25 11:30:48 +02:00
leeonix
a01225a90a modify gmake Makefile LINKCMD $(TARGET) to "$@" issue #125 2015-06-25 07:03:10 +08:00
starkos
cab15e8277 Merge pull request #123 from starkos/require-version
Add optional versions argument to require()
2015-06-24 15:08:53 -04:00
Jason Perkins
e22834a220 Add more informative deprecation warnings for NoExceptions and NoRTTI flags 2015-06-23 19:06:25 -04:00