Commit Graph

762 Commits

Author SHA1 Message Date
Jason Perkins
2cbab56592 A bit of consistency cleanup on the prior pull request 2012-04-16 18:24:35 -04:00
Jason Perkins
1e29737cd7 Merged in xpol/premake-dev (Add NoWarnings flags) 2012-04-16 18:17:49 -04:00
Jason Perkins
e73c1aeed3 Fix bug in configuration mapping when applied multiple maps 2012-04-14 13:16:49 -04:00
xpol
816eacf8be Revert the call to buildstepsblock() back to vs200x.buildstepsblock(). 2012-04-13 09:32:42 +08: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
21c44e57fd Added project-level filtering for configuration maps 2012-04-11 18:56:17 -04:00
xpol
ce1ae72f11 Add tests for the warnings flags. 2012-04-11 11:29:16 +08:00
xpol
a708f3ad82 Refactor to the duplicated code on output warnings blocks. 2012-04-11 11:28:44 +08:00
Jason Perkins
8e326ff6f1 Fixes for key-array and the new api.register() path 2012-04-10 17:21:37 -04:00
xpol
bd16eaedeb Add NoWarnings flags for Visual Studo to disable warnings (Very usefull when managing 3rd libraries). 2012-04-10 18:03:31 +08:00
Jason Perkins
86984a87de Added import library support to Visual Studio 2010 C++ projects 2012-04-09 14:51:08 -04:00
Jason Perkins
a68aa47e5f Added new array API value type, and started support for new key-value handling 2012-04-05 20:02:53 -04:00
Jason Perkins
22266a995d Start of API system overhaul, in support of configuration mapping 2012-04-04 16:21:22 -04:00
Jason Perkins
38ae459803 Fixes for VC2010 custom build rule handling 2012-03-29 20:01:02 -04:00
Jason Perkins
a1a0afd327 Prevent single-child ".." folders from appearing at the top of the source tree; merge project.eachfile() into project.getsourcetree() 2012-03-27 19:52:48 -04:00
Jason Perkins
0b241993c2 Merged file configurations and nodes in source trees 2012-03-27 18:54:15 -04:00
Jason Perkins
07f000ecda Folders containing a single sub-folder are now trimmed from top of the source tree 2012-03-27 18:33:15 -04:00
Jason Perkins
e563517031 Fixed VC2010 "attempt to index local 'cfg'" error 2012-03-23 10:23:48 -04:00
Jason Perkins
ef032d52cc Handle case where a library is specified with a system extension and end quote 2012-03-22 19:37:51 -04:00
Jason Perkins
f8fa020d64 Only add extension to libraries if it doesn't already exist; handle ending quote, if present, when appending extension 2012-03-22 19:30:34 -04:00
Jason Perkins
cc0c541843 Move file configuration building out of iterator, into caching pre-loop 2012-03-21 16:21:46 -04:00
Jason Perkins
a1f9c7c376 Renamed file config fullpath to relpath; better matches corresponding abspath field, less confusing 2012-03-21 16:10:16 -04:00
Jason Perkins
a2aa2f83e1 path.isabsolute() now recognizes quoted shell variables 2012-03-19 18:57:45 -04:00
Jason Perkins
8436afcd24 Added VC2010 support for custom build rules 2012-03-19 18:47:34 -04:00
Jason Perkins
1195fc387c Fixed project reference paths in legacy VC2010 action 2012-03-18 18:12:53 -04:00
Jason Perkins
ff7065a239 Patch #3505901: Make VC2010 PCH behavior match VC200x 2012-03-18 17:53:19 -04:00
Jason Perkins
d90942b318 Implemented basic custom build rules for VC2008 2012-03-15 20:02:46 -04:00
Jason Perkins
f1f6304e9b Added support for file configurations to oven; full file configurations now available to actions 2012-03-14 18:20:01 -04:00
Jason Perkins
399739d012 Added buildrule() to the API 2012-03-12 19:51:10 -04:00
Jason Perkins
198a9896fb Configurations that have been excluded from all projects are no longer listed in the solution 2012-03-05 17:45:42 -05:00
Jason Perkins
b64395526d Fixed config.getlinks(), can now find sibling projects properly 2012-03-01 19:25:34 -05:00
Jason Perkins
36978f5063 GCC and SNC can now link object files directly 2012-02-29 16:05:45 -05:00
Jason Perkins
f4a10dec03 Fixed VC2010 linking to PS3 libraries 2012-02-28 18:09:12 -05:00
Jason Perkins
adb36bf3e1 Fixed SNC linking to static library projects 2012-02-28 17:14:28 -05:00
Jason Perkins
5761e86cb6 Ported GCC and SNC linker flag generation to new tool APIs 2012-02-28 16:15:46 -05:00
Jason Perkins
9377e7b415 Store the name of script in which a project is defined along with the project metadata 2012-02-28 12:12:05 -05:00
Jason Perkins
8529bb0ea9 Only truncate next-gen action identifiers if they actually end in "ng" 2012-02-27 16:35:32 -05:00
Jason Perkins
cd6852b896 Target base name now includes prefix; replaced magical "ng" suffix with explicit flag to make migration easier 2012-02-24 16:22:35 -05:00
Jason Perkins
91e69b35e1 Fixed handling of targetextension (was ignored) 2012-02-23 15:12:50 -05:00
Jason Perkins
79e84920bd VC200x resource compiler include paths are now project relative 2012-02-22 16:20:21 -05:00
Jason Perkins
e0a6ca727c Configurations and platforms may now be specified per-project 2012-02-19 12:31:20 -05:00
Jason Perkins
458dcb8cbb Added toolset() API to enable per-configuration tool selection 2012-02-16 19:51:14 -05:00
Jason Perkins
20598184fa Fixed bug that caused some per-configuration files to be missed 2012-02-15 11:53:00 -05:00
Jason Perkins
7ce55b2816 Updated changelog for per-configuration file lists 2012-02-14 16:41:07 -05:00
Jason Perkins
7350cc73dd Add per-configuration file lists for VC2010 2012-02-14 16:39:51 -05:00
Jason Perkins
dac18c990b Added per-configuration file lists for VC2008 2012-02-14 16:16:58 -05:00
Jason Perkins
9d8958a923 Standardized handling of file paths in API setters and removers 2012-02-13 18:50:38 -05:00
Jason Perkins
56d6701528 Added config.getfileconfig(), basis for per-configuration file and exclusion lists 2012-02-13 17:32:23 -05:00
Jason Perkins
0b1fb89bc0 Strip block comments when embedded scripts 2012-02-13 15:21:28 -05:00
Jason Perkins
309a76cb8a Improved extensibility of VC2010 generator 2012-02-12 16:08:27 -05:00