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
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
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
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
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
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
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
309a76cb8a
Improved extensibility of VC2010 generator
2012-02-12 16:08:27 -05:00
Jason Perkins
f625e01848
Added VC2008 external linker test
2012-02-11 13:49:58 -05:00
Jason Perkins
b88bf60036
Improved the extensibility of the VC2008 generator
2012-02-11 11:29:45 -05:00
Jason Perkins
fe00186ca3
Made VC200x compiler block easier for add-ons to extend with external toolsets
2012-02-11 08:18:19 -05:00
Jason Perkins
7c2736369f
Xbox360 fixes for VS2010
2012-02-10 14:53:43 -05:00
Jason Perkins
bbb70b9f18
Avoid writing empty AdditionalOptions to PS3 compiler blocks
2012-02-06 17:39:32 -05:00
Jason Perkins
10f0798789
Remove…() now properly removes flags; fixed Visual Studio typecast warning in CoCreateGuid()
2012-02-02 18:09:02 -05:00
Jason Perkins
257487b2de
Ported virtual paths to new platform API
2012-02-01 20:00:24 -05:00
Jason Perkins
7e5f16312a
Completed VS2010 port to new platforms API
2012-02-01 19:05:13 -05:00
Jason Perkins
1fdc480339
Ported VC2010 project references
2012-01-31 19:54:33 -05:00
Jason Perkins
3230c3ea69
Ported VC2010 files
2012-01-31 19:31:50 -05:00
Jason Perkins
d7e850ef17
Added pattern matching to remove API
2012-01-30 16:48:35 -05:00
Jason Perkins
0747211b6c
Added replace…() APIs (exact match only, no patterns yet)
2012-01-28 17:48:29 -05:00
Jason Perkins
afa5c067fa
Added missing _ACTION on VC2010 tests, to pass on non-Windows platforms
2012-01-28 10:42:41 -05:00
Jason Perkins
8c4626b654
Ported VC2010 pre- and post-build events; more tests
2012-01-27 17:52:46 -05:00
Jason Perkins
69a28a1369
Ported VC2010 resource compiler and linker setting blocks
2012-01-27 16:29:41 -05:00
Jason Perkins
7d7d95e8f2
Ported VC2010 resource compiler block
2012-01-27 13:37:24 -05:00
Jason Perkins
a01df4bc83
Ported Visual Studio 2010 to new platforms, up to the compiler settings block
2012-01-26 20:40:39 -05:00
Jason Perkins
0d46fe4135
Merge with premake-dev
2012-01-25 16:10:59 -05:00
Jason Perkins
1e97713a26
Default path.translate() to Windows-style backslashes
2012-01-25 15:58:21 -05:00
Jason Perkins
5d5e199efe
Ported VC200x C++ .user files to new platforms API
2012-01-24 19:27:18 -05:00
Jason Perkins
7f83f6d506
Fix some minor issues with release build
2012-01-23 11:47:48 -05:00
Jason Perkins
bcbc7f4950
Added target action, operating environment to configuration building filters
2012-01-22 12:19:43 -05:00
Jason Perkins
283ecaeb45
Ported Visual Studio 2008 files element and supporting functions
2012-01-19 19:14:18 -05:00
Jason Perkins
e4d23a49bf
Patch 3111264: Allow path.join() to accept any number of args
2012-01-19 15:28:24 -05:00
Jason Perkins
12b9c326d1
Ported remaining Visual Studio 2008 tool elements: MIDL, resources, Xbox 360 tools
2012-01-18 17:42:34 -05:00
Jason Perkins
761673005b
Added some sanity tests for config linker information, to get things started
2012-01-18 16:26:05 -05:00
Jason Perkins
3f0f15942a
Ported VCCompilerTool, VCLinkerTool, VCManifestTool and supporting function and tests to new platforms API
2012-01-17 19:04:46 -05:00
Jason Perkins
63a568dd3f
Began implementation of Vc200x next-gen projects: header and configuration blocks
2012-01-13 17:19:46 -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
fa4813cf3b
Port unique objects directory logic to the new platforms API
2012-01-11 16:30:59 -05:00
Jason Perkins
b1df4ff7ae
Bug 3413866: Incorrect VS200x .csproj relative source paths
2012-01-09 15:35:28 -05:00
Jason Perkins
9749188cc4
Ported build target info logic to new platforms; added system() to API
2012-01-06 17:08:24 -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
81ea63c877
Implement project.eachconfig(), to iterate through the new build configuration/platform pairs
2011-12-28 16:44:09 -05:00
Jason Perkins
12b033afc0
Merge with premake-dev
2011-12-21 16:19:54 -05:00
Jason Perkins
c18f49192f
Patch 3463020: Add windres environment variable for makefiles (icebreaker)
2011-12-21 15:52:26 -05:00
Jason Perkins
522907cd4b
Started a new, simpler baking API to support the platforms overhaul
2011-12-20 19:03:45 -05:00
Jason Perkins
2322e56d36
Bug 3410213: regression in xcode generation in 4.4 beta3
2011-12-20 14:59:26 -05:00
Jason Perkins
eeff5330eb
Fix to previous commit; adds back missing platform identifier to VS2010 configs (h/t Richard Sim)
2011-12-15 14:14:26 -05:00
Jason Perkins
94e29b7cf3
Merge with premake-dev
2011-12-13 16:14:14 -05:00
Jason Perkins
5b6f8f6f36
Patch 3451212: Fix Visual Studio MFC with StaticRuntime
2011-12-13 16:10:22 -05:00
Jason Perkins
acebe2cc9c
Patch 3430158: Reorder LINKCMD for Gmake (rjmyst3)
2011-12-08 16:25:50 -05:00
Jason Perkins
458d62ca36
Merge with Premake-dev
2011-12-07 16:10:27 -05:00
Jason Perkins
c8e3c0df6a
Improve include() function: only include files once, and allow including specific files instead of just directories
2011-12-04 14:47:59 -05:00
Jason Perkins
b5d7bba342
Added debugformat, with C7 support for Visual Studio
2011-11-19 16:50:50 -05:00
Jason Perkins
4bf628ac12
Fixed Xcode unit tests on non-Mac OSes
2011-11-19 12:10:58 -05:00
Jason Perkins
07853b1e34
Patch 3451928: VS2008 trying to build *.h files in C projects
2011-12-06 15:14:43 -05:00
Jason Perkins
b0b881284e
Improved handling of linker defaults in VS2010
2011-11-13 15:07:31 -05:00
Jason Perkins
2a8b81ac8d
Merge latest changes from premake-dev
2011-11-13 09:27:27 -05:00
Jason Perkins
02234cffa9
Patch 3381066: Fix VS2010 project references
2011-11-08 16:43:49 -05:00
Jason Perkins
b7fac3f46e
Patch 3317329: Support vstudio CompileAs for mixed-language projects (xpol)
2011-10-21 15:32:18 -04:00
Jason Perkins
7c3716fc77
Patch 3372345: Gmake action's PCHs don't work with Mingw (Martin Ridgers)
2011-10-20 16:44:09 -04:00
Jason Perkins
2a0a79c243
Patch 3367641: Remove warnings in Xcode 4
2011-10-20 16:36:24 -04:00
Jason Perkins
15af117ef9
Patch 3035550: Make/Distcc outputs dependencies to wrong location
2011-09-19 16:45:49 -04:00
Jason Perkins
dfda94d862
Patch 3021550: Add Wii homebrew platform (Pathogen David)
2011-09-15 16:45:48 -04:00
Liam Devine
4eeb4f76f3
* Bug 3381149: Path of PCH source file in VS10 not being translated (intyuh)
...
Re- added unit test removed in 53abc69ab87c
Applied patch from intyuh
2011-09-08 14:30:10 +01:00
Liam Devine
5ef5682c94
* Bug 3381149: Path of PCH source file in VS10 not being translated (intyuh)
...
Re- added unit test removed in 53abc69ab87c
Applied patch from intyuh
2011-09-08 14:24:05 +01:00
Liam Devine
7185aaf0a0
* Added debug environment variable support for Codeblocks using gdb
...
Changes the name from environmentargs to debugenvs
Effects VS flags EnvironmentArgsInherit and EnvironmentArgsDontMerge which become DebugEnvsInherit and DebugEnvsDontMerge respectively.
2011-08-23 21:48:16 +01:00
Jason Perkins
8f6fd68f7a
Fixed #3381011 : location breaks vpaths
2011-08-22 16:35:51 -04:00
liamDevine
1fdb95e142
VS200X Environment Args. Does not use the flag EnvironmentArgsInherit
2011-08-22 10:51:28 +01:00
liamDevine
80eff1c9fd
Adds environmentargs for vs10 and flags which define specifics for them.
...
Flags
EnvironmentArgsDontMerge - Default is to merge these Environment arguments specified with the current environment args.
EnvironmentArgsInherit - Inherits from parent or project defaults.
2011-08-22 10:14:42 +01:00
liamDevine
89c197a189
Arrrr didn't test that last one before committing. I hang my head in shame.
2011-08-22 00:57:59 +01:00
liamDevine
53e5a796cb
Oops left a couple of variables which were used to find the error. See last commit for info.
2011-08-22 00:56:11 +01:00
liamDevine
8cb574e685
The function premake.action.set (which I only see used in xcode3 tests) has a secret,
...
it not only sets the action yet can also set the global _OS. Currently when the function is used in
a test suite it should really be reset in a teardown. To make this transparent I have added the
caching of the _OS value set in C code in testfx and it is reset in 'test_setup' with the other
environment resets.
I had a quick look at the commits and can not see how or when this first caused a problem yet findlib
was failing on windows as previous premake.action.set('xcode3') had been made and therefore the
library it was looking for was 'm'.
io.eol is another potential setting which leaves a dirty environment for tests.
2011-08-22 00:52:49 +01:00
Jason Perkins
a887942037
Added virtual path support for CodeBlocks
2011-08-19 08:58:12 -04:00
Jason Perkins
b101ac117a
Fixed Xcode3 bug with sources in a subdirectory and grouped in virtual path
2011-08-16 12:22:08 -04:00
Jason Perkins
112483417b
Added virtual path support to Xcode3
2011-08-15 16:00:20 -04:00
Jason Perkins
1a074ba81b
Added vpath support to VC200x and Codelite
2011-08-09 16:11:35 -04:00
Jason Perkins
f8877df6ea
Flipped vpaths syntax, now ['group']={'pattern(s)'...}
2011-07-19 18:07:30 -04:00
Jason Perkins
1631cff164
Removed a bunch of deprecated VC2010 code
2011-07-12 16:55:27 -04:00