Commit Graph

2587 Commits

Author SHA1 Message Date
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
53ed5f693e only add config if not already added. 2016-07-29 09:31:25 -07:00
Tom van Dijck
6971902731 Adding /Debug:FastLink support for VS2015. 2016-07-28 16:01:13 -07:00
Tom van Dijck
027e47373f Move to oven, controlled by flag. 2016-07-28 12:51:39 -07:00
Renaud Guillard
b7bdfb258d add tests 2016-07-28 21:33:27 +02:00
Tom van Dijck
fad541b183 Don't add linkable files,
Files in the ._.files table are absolute paths.
2016-07-22 14:32:27 -07: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
11acc612b3 Add generated files to vxcproj file. 2016-07-21 14:15:55 -07: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
Jason Perkins
3455d95a19 Merge pull request #518 from tvandijck/generated-files-vcxproj
Add buildable generated files to vxcproj file lists
2016-06-21 13:17:36 -04:00
Tom van Dijck
6f570b4396 Use PremakeOrganization instead of private AppVeyor account. 2016-06-21 09:54:06 -07:00
Tom van Dijck
a2170a4f9e Add generated files to vxcproj file. 2016-06-17 10:22:41 -07:00
Tom van Dijck
453c1eda8e test_runner failed to correctly count failed tests (#515)
https://github.com/premake/premake-core/issues/514
2016-06-15 14:38:47 -07:00
Tom van Dijck
1f5ea6a232 We need to actually compile the context of the rule, so we can propely use the "filter {}" system. (#511)
* We need to actually compile the context of the rule, so we can propely use the "filter {}" system.
2016-06-13 11:14:31 -07:00
Tom van Dijck
9e95d4a4eb Merge pull request #510 from Blizzard/fix-zlib-warning
fix a zlib compile warning.
2016-06-10 11:20:24 -07:00
Tom van Dijck
1bd7a009f1 fix zlib 2016-06-10 11:06:21 -07:00
Jason Perkins
a4a8ee19f8 Merge pull request #507 from Blizzard/rule-cpp-output
Allow rules to generate code that subsequently gets compiled.
2016-06-10 13:58:38 -04:00
Tom van Dijck
397d480a46 Merge pull request #504 from Blizzard/parent-to-classnew
provide the parent to class.new
2016-06-10 10:42:43 -07:00
Tom van Dijck
5b24ad2c94 Merge pull request #503 from Blizzard/linkgroups-api
https://github.com/premake/premake-core/wiki/linkgroups
2016-06-10 10:42:03 -07:00
Tom van Dijck
1153156e0e Merge pull request #508 from Blizzard/shallow-copy
Add table.shallowcopy
2016-06-10 10:00:59 -07:00
Tom van Dijck
cf55c15ff0 Merge pull request #509 from Blizzard/fix-usage-of-bit32
Fix usage of bit32.arshift
2016-06-10 09:10:08 -07:00
Tom van Dijck
2e8a26df5c Fix usage of bit32.arshift
added unit-test
2016-06-09 18:12:06 -07:00
Tom van Dijck
9282ab4f36 Add table.shallowcopy 2016-06-09 18:01:17 -07:00