Commit Graph

824 Commits

Author SHA1 Message Date
Jason Perkins
10b8b373dd Ignore nil values in the new register() API 2012-04-20 18:29:23 -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
c8d493e569 Allow test or suite to be specified on command line 2012-04-18 17:12:56 -04:00
Jason Perkins
b930597f58 Enable token expansions on simple string fields 2012-04-18 15:15:56 -04:00
Jason Perkins
2c339eacfa Enable running individual tests or suites 2012-04-18 15:14:31 -04:00
Jason Perkins
fb833f3122 Ported string fields to new register()-based API definitions 2012-04-17 14:33:47 -04:00
Jason Perkins
fad379b388 Merged in xpol/premake-dev-debugcommand (debugcommand for Visual Studio) 2012-04-17 14:14:58 -04:00
Jason Perkins
8f60b15942 Ported string fields to new register()-based API definitions 2012-04-16 19:31:08 -04:00
Jason Perkins
d12a97465b Cleaned up test suite for new oven 2012-04-16 18:54:01 -04:00
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
xpol
d7d6857bf2 Add test for debugcommand.
This file contains MIXed line end styles.
It is suggested to convert to a single line end style.
2012-04-16 10:19:55 +08:00
xpol
ef3a891d83 add debugcommand for vs*. 2012-04-16 10:09:35 +08: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