Commit Graph

42 Commits

Author SHA1 Message Date
Jason Perkins
d73e9af2ed Add external…() version to all container creation calls 2014-10-18 16:33:13 -04:00
Jason Perkins
42cb65e0cb Allow ExcludeFromBuild flag to exclude entire configurations (VS only) 2014-07-29 16:00:02 -04:00
Jason Perkins
ce0e8f8e90 Merged in triton/premake-cs-fixes/defplatform (pull request #108)
Added support for setting default platforms and implemented the VS action.
2014-07-17 11:48:41 -04:00
Jason Perkins
f38c76a3ee Fix handling of dependson() for VS C# projects (João Matos) 2014-07-15 18:31:26 -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
triton
dc18aba44a Added support for setting default platforms and implemented the VS action. 2014-03-18 22:01:59 +00:00
Jason Perkins
1cbc2bef9d Clean up pass over output APIs used by exporters
- Reworked _p() and _x() over new indentation-aware output APIs
- Added proper APIs for setting indentation, EOL sequence, and value escaping
- Moved functions intended for exporters to premake.lua (with generation and validation calls)
2014-02-08 10:44:57 -05:00
Jason Perkins
d9a9919f49 Use DOS-style environment variables in VS solution paths 2014-01-13 17:10:53 -05:00
Jason Perkins
708175e24b Split baking back out into own source file; prevent automatic baking of "raw" objects 2013-11-14 08:52:55 -05:00
Jason Perkins
7c8881ddb2 Remove nextgen fields and _ng suffixes everywhere 2013-09-13 11:52:00 -04:00
Jason Perkins
4d653106e6 Use matching build configuration or platform, if available, when building names for excluded project configurations 2013-08-11 09:47:07 -04:00
Jason Perkins
08de36c098 Write ActiveCfg entries for excluded configurations in VS solutions, to avoid rewriting on save 2013-05-31 09:33:02 -04:00
Jason Perkins
bbcafa0d6f Add new configuration kind "None" to support non-building Visual Studio configurations (i.e. header-only projects) 2013-05-27 10:21:10 -04:00
Jason Perkins
4bd950d130 Make escaping function configurable; fix (non-)escaping of quotes in VS'10 and '12 2013-05-22 11:15:48 -04:00
Jason Perkins
e0e4b23a5d More reconciliation with Visual Studio project formats:
- sort solution configurations by case-insensitive names
- add trailing CR-LF to custom build steps
- remove empty Filter attributes from folder filter elements
2013-05-21 08:48:22 -04:00
Jason Perkins
2e278af5e2 Cleaned up implementation of solution(), project(), configuration(); now activate scope when called without arguments 2013-02-15 18:57:34 -05:00
Jason Perkins
974d1a7d04 Added startproject() to specify startup project 2013-01-09 11:41:32 -05:00
Jason Perkins
749df96f38 Write out solution groups even if first project is ungrouped 2013-01-09 10:03:50 -05:00
Jason Perkins
89d413d9d5 Visual Studio solutions now use the same project ordering in all sections; avoids unnecessary changes if the solution is later changed within Visual Studio 2013-01-08 13:19:56 -05:00
Alexey Orlov
4d6d61035c merge premake-dev->premake-dev-domu 2012-12-30 22:57:24 +03:00
Jason Perkins
4c7fc6881b Add support for solution groups 2012-12-18 11:09:50 -05:00
Jason Perkins
cba537a825 Add architecture support to Visual Studio C# projects 2012-11-26 14:05:33 -05:00
Alexey Orlov
6a1e7eecb8 added dependson command to allow dependency without linking 2012-11-20 00:08:48 +03:00
Jason Perkins
13cb60a94b Prevent duplicate config blocks in VC200x projects; clean up tests and remove old solution implementations 2012-11-19 15:47:59 -05:00
Jason Perkins
3af00f8773 If platform matches a known architecture, omit the identifier from Visual Studio configurations (allows configuration mapping to external projects which use multiple architectures per project configuration). 2012-11-17 15:49:06 -05:00
Jason Perkins
77212557dc Merge new configuration system into the public APIs 2012-11-04 09:21:58 -05:00
Jason Perkins
1747035050 Added filename(); set solution or project file name independently of the solution or project name 2012-10-24 15:40:25 -04:00
Jason Perkins
a4d67cea10 Fixed handling of architectures, including .NET "Any CPU", in VS 2005+ solutions 2012-09-25 10:03:21 -04:00
Jason Perkins
1bdf2f2e31 Improved handling of architecture and .NET projects in VS solution configurations 2012-09-24 11:16:27 -04:00
Jason Perkins
72d4331f65 Fixed handling of .NET configurations in VS2005+ solution platforms block 2012-09-20 18:07:19 -04:00
Jason Perkins
73146fa066 Disregard project configuration lists when iterating solution configurations 2012-05-08 14:09:07 -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
Jason Perkins
e0a6ca727c Configurations and platforms may now be specified per-project 2012-02-19 12:31:20 -05:00
Jason Perkins
7c2736369f Xbox360 fixes for VS2010 2012-02-10 14:53:43 -05:00
Jason Perkins
665ef8b86a Added new output function _x(), XML escapes all arguments before printing 2012-01-12 18:27:30 -05:00
Jason Perkins
8c9c451bdb Added new action "vs2008ng", implemented solutions using new platforms API 2012-01-12 16:59:15 -05:00
Jason Perkins
2baa0ce3ad Ported VS2008 .vcproj Platforms and Configuration blocks to new platforms API 2012-01-04 17:16:06 -05:00
Jason Perkins
8f8a1a989f Implemented new ProjectConfigurationPlatforms for VS2008, supporting the new platforms API 2012-01-04 16:15:36 -05:00
Jason Perkins
5533461428 Implemented new SolutionConfigurationPlatforms handler for VS2008, supporting improved configurations 2012-01-03 17:08:22 -05:00
Jason Perkins
eccd1720ba More cleanup; preparing the virtual path stuff 2011-05-18 17:32:04 -04:00
Jason Perkins
bb94e9de81 [#3100379] C# support for Visual Studio 2010 2011-02-16 15:16:07 -05:00