Commit Graph

2501 Commits

Author SHA1 Message Date
Tom van Dijck
dd3cbd3feb add a case to test parent flags... 2016-09-06 11:54:04 -07:00
Tom van Dijck
1559c15ee0 workaround for https://github.com/premake/premake-core/issues/572 2016-09-06 11:27:45 -07:00
Tom van Dijck
ad24b31a56 Merge pull request #574 from Blizzard/fix-typo
fix bug in deprecation handler.
2016-09-01 16:43:53 -07:00
Tom van Dijck
b230039fee fix bug in deprecation handler. 2016-09-01 16:41:39 -07:00
Tom van Dijck
72e30c9fd8 Merge pull request #546 from Blizzard/update-curl-mbedtls
Update curl and use mbedtls instead of openssl.
2016-08-31 17:25:09 -07:00
Tom van Dijck
f56f713b99 Add tests for http.get 2016-08-30 12:06:06 -07:00
Tom van Dijck
f7468b66bf Clean up curl wrapper a bit... 2016-08-30 12:05:43 -07:00
Tom van Dijck
9a0b279a27 Update curl and use mbedtls instead of openssl. 2016-08-30 10:07:30 -07:00
Tom van Dijck
18e9824622 Merge pull request #570 from nmoehrle/fix-os-execute-path-normalization
Fix path normalization within os.execute
2016-08-25 11:10:43 -07:00
Nils Moehrle
8e37cac91b Only normalize paths within os.execute (c.f. #320 akaStiX/premake-core@369c5ab) 2016-08-25 16:46:22 +02:00
Tom van Dijck
702d5947b3 Merge pull request #554 from Blizzard/add-uncached-subcontext
Add an 'uncached' sub-context to the context.
2016-08-23 17:51:28 -07:00
Tom van Dijck
d2580bab86 Adding some tests. 2016-08-22 16:06:55 -07:00
Tom van Dijck
8b7b4c1139 Custom Rule fixes. 2016-08-22 15:13:30 -07:00
Tom van Dijck
7b712d7ce3 Add an 'extended' & 'uncached' sub-context to the context.
Context sensitive detokenization of Visual Studio rules property definitions.
2016-08-22 15:13:30 -07:00
Tom van Dijck
7fc49130ea Merge pull request #543 from noresources/macosx-no-arch-libdirs
do not add architecture-dependent library directories on macOS
2016-08-18 08:11:21 -07:00
Tom van Dijck
113b717d22 Merge pull request #401 from yuyoyuppe/link-mode-prefs
Link mode preference
2016-08-17 09:49:22 -07:00
Tom van Dijck
fbd2c40bf6 Merge pull request #525 from Blizzard/FastLink
Adding /Debug:FastLink support for VS2015.
2016-08-17 09:38:52 -07:00
Tom van Dijck
fd4b937449 Merge pull request #568 from tritao/rpaths
Use rpaths & soname/install_name to link sibling shared libraries on OS X and Linux
2016-08-17 09:36:44 -07:00
Joao Matos
e06218c885 use rpaths & soname/install_name to link sibling shared libraries on OS X and Linux
new api runpathdirs().
	<toolset>.getrunpathdirs() adds user defined rpath set using runpathdirs().
	handle runpathdirs in gcc, clang and snc.

make.list() can now add quotes to list elements

Original patch by Renaud Guillard (@noresources).
2016-08-17 16:48:41 +01:00
Tom van Dijck
1d0a35b1d7 Fix in vs2010_nuget.lua 2016-08-11 09:13:02 -07:00
Tom van Dijck
326a2e5cd6 update codelite submodule to latest master. 2016-08-11 09:13:02 -07:00
Jason Perkins
03cf64e36f Merge pull request #562 from manxorist/package-vs2015
Add VS2015 project files to release packaging script.
2016-08-08 06:38:40 -04:00
Jörn Heusipp
faed3f9ca9 Add VS2015 project files to release packaging script. 2016-08-08 12:10:51 +02:00
Samuel Surtees
c4157062bc Merge pull request #561 from manxorist/vs201x-vector-ia32
Add vectorextensions "IA32" support for VS>=2012 on x86. (#560)
2016-08-08 19:50:47 +10:00
Jörn Heusipp
8afb5e8ffa Add test to verify that vectorextensions "IA32" emits nothing with vs2010. 2016-08-08 11:37:32 +02:00
Jörn Heusipp
34b4b2021d Add test for vectorextensions "IA32". 2016-08-08 11:10:47 +02:00
Jörn Heusipp
a0bd1612e4 Add "IA32" to valid vectorextensions values. 2016-08-08 10:59:25 +02:00
Jörn Heusipp
60899329a8 Add vectorextensions "IA32" support for VS>=2012 on x86. (#560) 2016-08-07 13:42:03 +02:00
Tom van Dijck
5d09255425 allow multiple extensions for a custom rule. (#555) 2016-08-01 14:41:25 -07:00
Tom van Dijck
9f67feb923 Add support for kind="list:path" in rule properties. (#553) 2016-08-01 14:40:40 -07:00
Tom van Dijck
48bf0a2b5e Allow an action to initialize itself before user scripts run. (#556)
* Allow an action to initialize itself before user scripts run.
2016-08-01 14:39:50 -07:00
Tom van Dijck
6971902731 Adding /Debug:FastLink support for VS2015. 2016-07-28 16:01:13 -07:00
Renaud Guillard
b7bdfb258d add tests 2016-07-28 21:33:27 +02:00
Tom van Dijck
be26dd6faf Merge pull request #549 from starkos/fix/premake5-lua-symbols
Put back the old Symbols flag in premake5.lua
2016-07-22 09:03:14 -07:00
Jason Perkins
d304c05856 Put back the old Symbols flag, until everyone has a chance to catch up with the new APIs. 2016-07-22 10:05:55 -04:00
Tom van Dijck
131cc21f28 Merge pull request #544 from Euclideon/symbols_api
symbols api introduced and working, with tests.
2016-07-19 08:18:48 -07:00
David Ely
d3d8269e7a symbols api introduced and working, with tests. 2016-07-19 16:29:26 +10:00
Renaud Guillard
3264c59f45 do not add architecture-dependent library directories on macOS 2016-07-17 19:27:24 +02:00
Jason Perkins
38ddf0b8eb Merge pull request #536 from Euclideon/expandtoken_fix
Fix regression in expandtoken
2016-07-14 12:01:31 -04:00
Jason Perkins
41580049be Merge pull request #532 from Euclideon/group_user_libs
Rearranged --start-group --end-group to enclose only the user libs.
2016-07-14 11:58:31 -04:00
Jason Perkins
c919827351 Revert "Add generated files to vxcproj file." (#539)
This reverts commit a2170a4f9e.
2016-07-14 12:46:20 +10:00
Manu Evans
0ce3015cf0 Fix regression in expandtoken 2016-07-11 17:13:06 +10:00
Manu Evans
a2b5fa727d Rearranged --start-group --end-group to enclose only the user libs. 2016-07-08 14:27:54 +10:00
Tom van Dijck
ab1b4edcb7 Merge pull request #527 from mendsley/removeextravar
Remove extra argument to os.match
2016-06-30 14:54:15 -07:00
Tom van Dijck
b6dc613f24 Merge pull request #526 from mendsley/cachefileattr
Use cached file attributes during matching
2016-06-30 08:54:34 -07:00
Matthew Endsley
dc2651fdd4 Remove extra argument to os.match
This value will always be ignored as os.match only takes a single
argument and is not needed to generate correct results.
2016-06-30 02:41:28 +00:00
Matthew Endsley
bd19650f92 Use cached file attributes during matching
When _DIRENT_HAVE_D_TYPE is defined, struct dirent defines a
d_type member that will indicate if the type of the entry. This
saves an expensive syscall for each entry which can really add
up on slow filesystems (such as VirtualBox's shared folder FS).

We use the same logic as do_isfile, and return a 1 when the entry
is not a directory, and a 0 otherwise.

For our large project this reduced the overall stat syscalls from
118,865 to 39,177 and total premake generation time from 59,977ms
to 20,729ms on vboxsf.

See: https://gist.github.com/mendsley/4b56932056d5c231a94d1cdefd15c027
2016-06-30 00:40:08 +00:00
Tom van Dijck
5719c8f92a Adding 'symbolspath' API to allow specifying where the pdb file goes. (#524) 2016-06-22 09:18:03 -07:00
Tom van Dijck
c947338945 Symbols API. (#523)
* Symbols API.

* presedence bugfix.
2016-06-22 08:36:42 -07:00
Tom van Dijck
6b30ce5908 Print full text in test_assertions (#522)
It makes it easier to see what is wrong.
2016-06-22 08:36:14 -07:00