Commit Graph

37 Commits

Author SHA1 Message Date
Tom van Dijck
fd41938832 Add toolset normalization, to stabilize the 'filter'. 2017-06-20 10:58:55 -07:00
Tom van Dijck
70e00883f8 Provide a way to 'tag' systems, and filter on those tags. 2017-05-19 14:50:47 -07:00
Sam Surtees
b251234b27 Cleaned up inconsistencies in whitespace 2017-04-26 03:40:43 +10:00
Sam Surtees
fa3328440e Increased consistency of p. usage 2017-04-25 16:41:30 +10:00
Sam Surtees
c543565f73 Fixed bug with objdirs prefix code '!'
- Fixed flawed tests that manipulated the actual result before testing it
- Added test to ensure prefix code '!' works
2016-10-28 01:53:55 +10:00
paskal
1227d5c620 Fixed testing of filtering. 2016-05-08 01:35:06 +02:00
paskal
be9f5c079e Merge commit 'bf94b638f36f996b1ad208cf5fbb564890650704' of https://github.com/tritao/premake-core 2016-05-03 11:03:47 +02:00
Sam Surtees
d382228ceb Converted premake-core tests over to use premake.action.set() instead of _ACTION 2016-02-06 13:35:54 +10:00
triton
bf94b638f3 Support toolset prefix in filters.
Tries to fix issue #257.
2015-09-10 03:37:38 +01:00
Jason Perkins
c3d2e226a3 Rename solution to workspace in test suites 2015-09-03 18:03:39 -04:00
Jason Perkins
14525e8161 Changes names in core test suites 2015-08-28 16:16:14 -04:00
Jason Perkins
1eb38c9fc1 Rename solution to workspace in oven and validation code 2015-08-11 16:31:17 -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
Jason Perkins
ccfc2b8b66 Allow "!" prefix to force an explicit object directory, disregarding project or configuration overlaps 2014-07-21 18:49:56 -04:00
Jason Perkins
f4e55da621 Added new filter() to replace configuration(), with required field prefixes
- use like: filter { "configurations:Debug" }
- supported prefixes: action, architecture, configurations, files, kind, language, options, platforms, system
- defaults to "configurations" if no prefix is specified
2014-04-25 11:53:01 -04:00
Jason Perkins
c79f93665a Add command line options to filter terms for configurations
--renderer=opengl can be used like: configuration { "renderer=opengl" }
  --release can be used like: configuration { "release" }
2013-12-10 11:59:35 -05:00
Jason Perkins
2800ebd010 Ported list handling to new configuration objects 2012-11-04 18:48:20 -05:00
Jason Perkins
77212557dc Merge new configuration system into the public APIs 2012-11-04 09:21:58 -05:00
Jason Perkins
d27fc9a3a8 Fixed single-star matches for file configuration blocks; *.c now matches file in same folder as config script 2012-10-11 10:59:05 -04:00
Jason Perkins
42f713857a Correctly handle tokens which expand to absolute paths within a path field 2012-10-08 11:06:37 -04:00
Jason Perkins
00d7bfc0da Made build and link targets available for token expansion 2012-07-23 17:21:06 -04:00
Jason Perkins
e96383c3ae Fixed expansion of solution-level tokens 2012-07-18 13:42:39 -04:00
Jason Perkins
f349259fa0 Remove…() now implicitly creates a new configuration block, so it will be applied in same context as it appears in the script 2012-06-30 14:33:28 -04:00
Jason Perkins
770dcdac48 Convert path tokens (i.e. targetdir) to project relative during expansion 2012-06-20 14:10:23 -04:00
Jason Perkins
4d1ad673fd Apply removes first instead of last, to give projects a way to clear the slate of solution level settings 2012-05-22 16:24:53 -04:00
Jason Perkins
e9a81b6f86 When configuration settings overlap, give precedence to the later settings 2012-05-21 17:55:07 -04:00
Jason Perkins
aded68ba8a Baking changes to support tokens in object directories 2012-04-26 09:26:44 -04:00
Jason Perkins
7675e057d2 Deep copy all object values, to allow unique per-target token expansions 2012-04-26 07:44:25 -04:00
Jason Perkins
391ec4eee6 Remove all configuration values from project; prevent top-level settings from bleeding through and causing side-effects at the config level 2012-04-25 19:10:37 -04:00
Jason Perkins
15662f30c9 oven.bake() now takes explicit basis object, no longer tries to set parent objects automatically 2012-04-24 16:36:52 -04:00
Jason Perkins
6bdcb86ece Can now expand cfg.objdir, file.basedir and file.path tokens 2012-04-23 18:18:31 -04:00
Jason Perkins
66585d36ae Fixed a project caching issue; performance is improved 2012-04-20 18:15:32 -04:00
Jason Perkins
0bbb323d0c Added support for basic token expansion; more work still needed 2012-04-20 16:08:42 -04:00
Jason Perkins
b930597f58 Enable token expansions on simple string fields 2012-04-18 15:15:56 -04:00
Jason Perkins
d12a97465b Cleaned up test suite for new oven 2012-04-16 18:54:01 -04:00
Jason Perkins
5cc291c313 Configuration mapping now working in Visual Studio 2008+, for most cases 2012-04-12 20:31:10 -04:00
Jason Perkins
8e326ff6f1 Fixes for key-array and the new api.register() path 2012-04-10 17:21:37 -04:00