Jason Perkins
14525e8161
Changes names in core test suites
2015-08-28 16:16:14 -04:00
Sam Surtees
773aecbee7
Added test case to ensure the functionality isn't broken in the future.
2015-08-27 22:35:04 +10:00
Sam Surtees
0f3972c914
Windows copy function no longer uses /E when used on a file
...
* Added some basic tests to ensure combinations work
* Fixes : #124
2015-08-27 20:44:14 +10:00
starkos
703ff8ec54
Merge pull request #225 from LORgames/ssurtees/ignoreDefaultLibraries
...
Added ignoreDefaultLibraries API for Visual Studio 2010+ projects.
2015-08-25 16:52:47 -04:00
Sam Surtees
5d6d05c31d
Added ignoreDefaultLibraries API for Visual Studio 2010+ projects.
2015-08-25 20:33:46 +10:00
Jason Perkins
04a7170d6c
Finish solution to workspace renames in core code
2015-08-24 17:08:09 -04:00
Jason Perkins
1dd9e9fae2
Fix output deltas caused by recent file buffering additions
...
- Restore trailing EOL sequences to Visual Studio projects and solutions
- Fix UTF8 BOM marker on VC 2010 projects
2015-08-24 16:08:17 -04:00
Sam Surtees
b5ccf23105
The links API, for visual studio, no longer appends .lib if an extension already exists. Fixes #87
2015-08-24 23:51:48 +10:00
starkos
355d2e3f3c
Merge pull request #218 from starkos/fix-cs-platforms
...
Fix handling of arbitrary platform names in Visual Studio C# projects
2015-08-23 15:37:17 -04:00
Jason Perkins
8bfaef3e8f
Merge branch 'buffered-io' of https://github.com/Blizzard/premake-core into Blizzard-buffered-io
2015-08-23 15:18:50 -04:00
Jason Perkins
072b47eb56
Added unit test for new search ability
2015-08-23 14:53:56 -04:00
Jason Perkins
007b8a2385
Fix handling of arbitrary platform names in Visual Studio C# projects
2015-08-20 15:34:23 -04:00
StiX
3cea1dce35
Merge branch 'master' into PathNormalizationFix
2015-08-20 21:30:30 +02:00
StiX
16dded0499
Fixed path.normalize
2015-08-12 00:21:23 +02:00
Jason Perkins
1eb38c9fc1
Rename solution to workspace in oven and validation code
2015-08-11 16:31:17 -04:00
Jason Perkins
3d778a7151
Rename solution to workspace in global.lua and propagate changes
2015-08-10 13:05:26 -04:00
starkos
d8782c076a
Merge pull request #162 from leeonix/master
...
rename .pdb file name as targetname.
2015-08-04 12:09:07 -04:00
Manu Evans
04a7cd1546
Silence warnings about arguments unknown to Clang, fixed a mistake
2015-08-02 12:34:28 +10:00
Manu Evans
eab093302c
Support LLVM platform toolset for MSC; Clang in Visual Studio.
2015-08-02 12:34:27 +10:00
Lusito
15ceabac48
fix for path.join problem when both string start with a "..", a unit test has been added
2015-08-01 21:10:02 +02:00
leeonix
a52c947838
update test_compile_settings.lua
2015-08-01 09:28:07 +08:00
leeonix
dd8c5f1818
Merge remote-tracking branch 'premake-src/master'
2015-08-01 09:21:57 +08:00
starkos
236dd35f62
Merge pull request #145 from Meoo/master
...
Fix #39 , working tokens and wildcards in the same path
2015-07-31 16:08:43 -04:00
Tom van Dijck
21f4046793
Buffered I/O, and only write generated file if it changed.
2015-07-31 09:28:51 -07:00
Jason Perkins
91220c7d71
Replace "wrk" with "wks"
2015-07-30 15:30:41 -04:00
Jason Perkins
2db9ed2061
Change solution() to workspace() with minimum changes
2015-07-28 19:08:28 -04:00
Jason Perkins
e84cc11412
Add ability to safely alias function names without breaking overrides
...
Introduces new calls premake.alias() and premake.resolveAlias()
2015-07-28 17:20:13 -04:00
leeonix
e8a7ce64ff
update test_compile_settings.lua
2015-07-22 15:14:06 +08:00
Jason Perkins
de7b6e001d
Code cleanup; finish converting to new indentation-aware output APIs
2015-07-15 16:52:56 -04:00
Bastien Brunnenstein
cc1ec554af
Add a small test suite for tokens and wildcards in "files"
2015-07-10 11:33:23 +02: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
Jason Perkins
349c6f891c
Add link time optimization support for GCC and Clang
2015-07-09 15:06:32 +02:00
leeonix
91ec1f2f4f
modify gmake Makefile LINKCMD $(TARGET) to "$@" issue #125
2015-07-09 15:06:18 +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
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
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
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
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
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
rhuvendiek
2014046021
Add unit test for MIDL generator.
2015-07-01 16:52:53 +02:00
Jason Perkins
d0e6042406
Add link time optimization support for GCC and Clang
2015-06-30 16:20:10 -04: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
leeonix
a01225a90a
modify gmake Makefile LINKCMD $(TARGET) to "$@" issue #125
2015-06-25 07:03:10 +08:00
Jason Perkins
f59651f3f6
Deprecate SEH flag; add value to exceptionhandling()
2015-06-23 19:03:28 -04:00
Jason Perkins
313a7c31ce
Replace usages of NoExceptions and NoRTTI flags with exceptionhandling() and rtti()
2015-06-23 16:53:10 -04:00
Jason Perkins
5d98731c65
Add optional versions
argument to require()
2015-06-22 15:35:20 -04:00
Jason Perkins
bc55dc5796
Add a version comparison call with tests
2015-06-22 14:48:26 -04:00
starkos
0280d44efd
Merge pull request #104 from Blizzard/normalize-fix
...
filter out /./ in path.join and path.normalize
2015-06-21 19:30:45 -04:00
Tom van Dijck
8d0b2565b5
convert exceptionhandling, rtti and editandcontinue flags from boolean to "tri-states".
2015-06-16 08:44:18 -07:00
Tom van Dijck
307e04ed88
add new exceptionhandling and rtti API's, deprecate the corresponding flags.
2015-06-16 08:25:39 -07:00
Damien Courtois
f5d7ef1a5b
fixed a crash when a token contains non-escaped backslashes, and added a unit test
2015-06-15 18:15:03 +02:00
Manu Evans
2851751963
Merge pull request #99 from moomalade/make_cc_override
...
Enable Makefile environment overrides for CC,CXX and AR.
2015-06-13 10:43:04 +10:00
Tom van Dijck
678616b068
fix for /O2 not liking /RTC1
2015-06-10 16:32:09 -07:00
Tom van Dijck
fc9c8d224d
oops.. remove out paths.
2015-06-08 11:12:17 -07:00
Tom van Dijck
c3c2045d92
filter out /./ in path.join and path.normalize
2015-06-08 11:08:08 -07:00
Tim Wharton
45401aa57b
Enable Makefile environment overrides for CC,CXX and AR.
...
Check if CC, CXX or AR are their default values before assigning them their premake defaults.
If they are not at their default values, they have been overriden in the environment and we should leave them alone.
Overriding toolchains from the command line is useful when swapping between compilers.
For example: `CC=gcc-4.8.1 make -C build`
2015-06-08 04:46:16 +01:00
starkos
b23fcc0e2b
Merge pull request #12 from Blizzard/pr6
...
/O2 is incompatible with /RTC1
2015-05-25 19:42:29 -04:00
Jason Perkins
aafdc11626
Prevent environment variables from being trimmed out by ".." sequences in path.join()
2015-05-20 18:15:41 -04:00
starkos
d16b2f952f
Merge pull request #76 from starkos/vstudio-system-includes
...
Add system include and library search paths
2015-05-20 16:20:03 -04:00
Jason Perkins
304c091431
Merge remote-tracking branch 'origin/master' into vstudio-system-includes
2015-05-19 15:55:47 -04:00
Jason Perkins
c83634c105
Add support for sysincludedirs() and syslibdirs() to GCC, Clang, and MSC adapters
2015-05-19 15:55:11 -04:00
Tom van Dijck
6f20d21328
performance improvement by handling edge .. directories during path join
2015-05-18 18:08:36 -07:00
Tom van Dijck
e821e1f1da
fix unit-tests
2015-05-18 08:43:12 -07:00
Jason Perkins
7eb03dfa27
Add syslibdirs and VC 2010+ implementation
2015-05-17 17:53:55 -04:00
starkos
b1cbb27914
Merge pull request #61 from Blizzard/deprecated-args
...
Fixes for lua deprecated 'arg' usage.
2015-05-17 12:02:33 -04:00
Jason Perkins
8048890507
Merge branch 'master' of https://github.com/amc522/premake-core into amc522-master
...
# Conflicts:
# src/actions/vstudio/vs2010_vcxproj_user.lua
2015-05-17 12:01:04 -04:00
Jason Perkins
ee1f165c8a
Add sysincludedirs() and VC 2010+ implementation
2015-05-13 15:41:29 -04:00
tdijck
010397c15e
Fixes for lua deprecated 'arg' usage.
2015-05-11 10:18:17 -07:00
Manu Evans
c2b982885a
Merge pull request #60 from starkos/fix-rule-var-paths
...
Fix rule var paths
2015-05-09 10:54:53 +10:00
Jason Perkins
15fd9fd43b
Translate rule var paths for Visual Studio projects and make relative to project
2015-05-08 16:30:47 -04:00
Aaron
431c158a65
Fixed test for debugcommand for vc2010 action
2015-05-08 12:24:49 -04:00
Jason Perkins
a0881cbcff
Fix usages of old external function casing
2015-05-07 15:37:32 -04:00
Jason Perkins
2df200eb2d
Re-standardize all project APIs to Lua's all-lowercase style
...
See [this discussion topic](https://groups.google.com/forum/#!topic/premake-development/W1rRPcMmM0k )
2015-05-05 14:46:00 -04:00
Manu Evans
f01d7f726c
Merge pull request #48 from starkos/vs-platform-toolset
...
Modify toolset() to accept an option version number
2015-04-29 21:26:59 +10:00
Jason Perkins
32183f039f
Modify toolset() to accept an option version number.
...
toolset("gcc") -- specifies GCC with no specific version
toolset("gcc-4.8") -- GCC version 4.8
toolset("msc-100") -- MSC with platform toolset v100
toolset("v100") -- same as above
2015-04-28 18:50:56 -04:00
Jason Perkins
400f0fccdb
New API buildlog() to specify build log file path; implemented for Visual Studio 2010+
2015-04-28 16:30:23 -04:00
Jason Perkins
17f1843c71
Finish renaming architectures away from x32/x64
...
A number of tests were relying on the fact that x32/x64 were being converted implicitly to x86/x86_64. If/when we retire those symbols, all of those tests would break. Renamed them now to avoid having to sort it out later. Also fixed up comments to keep everything consistent.
2015-04-13 18:27:11 -04:00
Manu Evans
07e90323cd
Changed x32/x64 to explicit architecture names for clarity.
...
Aliases should probably be deprecated.
2015-04-13 21:41:08 +10:00
Jason Perkins
614cea1c98
Fix handling of "../../.." sequences in path.normalize()
2015-04-08 18:01:43 -04:00
Jason Perkins
4f511b2960
Merge branch 'cleanup-hg' of https://github.com/premake/premake-core
2015-04-04 11:29:40 -04:00
Jason Perkins
0557e38efd
Merge branch 'pr2' of https://github.com/Blizzard/premake-core
2015-04-04 11:17:24 -04:00
Manu Evans
1873aa77af
Surprisingly, the source code has referenced to .hg* files...
2015-04-03 13:30:46 +10:00
Jason Perkins
67bb8488d0
Back out exclude patterns on os.match()
2015-04-01 13:36:01 -04:00
Jason Perkins
5672a02792
Backout changeset 589733d6e9dc0e521bbf90a51dc1ef251b0fe46b
2015-04-01 13:35:12 -04:00
tdijck
71a286da8c
strip ../ in path.normalize
2015-03-31 11:49:47 -07:00
Jason Perkins
878d108367
Merged in ben_ratzlaff/premake-dev (pull request #146 )
...
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-03-29 17:46:35 -04:00
Jason Perkins
2c8facae20
Merged in dcourtois/premake-dev/issue_265 (pull request #159 )
...
fixed issue #265
2015-03-29 17:28:10 -04:00
Jason Perkins
346d3db25c
Allows to replace the extension - if exist - of a path (M Skibbe)
...
No magic but i really often need such a functionality. Espacialy for buildrules.
2015-03-29 17:25:22 -04:00
Jason Perkins
653416ead7
Merged in domu/premake-dev/dev/issue240 (pull request #130 )
...
Fix issue #240 , make os.match to get exclude patterns for dirs and files, os.rmdir now gets all dirs and filter out . and .. manually
2015-03-29 16:53:41 -04:00
Jason Perkins
eed8138a82
Fixed duplicate AVX test case name in GCC suite
2015-03-26 12:24:11 -04:00
Jason Perkins
0869ac5cb2
Implement AVX2 for Visual Studio 2013
2015-03-26 10:22:55 -04:00