Commit Graph

2188 Commits

Author SHA1 Message Date
Tom van Dijck
681c458e31 Make it support UTF-8 strings, like all other methods. 2017-06-20 09:57:20 -07:00
Tom van Dijck
02a591271e fix call to do_isfile 2017-06-20 09:53:43 -07:00
R. Blaine Whittle
777fadae95 Added os touchfile and a workaround for vs2010 reloading
vs2010 (and above) has an issue where if the vcxproj file
isn't modified but the.vcxproj.filters is modified during
premake, then VS doesn't notify the user that the project has
changed.  This can occur if the only change to a project is
with the vpaths.  Before this fix, the user would be need to
manually unload and reload the project to pick up the change.

This VS workaround checks for the case where the vcxproj.filters
file is modified but the .vcxproj file is not. At which point
premake preforms a touch on the .vcxproj file to trigger the IDE.
2017-06-20 09:53:43 -07:00
Tom van Dijck
3f2f40c5fa Move VStudio action into a module. 2017-06-19 13:12:05 -07:00
Tom van Dijck
22cebb4dfa Merge pull request #816 from Blizzard/fix-cpp17-flags
Fixed C++17 flag to work with current versions of Clang.
2017-06-19 13:09:59 -07:00
Tom van Dijck
4db1a6ca82 Merge pull request #821 from Blizzard/colors-on-linux
Attempt at colors on linux
2017-06-19 13:08:39 -07:00
Tom van Dijck
8d509c6d75 Merge pull request #805 from Blizzard/insecure-option
Add --insecure option for SSL curl requests.
2017-06-19 13:06:51 -07:00
Tom van Dijck
05cf8d3c7f Make module of 'gmake' action. 2017-06-19 12:15:13 -07:00
Tom van Dijck
971f7b58dc Fix os.outputof for lua 5.3.4 2017-06-19 12:11:49 -07:00
Tom van Dijck
7d503ad511 Define TRUE/FALSE if not already defined. 2017-06-19 12:11:49 -07:00
Tom van Dijck
7b9ff9f840 Update to Lua 5.3.4 2017-06-19 12:11:49 -07:00
Tom van Dijck
f30463e6d6 Attempt at colors on linux 2017-06-19 03:00:59 -07:00
Tom van Dijck
e007c344a8 Merge pull request #808 from Blizzard/rtti-per-file
Added per file rtti generation for Visual Studio
2017-06-18 15:12:59 -07:00
Tom van Dijck
b86a9e4802 Merge pull request #806 from Blizzard/add-issemver
Add premake.isSemVer function
2017-06-18 15:11:32 -07:00
Tom van Dijck
4619b18053 add test 2017-06-18 15:09:50 -07:00
bwhittle
3eede41a93 Added visual studio support for dot net .tt files (#90) 2017-06-18 14:45:19 -07:00
Tom van Dijck
d9faf2ea3f Merge pull request #810 from Blizzard/masm-seh
Added masm handling of seh exception handling for VS2010 and above
2017-06-18 14:42:27 -07:00
Tom van Dijck
a767d08747 Get color from term.errorColor. 2017-06-18 14:18:24 -07:00
Tom van Dijck
d0daa08f88 Errors in red. 2017-06-18 14:18:24 -07:00
Tom van Dijck
f4c8fe4dc5 Merge pull request #812 from Blizzard/cpp-dialect-vs2015+
Add support for cppdialect in VS2015 & VS2017 actions.
2017-06-18 12:49:52 -07:00
Tom van Dijck
b65a2b6d64 Merge pull request #813 from Blizzard/encode-pretty
Add json.encode_pretty wrapper.
2017-06-18 12:49:29 -07:00
Tom van Dijck
8e083bba09 Merge pull request #814 from Blizzard/premake-info
Add premake.info message function.
2017-06-18 12:49:10 -07:00
Tom van Dijck
3f225eb7f2 Merge pull request #803 from Blizzard/gmake2-module
Gmake2 module
2017-06-14 13:18:35 -07:00
James Touton
a6cf05295a Fixed C++17 flag to work with current versions of Clang. 2017-06-14 13:14:34 -07:00
Tom van Dijck
0936e3a25b Add premake.info message function. 2017-06-14 13:08:38 -07:00
Tom van Dijck
dfc5fd64c3 Add json.encode_pretty wrapper. 2017-06-14 13:06:23 -07:00
Tom van Dijck
5251432aec Add support for cppdialect in VS2015 & VS2017 actions. 2017-06-14 13:04:59 -07:00
R. Blaine Whittle
9fadce2c69 Fix to masm support for SEH to work on a per file basis 2017-06-14 12:59:16 -07:00
R. Blaine Whittle
f14090974a Added masm handling of seh exception handling for VS2010 and above 2017-06-14 12:59:09 -07:00
R. Blaine Whittle
3ff5343769 Added per file rtti generation for VS 2017-06-14 12:56:04 -07:00
Tom van Dijck
c235647f16 Add 'premake.isSemVer' method. 2017-06-14 12:51:41 -07:00
Tom van Dijck
1268d8eb4c Filter out non-semver version when doing a require. 2017-06-14 12:51:29 -07:00
Tom van Dijck
6907f6785c Merge pull request #718 from Blizzard/add-notset-characterset
Adding support for NotSet characterset in VS2010+ (#79)
2017-06-13 14:25:13 -07:00
Tom van Dijck
3016d51e28 Add --insecure option for SSL curl requests. 2017-06-13 13:37:21 -07:00
Tom van Dijck
21631dd0e9 Adding tests, and fixing a few typos. 2017-06-13 12:11:54 -07:00
Tom van Dijck
d7b6f77abc fix switch/separator in rules_xml 2017-06-13 11:59:05 -07:00
Tom van Dijck
34bb100e75 Merge pull request #781 from Blizzard/criteria-tables
Allow filters to be written as tables:
2017-06-13 11:48:28 -07:00
Tom van Dijck
ef5828404c ASCII instead of NotSet, and add more tests. 2017-06-13 11:46:35 -07:00
Jacob Repp
cc107a4da4 Adding support for NotSet characterset in VS2010+ (#79) 2017-06-13 11:34:58 -07:00
Tom van Dijck
b66994d7d0 Merge pull request #802 from aleksijuvani/suppress-mkdir-warning
Suppress mkdir warning on Windows if the folder already exists
2017-06-13 11:20:10 -07:00
Tom van Dijck
230efba691 Adding gmake2 module 2017-06-13 09:51:58 -07:00
Tom van Dijck
80c7ed3099 [core] Add utility methods for rule and table. 2017-06-13 08:56:06 -07:00
Tom van Dijck
6841eb1752 [core] Allow filters to be written as:
```lua
filter {
    files  = { "**.c" },
    system = "windows"
}
```
2017-06-13 08:39:47 -07:00
Tom van Dijck
6437cfddd9 Merge pull request #788 from Blizzard/os-tags
Provide a way to 'tag' systems, and filter on those tags.
2017-06-13 08:32:42 -07:00
Aleksi Juvani
51a77ad34c Suppress mkdir warning on Windows if folder exists 2017-06-13 16:00:10 +03:00
Renaud Guillard
325edfcb6f create object directory before generating precompiled header 2017-06-01 19:06:21 +02:00
Tom van Dijck
1cddb0dffa Merge pull request #787 from DrLynix/compare-files-function
os.comparefiles function
2017-05-25 08:47:14 -07:00
Tom van Dijck
838c256686 Merge pull request #779 from noresources/findheader
add os.findheader()
2017-05-25 08:46:15 -07:00
Tom van Dijck
235d364756 Merge pull request #785 from DrLynix/unicode-file-operations-win32
Unicode file functions for Windows
2017-05-25 08:44:19 -07:00
Tom van Dijck
c5c3cd5b2c Merge pull request #776 from Blizzard/dialect-language
[core] Use 'cdialect' and 'cppdialect' instead of 'language'.
2017-05-25 08:43:53 -07:00