Commit Graph

699 Commits

Author SHA1 Message Date
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
Jason Perkins
144c608442 Implemented vpaths for VS2010 2011-07-01 15:05:16 -04:00
Jason Perkins
71cbdbdd7d Lost a commit somewhere; catching up with my local repository 2011-06-30 16:44:40 -04:00
Jason Perkins
9083e8a47e Removed deprecated walksources() function 2011-06-09 15:19:44 -04:00
Jason Perkins
73f6ba2a6c Added project.getvpath() to map from real paths 2011-06-09 15:15:39 -04:00
Jason Perkins
cf3bdb076e Added support for key-value fields to the API 2011-06-02 15:26:15 -04:00
Liam Devine
52ef4b7079 Pulling stable change into dev. 2011-05-27 16:19:07 +01:00
Liam Devine
8d66a5cb12 Incorrect relative paths for gmake sibling static libraries 2011-05-27 15:55:06 +01:00
Jason Perkins
eccd1720ba More cleanup; preparing the virtual path stuff 2011-05-18 17:32:04 -04:00
Liam Devine
7a89211a38 English alais' for the Optimize group of flags 2011-05-18 20:31:08 +01:00
Jason Perkins
dba4adab62 Split configuration baking into its own file; prep for file config work 2011-05-16 15:37:48 -04:00
Jason Perkins
655d6a8a95 Prepped CodeBlocks for new file configs 2011-05-12 16:14:43 -04:00
Jason Perkins
f7609a9fa5 Ported CodeLite to trees 2011-05-12 16:00:07 -04:00
Jason Perkins
eedf10ef6a Tweaks and tests for VS2010 file handling 2011-05-10 13:56:25 -04:00
Liam Devine
8f11c2c5f6 merge with stable 2011-05-07 03:05:16 +01:00
Liam Devine
fb7f74d4bd Fixed bug 3297634 - UnitTest++ folder breaks Xcode 3
Xcode itself only quotes when it needs to yet it is fine to always quote the string.
2011-05-07 02:30:28 +01:00
liamDevine
adb2529b61 Applied patch which sets the target machine in visual studio 2011-05-01 03:09:27 +01:00
Unknown
5ec9f16415 set the platform in vs10 static libs 2011-05-01 01:04:27 +01:00
Liam Devine
33eff629c4 removing dead code 2011-04-30 22:33:52 +01:00
Liam Devine
700cd82280 corrected teardown function name in testing_make_linking.lua
stopped 'runall' from running 'setup' and 'teardown' as tests which also stops the inflated test count that I noticed.
Added writing of runtime to io for test suites.
Added prj = premake.solution.getproject(sln, 1) to vs10 tests and removed the managed flag hack.
2011-04-30 22:29:54 +01:00
liamDevine
6c7b1939d8 ignore entry point in Manged C++ 2011-04-30 00:57:49 +01:00
liamDevine
2773fd8c1c removing dead code and also drawing attention to flags on projects when unit testing 2011-04-30 00:29:30 +01:00
liamDevine
df11537b80 Adding Managed C++ support for vs10 2011-04-30 00:25:12 +01:00
liamDevine
e5da7de916 merge with stable 2011-04-29 23:44:53 +01:00
Unknown
a0fa8c04e0 Fixes Bug 3294459: vs10 x86_64 using incorrect debug format for minimal rebuild
there is not an option for setting /Z7 OldStyle so OldStyle was removed
/ZI is not compatible with /clr or x64_64
minimal Rebuild requires /Zi in x86_64
2011-04-29 02:07:38 +01:00
Jason Perkins
214990943d Bug 3277357: Projects no longer inherit location from solution 2011-04-27 18:43:15 -04:00
Jason Perkins
229e31a465 [#1657833] Set working directory an IDE starts/debugs the program in 2011-04-25 15:55:17 -04:00
Jason Perkins
0357046d36 Merged changes from stable 2011-04-11 14:33:49 -04:00
Liam Devine
37432fef37 gmake correctly links again to SharedLibs and StaticLibs sibling dependencies; yet correctly does not link to a non linkable sibling. 2011-03-29 02:27:10 +01:00
Liam Devine
5ac9af4c8a Commenting out latest changes so that stable is not broken. The test is left in and will fail while I look at the problem with gmake. 2011-03-29 00:08:26 +01:00
Liam Devine
f9027da963 sln was in global and not reset to nil in teardown 2011-03-26 01:37:26 +00:00
Liam Devine
f4a8f024d9 * Patch 3043933 gmake incorrectly links using -l when a solution contains a .so and .a of the same name and the static lib is wanted (Jonathan Derque) 2011-03-26 00:39:26 +00:00
Liam Devine
26db36c266 * Patch 3043933 gmake incorrectly links using -l when a solution contains a .so and .a of the same name and the static lib is wanted (Jonathan Derque) 2011-03-26 00:21:44 +00:00
Jason Perkins
d9f30a983a Fixed failed merge 2011-03-24 17:09:58 -04:00
Jason Perkins
ccb5d34c95 Merged with premake-stable 2011-03-23 17:05:19 -04:00
Jason Perkins
7b0636f999 [#3232160] Environment variables are cut off 2011-03-23 16:38:40 -04:00
Liam Devine
801808062d 3157645: Respects full path for xcode frameworks 2011-03-23 15:00:51 +00:00
liamDevine
db972589b1 added specialisation for terms in mergeobject
kind seems special. it gets set in the cfg and is needed by the terms yet not added automatically
added a check when iterating blocks in merge to see if kind needs adding to terms
changed getactiveterms so it doesn't use number keys
at end of merge, added a merging of terms into cfg.terms
terms were being shared between all configurations in collapse. NOTE : it may still need looking at for when the platform is not native.
changed to use a local copy, this gets updated instead.
2011-03-17 04:17:36 +00:00
liamDevine
ea9ac28488 pdb file was being written to the 'Link' section when it needed to be in 'ClCompile'. Reported by hodsondd closes bug report: https://sourceforge.net/tracker/?func=detail&aid=3163703&group_id=71616&atid=531878 2011-03-14 14:59:59 +00:00
Liam Devine
a02fd77b74 Xcode4 workspace relative location paths and workspace generation 2011-03-11 17:08:37 +00:00
Liam Devine
98b9815534 Xcode4 workspace initial 2011-03-11 16:43:19 +00:00
Jason Perkins
bb94e9de81 [#3100379] C# support for Visual Studio 2010 2011-02-16 15:16:07 -05:00
Jason Perkins
a69bcbfb58 Added support for Haiku OS (Yuriy O'Donnell) 2011-02-10 12:24:51 -05:00
Jason Perkins
b3dfe26ec6 Ported VS2005 *.csproj to trees 2011-02-09 11:22:02 -05:00
Jason Perkins
aa090b0cd3 Ported VS2002 *.csproj from walksources to trees 2011-02-08 11:08:16 -05:00
Jason Perkins
43218e0e96 Moved io.capture to test framework; removed from test suites 2011-02-03 16:38:32 -05:00
Jason Perkins
df2b2e3a6d Cleaned up and standardized namespaces in vstudio code 2011-02-02 13:27:52 -05:00
Jason Perkins
ad515a7ac3 Port VS200x from walksources() to trees 2011-01-22 14:51:54 -05:00
Jason Perkins
c9d4e88278 Add test to ensure path.join() can be called with a nil argument 2011-01-18 12:25:43 -05:00
Jason Perkins
1c06557bc9 Merged with stable 2011-01-02 15:53:26 -05:00
liamDevine
fb54aea2fa Removes the setting of WholeProgramOptimization for vs10 projects as per the msdn docs. 2010-12-30 15:40:12 +00:00
Jason Perkins
7fe1f9150c Merge with stable 2010-12-27 16:21:15 -05:00
Liam Devine
200f0d6c4b Sets ONLY_ACTIVE_ARCH = YES in Xcode debug builds to mirror Xcode created projects 2010-12-09 23:47:47 +00:00
Liam Devine
6a251c8577 adds GCC_SYMBOLS_PRIVATE_EXTERN = NO; which should be the default for builds. This fixes a Release build yet not Debug as Xcode itself is broken. Bug 2920784 and Feature 3118000 2010-12-09 23:08:54 +00:00
Jason Perkins
854aa65741 More SNC changes: fixed location of PCH to match VS, fixed flags 2010-12-06 06:45:22 -05:00
Jason Perkins
b8f2684004 Switched PS3 builds from GCC to SNC 2010-12-02 06:56:35 -05:00
Jason Perkins
8e469cf3a5 More stable/dev merging 2010-12-02 06:25:15 -05:00
Liam Devine
778c7b508f typo fix 2010-12-01 13:19:24 +00:00
Liam Devine
e4fb04b09c fixes ClCompile blocks with PCH's in Vs10 generator 2010-12-01 13:10:44 +00:00
liamDevine
83dbac114c Typo correction 2010-11-02 00:30:06 +00:00
liamDevine
1ba4125df5 adds NoIncrementalLink to vs200X 2010-11-02 00:08:25 +00:00
liamDevine
707729d408 removed dead tests
readded the behaviour that if cfg.kind is StaticLib then there is not LinkIncremental section
2010-11-01 23:30:15 +00:00
liamDevine
ecdf201d61 Vs10 implementing NoLinkIncrementally flag.
This changes the behaviour that was the previous.
Previously it could be set to true, false or omitted all together, now it is either true or false; was this wanted?
2010-11-01 22:30:31 +00:00
liamDevine
c2a22602c0 refactors optimise check to function premake.config.isoptimizedbuild(flags) which is not local scope as it can be used in other places
adds function premake.config.should_link_incrementally(cfg)
adds new flag NoIncrementalLink
2010-11-01 22:05:45 +00:00
liamDevine
ad5e8061c6 vs10 64bit builds can not use /ZI http://msdn.microsoft.com/en-us/library/958x11bc(v=VS.100).aspx 2010-11-01 02:20:35 +00:00
liamDevine
6e1e761fea fixes vs10 to only add a pdb when the symbols flag in used 2010-11-01 00:34:59 +00:00
liamDevine
67b3e45aa4 Fixes vs10 DebugInformationFormat 2010-11-01 00:26:24 +00:00
liamDevine
420e381d47 applies miminal rebuild change to vs10 that was applied in changeset 0b3e27b8eac6 for vs200x 2010-10-31 23:56:07 +00:00
liamDevine
6c7968aba6 adds local keyword to buffer instances 2010-10-31 23:24:15 +00:00
liamDevine
e89e0eb8e7 Fixes vs10 Bug 3100062 uses premake.config.isdebugbuild to determine debug status 2010-10-31 23:18:15 +00:00
liamDevine
3f0b545424 removes invalid test in vs2010 filters
refactored moving more code in the function "if_config_and_platform" for vs2010
added write_file_compile_block which takes care of pre compiled headers and fixes Bug 3095274
Did lines ending changes in vs2010_vcxproj.lua and test_vs2010_vcxproj.lua which is why the changeset is bigger??
2010-10-30 11:55:40 +01:00
liamDevine
51abe69396 removes invalid test in vs2010 filters
removes dead function vs10_helpers.table_of_filters
2010-10-30 01:16:33 +01:00
liamDevine
a51fc3da63 Bug 3097868: Patch 3076517 premake_rev465.patch. Removes relative paths from vs2010 filters (Robert Konrad) 2010-10-30 00:43:12 +01:00
Jason Perkins
9ec77bf550 Bug 3015312: Makefiles are not quoted correctly 2010-10-21 06:41:52 -04:00
Jason Perkins
6da5323224 Bug 3016050: {"../Dir/file1.c","../../Dir/file2.c"} breaks Xcode (Stephane) 2010-10-20 19:52:32 -04:00
Jason Perkins
e52f458c6c Bug 3020382: GCC PCH not working 2010-10-19 07:14:46 -04:00
Jason Perkins
4a515d8df6 Bug 3034222: StaticLib projects ignore linkoptions 2010-10-13 10:20:26 -04:00
Jason Perkins
c51666fc07 Bug 3035545: The pattern { "./folder/*.c" } matches no files 2010-10-13 06:45:06 -04:00
Jason Perkins
781f1cf792 Improved portability of Premake's Mac OS X binaries (William Burnson) 2010-10-11 12:25:55 -04:00
Jason Perkins
a83249ec49 Bug 2971841: Gmake escaping of shell variable $(...) is broken 2010-10-04 06:43:19 -04:00
Jason Perkins
6c5022bf39 Patch 3063804: Set CompileAs flag for VS200x C projects (rjmyst3) 2010-09-14 06:36:40 -04:00
Jason Perkins
683d391ae7 Bug 3007101: Generating PDB in Release builds is not supported 2010-09-05 16:10:28 -04:00
Jason Perkins
8e84aa4efe Bug 3056381: Xcode project breaks on special chars 2010-09-05 14:47:42 -04:00
Liam Devine
3499a39af8 Merged with fork 2010-08-31 03:32:01 +01:00
Jason Perkins
577d95420f Patch 3053959: kind() crashes when called with no arguments (rjmyst3) 2010-08-27 10:06:00 -04:00
liamDevine
5f688dfeee linkoptions added and refactored for all "kinds" 2010-07-28 01:25:07 +01:00
liamDevine
0382a1c310 embedded scripts 2010-07-27 20:02:11 +01:00
liamDevine
df4e215fef Resource script now put in correct ItemGroup which is ResourceCompile inside a *.vcxproj 2010-07-27 19:25:36 +01:00
liamDevine
408a94ebae Added config_type to the namespace premake.vstudio.vs10_helpers from local scope
Fixed config_type not returning Application for a WindowedApp
2010-07-27 16:24:00 +01:00
Jason Perkins
425684bef8 Merged Liam's VS2010 changes 2010-07-20 16:37:52 -04:00
LiamDevine
5c49aa8638 Moved remaining functions from global and added them to the table premake.vstudio.vs10_helpers 2010-07-14 23:31:31 +01:00
Jason Perkins
46aa8cbd65 Merged VS 2010 C/C++ support (Liam Devine) 2010-07-13 09:05:13 -04:00
Jason Perkins
68f49d30bd Fixed handling of icons in Xcode (bitshifter) 2010-07-13 08:18:33 -04:00
LiamDevine
6415760b8a Fixed bug where a filter path had a dot in it's path
added C support
2010-06-21 20:49:20 +01:00
LiamDevine
4df8255508 added MFC support
changed to use only one configuration block
2010-06-21 17:38:50 +01:00
LiamDevine
947c13faea UseDebugLibraries --added to config
whole program optimisation --added
		added--- SmallerTypeCheck set to true when flags contain extra warnings and no optimisation
2010-06-21 14:33:48 +01:00
LiamDevine
2e6b86c1c0 changed any comments to line from blocks as parser failed
addded postfix slashes to int and out dirs
removed quotes from event hooks
moved event hooks to correct location
added target name to prevent warnings due to changes in vs using MSBuild
changed errors in wildcard searches that for some reason I was using through out
Found error in that a clean operation was registered within actions yet another function is called.
Can currently generate sln and proj files for C++ using most configs and compile then, see todo for exceptions
2010-06-20 01:07:39 +01:00
LiamDevine
ff650b85cf faulty test was passing. fixed 2010-06-18 00:49:48 +01:00
LiamDevine
d1eb9852fe pulled changes from premake repos 2010-06-18 00:33:25 +01:00
LiamDevine
f00217f741 removed invalid assumptions which were checked in unit tests
added link section even when a static lib
added ProgramDatabaseFile to link section
2010-06-18 00:27:34 +01:00
LiamDevine
db0f215e95 added failing test for ImportLibrary to remind me there is an unknown 2010-06-17 00:47:45 +01:00
LiamDevine
917217bc8f Never saved before commit oops 2010-06-17 00:30:52 +01:00
LiamDevine
b96a354aba Moved filter functions into core from test file 2010-06-17 00:30:14 +01:00
LiamDevine
5c4d3cd478 check why <MinimalRebuild>true</MinimalRebuild> is missing in a debug static lib and shared lib build
--------Requires symbols to be set in flags
shared lib missing <DebugInformationFormat>EditAndContinue</DebugInformationFormat> in ClCompile section
--------Requires symbols to be set in flags
shared lib incorrectly <GenerateDebugInformation>true</GenerateDebugInformation> to false in link section
--------Requires symbols to be set in flags


shared lib LinkIncremental set to incorrect value of false
	---Fixed and tests wrote

check all configs %(AdditionalIncludeDirectories) missing before AdditionalIncludeDirectories end tag in ClCompile
	---Fixed if no include Directories supplied, this tag is not present
2010-06-16 23:50:57 +01:00
LiamDevine
e1ca7109f1 Identified problems which need fixing 2010-06-16 19:34:21 +01:00
LiamDevine
223b5429f0 checked lib section for a static lib 2010-06-16 19:20:41 +01:00
LiamDevine
50e1665c34 the failed test has some how disapeared.
removed link section when kind is a static lib
2010-06-16 18:21:29 +01:00
LiamDevine
b27b21ce82 changed path seperators to window specific \\ 2010-06-16 00:35:41 +01:00
LiamDevine
70a93c68bc vcxproj.filters done
vcxproj.user done
vcxproj nearly done
2010-06-15 23:29:56 +01:00
LiamDevine
3f67eb5d7f vcxproj support getting there 2010-06-11 22:07:07 +01:00
Jason Perkins
6426050f83 Patch 3011940: Add support for MFC (JTAnderson) 2010-06-10 19:34:50 -04:00
LiamDevine
7b61224398 hmm missing tests 2010-06-10 18:15:49 +01:00
LiamDevine
4484d388a4 vs2010 started vcxproj 2010-06-10 16:45:25 +01:00
LiamDevine
375e4fafa7 vs2010 sln 2010-06-10 16:42:45 +01:00
Jason Perkins
bcb2da2e42 Bug 2997728: Project dependencies should be case-sensitive 2010-05-10 16:02:58 -04:00
Cameron Hart
e5d2b2f0ae Added test case for Xcode icon images 2010-05-10 15:53:45 +12:00
starkos
0a6c7bcd31 Patch 2965229: Fix handling of '+' symbol in file patterns (Rachel Blum) 2010-03-08 14:57:21 +00:00
starkos
c861bafe84 Added framework to vstudio C# 2005 2010-03-04 21:51:20 +00:00
starkos
0da8416c9b Began work on new frameworks() api 2010-03-04 21:01:45 +00:00
starkos
d4143dae74 Feature 2944697: Add flag to disable Minimal Rebuild in Visual Studio 2010-03-03 13:40:56 +00:00
starkos
8f3411d708 Bug 2953594: includedirs / libdirs converting absolute paths to relative 2010-02-27 02:50:55 +00:00
starkos
96b28c3146 Bug 2958829: Files pattern matching including too many files 2010-02-27 02:00:50 +00:00
starkos
430fbc3fa4 Bug 2931722: pchheader handling not consistent between tools 2010-02-26 22:10:57 +00:00
starkos
97763cf414 Patch 2936443: Expose configuration terms to scripts (Laurent Humbertclaude) 2010-02-17 22:11:25 +00:00
starkos
07e6129289 Changed Visual Studio runtime library selection logic; will now only use debug runtime if Symbols flag is enabled. 2010-01-29 19:22:34 +00:00
starkos
ef21349505 Fixed handling of ./ prefix on file wildcards 2010-01-13 23:35:09 +00:00
starkos
deb345176a Bug 2928775: Error loading external Lua module with require(); added test for ./ prefix on wildcard matches 2010-01-13 23:29:21 +00:00
starkos
38e8cab78a Bug 2926917: Use target name for Visual Studio PDB file 2010-01-06 18:47:00 +00:00
starkos
0f49283f60 Alpha sort files in Xcode projects 2010-01-05 19:27:34 +00:00
starkos
0ab0451c09 Support targetprefix in Xcode 2009-12-31 22:52:02 +00:00
starkos
d3cc3855ee Support framework linking in makefiles 2009-12-31 22:46:45 +00:00
starkos
f4cfa2f82a Feature 2905303: Enable better folder matching in file lists 2009-12-22 16:07:55 +00:00
starkos
6a9ecc6cb5 Feature 2839002: Add gcc switch to improve header dependency generation (Johannes Spohr) 2009-12-17 15:15:13 +00:00
starkos
4a179ae704 Few fixes for targetsuffix 2009-12-17 15:08:38 +00:00
starkos
70636a4510 Split build commands out by configuration 2009-12-14 16:09:53 +00:00
starkos
c963a76892 Bug 2912756: dylibs missing lib prefix 2009-12-12 17:29:53 +00:00
starkos
9a3bf8e5e5 Bug 2910639: Nil reference on dylib project dependency 2009-12-09 18:40:56 +00:00
starkos
6a323fc263 Bug 2903430: Using relative instead of absolute paths with $() macro 2009-12-08 20:25:35 +00:00
starkos
b51c75e70d Bug 2909463: Fix Xcode handling of Obj-C++ .mm files 2009-12-07 21:54:34 +00:00
starkos
c0a7128a3c Implemented prebuild, prelink, and postbuild commands 2009-12-03 21:07:24 +00:00
starkos
a39c338896 Implemented platforms 2009-12-03 20:28:42 +00:00
starkos
c858deabdd Added linking to system libraries 2009-12-03 15:27:13 +00:00
starkos
fcff55ee47 Added NoExceptions, NoFramePointer, NoPCH, NoRTTI, libdirs, precompiled headers 2009-12-03 14:55:11 +00:00
starkos
14b7a2ca5d Implemented buildoptions, ExtraWarnings, FatalWarnings, FloatFast, FloatStrict, NoEditAndContinue, Symbols 2009-12-01 21:29:44 +00:00
starkos
a0f7ffc87e Fixed paths to dependent projects 2009-11-29 15:51:10 +00:00
starkos
00709e1074 Added PBXTargetDependency section 2009-11-29 15:37:39 +00:00
starkos
70349b3bdd Added PBXReferenceProxy section 2009-11-29 15:01:25 +00:00
starkos
05bbfcc15b Added project dependencies to PBXProject 2009-11-29 14:46:33 +00:00
starkos
ac4b428099 Added project dependencies to PBXNativeTarget 2009-11-29 14:39:58 +00:00
starkos
776f833413 Added project dependencies to PBXGroup 2009-11-29 14:24:12 +00:00
starkos
7e5e63d2dd Added project dependencies to PBXFrameworksBuildPhase 2009-11-29 13:36:46 +00:00
starkos
992eec33ab Added project dependency to PBXFileReference 2009-11-28 16:28:25 +00:00
starkos
912ebca665 Implemented PBXContainerItemProxy 2009-11-28 16:13:26 +00:00
starkos
8e3604d95f Attach IDs needed for inter-project dependencies at solution setup time 2009-11-28 16:04:52 +00:00
starkos
f1e5457752 Implemented linkoptions() for Xcode 2009-11-25 20:36:20 +00:00
starkos
73aad5b34b Implemented includedirs() and defines() for Xcode 2009-11-25 20:27:57 +00:00
starkos
293b03daa2 Fixed bug in Xcode group pathing; started work on project dependencies 2009-11-25 19:40:23 +00:00
starkos
b5dd640f9d Fix for product file reference names 2009-11-19 19:44:11 +00:00
starkos
49755b0d23 Feature 2900623: Add targetsuffix and implibsuffix properties 2009-11-19 19:02:43 +00:00
starkos
f47e40abbe Implemented location(), targetdir(), objdir() 2009-11-17 20:30:56 +00:00
starkos
bf152cac6b Cleanup on target and project config blocks 2009-11-10 20:32:20 +00:00
starkos
5ad56cccaa Removed SDKROOT 2009-11-10 19:03:35 +00:00
starkos
eef1a97501 Finished porting 2009-11-09 21:34:46 +00:00
starkos
0273520f02 Ported build configurations 2009-11-09 21:16:34 +00:00
starkos
382aed3e93 Ported PBXSourcesBuildPhase 2009-11-09 20:42:50 +00:00
starkos
bd65dcc2c9 Ported PBXResourcesBuildPhase 2009-11-09 20:39:27 +00:00
starkos
11a4804617 Ported PBXProject 2009-11-09 20:29:42 +00:00
starkos
794b84c90f Ported PBXNativeTarget 2009-11-09 20:26:11 +00:00
starkos
756d5e844a Ported PBXGroup 2009-11-09 20:12:40 +00:00
starkos
8ebddad6b0 Ported PBXFrameworksBuildPhase 2009-11-06 21:39:44 +00:00
starkos
7943baa46f Finished porting PBXFileReference 2009-11-06 21:33:49 +00:00
starkos
5b27a0a368 Began porting PBXFileReference 2009-11-05 21:55:34 +00:00
starkos
74a37071f8 Added frameworks to PBXBuildFile 2009-11-05 21:25:27 +00:00
starkos
5f48d7414e Ported resource handling in build files 2009-11-05 21:09:48 +00:00
starkos
505efec180 More solution object refactoring 2009-11-04 18:44:13 +00:00
starkos
293e2353ba Began porting to solution object 2009-11-04 18:25:08 +00:00
starkos
03b9eb3deb Shuffling functions into new Xcode source organization 2009-11-03 21:35:24 +00:00
starkos
162cb14333 Fixed handling of .string file references 2009-10-23 17:45:49 +00:00
starkos
05cb432e31 Patch 2802722: Floating Point Model Flags (Suigintou) 2009-09-29 20:28:13 +00:00
starkos
1f0e3ed568 Fixed os.match() for very large result sets; fixed bug in action tests 2009-09-29 19:27:33 +00:00
starkos
18c498f7b3 Set up _OS for xcode tests 2009-09-29 18:32:34 +00:00
starkos
3f3cabd28f Fixed naming of static libraries in Xcode 2009-09-21 13:59:25 +00:00
starkos
72682355c3 First pass on library support for Xcode 2009-09-19 15:24:06 +00:00
starkos
1af7b99c87 Ported remaining sections to new structure 2009-09-18 00:27:29 +00:00
starkos
543465da1a Moved pbxproj header and footer to new structure 2009-09-16 14:14:43 +00:00
starkos
80fbc4d146 Cleaned up PBXBuildFile and PBXFileReference sections 2009-09-15 21:08:40 +00:00
starkos
08e3d7f11e Improved handling of special/empty groups 2009-09-09 14:10:22 +00:00
starkos
a73bbd6a17 Fixed path to target binaries in file references 2009-09-09 13:38:38 +00:00
starkos
98e849508d Fixed source paths containing .. 2009-09-06 18:00:09 +00:00
starkos
eac0c654f8 Fixed failing GMake C++ tests 2009-09-06 17:43:16 +00:00
starkos
b6894904c4 Added support for .strings 2009-09-03 19:25:09 +00:00
starkos
8a16e6a6c3 OS X WindowedApp improvements 2009-09-03 19:16:51 +00:00
starkos
bb41d3f185 Can now open project with a plist file 2009-09-03 18:48:34 +00:00
starkos
320b204c31 Can now open project with a plist file 2009-09-03 18:47:13 +00:00
starkos
9e9eebc763 Improved testability of Xcode IDs 2009-09-03 18:11:41 +00:00
starkos
ba4da127bf Removed duplication .pinfo files 2009-09-02 22:18:49 +00:00
starkos
d9d7b89726 Added support for linking system frameworks 2009-08-28 00:02:36 +00:00
starkos
c04c4ddf3d Added support for localized .xib files 2009-08-27 13:27:47 +00:00
starkos
da2f037d9c Fixed handling of resources to across projects 2009-08-26 21:37:58 +00:00
starkos
4cf834cf53 Added PBXVariantGroup section 2009-08-26 20:42:27 +00:00
starkos
c35eb232c1 Corrected resource listings in build section 2009-08-26 17:17:55 +00:00
starkos
1b00abd12c Add .xib file resources 2009-08-24 21:42:14 +00:00
starkos
874ac5599f Begain support for .m files 2009-08-24 00:47:21 +00:00
starkos
caaea14c13 Started unit tests for Xcode generation 2009-08-21 20:26:30 +00:00
starkos
3ee836d18c Added source file tree builder 2009-08-18 19:09:17 +00:00
starkos
2806554e59 Shortened name placeholder for project.getfilename 2009-08-12 15:22:44 +00:00
starkos
e4a523bd1b Began swapping out action templates for onsolution(), onproject() callbacks 2009-08-12 01:16:15 +00:00
starkos
a0753ec776 Added premake.project.getfilename() 2009-08-11 23:29:46 +00:00
starkos
1fc95ca780 Add onsolution() and onproject() callbacks to actions 2009-08-11 00:49:11 +00:00
starkos
ca6ae465c0 Refactored and consolidated action list handling 2009-08-11 00:11:48 +00:00
starkos
eb9f966cc6 Started refactoring action list 2009-07-16 14:29:08 +00:00
starkos
f66fbf53f3 Bias project-level objdir to default "obj"; gives better behavior from clean 2009-07-15 14:38:28 +00:00
starkos
6b59a3b23f Remove platform-specific intermediate objects on clean 2009-07-15 14:17:07 +00:00
starkos
7402444750 Added more clean action tests 2009-07-15 12:48:46 +00:00
starkos
2f328a02d8 Started tests for clean action 2009-07-14 14:28:26 +00:00
starkos
40d398aace Bug 2819232: Buildoptions not used when creating Makefile for C# 2009-07-13 19:10:27 +00:00
starkos
adcf73c757 Use libtool instead of ar for universal static libraries 2009-07-13 18:34:26 +00:00
starkos
0bb039fb4f Bug 2814179: Xbox 360 precompiled headers not working 2009-06-30 00:08:16 +00:00
starkos
7713434939 Bug 2709641: Location field does not propagate to projects 2009-06-15 14:52:53 +00:00
starkos
2e920a1ef1 Fixed naming of system libraries in Visual Studio link step 2009-06-08 15:36:28 +00:00
starkos
e70595de03 Refactored target building, fixed path separators for .NET projects 2009-06-02 19:40:59 +00:00
starkos
11abed8bdd Bug 2790882: Trailing slash in path.getabsolute (really a patch by Ash Berlin) 2009-05-29 19:07:35 +00:00
starkos
d20ce6c62c Bug 2790865: SharedLib on OSX (actually a patch by Ash Berlin) 2009-05-29 19:00:14 +00:00
starkos
12cb7df750 Fixed bug in "missing kind" error message 2009-05-29 15:41:32 +00:00
starkos
712b1335ef Bit of test refactoring 2009-05-29 15:36:39 +00:00
starkos
2be34e3866 Condensed parameters to walksources to make trimpaths easier to implement 2009-05-28 19:13:50 +00:00
starkos
96da8eb72c Modified walksources tests to make results easier to read 2009-05-28 19:06:08 +00:00
starkos
9bdccbed33 Added precompiled header support for GCC 2009-05-22 20:27:05 +00:00
starkos
9d54a3debd Patch 2558089: workaround for --as-needed/correct link order (idl0r) 2009-05-22 18:24:42 +00:00
starkos
21f8be7e44 Patch 2031626: Support for "additional manifest files" (Colin Graf) 2009-05-21 23:17:16 +00:00
starkos
8fe0c84931 Bug fixes to PS3 makefiles, adding missing msc.lua file 2009-05-12 21:44:45 +00:00
starkos
6c73ced855 VS now links against lib.a instead of .lib for PS3 builds 2009-05-08 20:40:56 +00:00
starkos
95d67737fa Use GCC linker block for VS/PS3 projects 2009-05-08 20:33:38 +00:00
starkos
f2b52173c7 Added PS3-specific target naming 2009-05-08 20:18:47 +00:00
starkos
d87875d2a6 Added PS3 compiler block for Visual Studio 2009-05-07 14:30:13 +00:00
starkos
ea8b251082 Removed deprecated functions 2009-05-06 23:37:14 +00:00
starkos
d70057574e Added PS3 to vstudio configurations; now need to modify compiler/linker blocks 2009-05-06 23:25:50 +00:00
starkos
27e62d9cf3 Makefile support for PS3 2009-05-01 19:50:45 +00:00
starkos
f7a6af61b0 Added --platform argument 2009-04-29 18:51:15 +00:00
starkos
6b05482f03 Preprocess project-level path fields 2009-04-28 15:34:53 +00:00
starkos
8b52a6e285 Fixed bugs in new C functions 2009-04-28 14:17:20 +00:00
starkos
e10aa03cdc Moved path.isabsolute() and string.endswith() to C to improve performance 2009-04-28 00:55:49 +00:00
starkos
ecb882cc62 First optimizing pass on configuration building 2009-04-28 00:19:44 +00:00
starkos
edc74bc237 Refactored handling of configuration names 2009-04-24 14:34:54 +00:00
starkos
4cf44626bc Removed deprecated templating code and tests 2009-04-23 23:01:22 +00:00
starkos
5cbfe64816 De-templated CodeLite action 2009-04-23 22:30:29 +00:00
starkos
27d248c2d1 Better handling of native platform during configuration building stage 2009-04-23 18:26:31 +00:00
starkos
3160a6b32b Added support for "native" platform to Visual Studio 2009-04-20 19:46:23 +00:00
starkos
02b874db57 Implemented platform flags for GCC; added "native" platform support 2009-04-20 19:06:48 +00:00
starkos
69fc269f4e Plaform-specific settings and Xbox 360 support now working in Visual Studio 2005/2008 2009-04-09 20:02:49 +00:00
starkos
ec90b60d94 Refactored current platform code for VS2005 and VS2008 2009-03-26 19:29:21 +00:00
starkos
a16cdf5fe5 ** Merged branches/platforms (r735:741) Added x32 and x64 platform support for VS2005 and 2008 2009-03-25 23:04:32 +00:00
starkos
60e383f8b8 solution() and project() now only set the active object when called with a name; remains unchanged otherwise 2009-01-19 16:56:40 +00:00
starkos
baa14235da Fixed bug in target tests 2009-01-12 19:42:49 +00:00
starkos
e0186be6ae Support absolute paths in scripts, to reference a different Windows drive letter. 2009-01-05 15:40:05 +00:00
starkos
8c94a52c10 Fixed os.findlib() on OSX 2008-12-22 20:03:43 +00:00
starkos
966e07c717 Added initial take on os.findlib() 2008-12-22 19:59:34 +00:00
starkos
144c2b97d8 Fixed file recursion wildcard 2008-12-22 19:21:06 +00:00
starkos
bad5c33e7e Uppercase UUID for VS.NET compatibility 2008-12-19 14:35:36 +00:00
starkos
1831580590 ** Merged Visual Studio C# support and simplified configuration filters (r649:661) 2008-12-18 17:53:57 +00:00
starkos
b57df3a428 ** Merged GMake C# support from branches/csharp (r630:648) 2008-12-15 15:00:35 +00:00
starkos
548cf91fd5 Big refactoring, bug fixes bug and small, performance improvements (branches/csharp r607:628) 2008-12-05 21:18:47 +00:00
starkos
870d9c65d2 Fixed handling of library decorations 2008-11-21 20:51:49 +00:00
starkos
20c6519571 ** Merged branches/vstudio (r539:562) Added Visual Studio support 2008-11-13 00:54:41 +00:00
starkos
608551f8f4 First integration of new Lua-based architecture 2008-10-31 18:38:05 +00:00