Commit Graph

281 Commits

Author SHA1 Message Date
Jason Perkins
bcc2914139 Removed deprecated Visual Studio actions 2012-11-27 10:18:06 -05:00
Jason Perkins
cba537a825 Add architecture support to Visual Studio C# projects 2012-11-26 14:05:33 -05:00
Jason Perkins
1690d9b968 VC200x requires library names to be wrapped with quotes if they contain spaces 2012-11-26 10:09:50 -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
89deec0474 Added force include files 2012-11-06 16:42:44 -05:00
Jason Perkins
2800ebd010 Ported list handling to new configuration objects 2012-11-04 18:48:20 -05:00
Jason Perkins
3f79a363b2 First pass at removing dead and deprecated code 2012-11-04 11:54:04 -05:00
Jason Perkins
77212557dc Merge new configuration system into the public APIs 2012-11-04 09:21:58 -05:00
Jason Perkins
bbc1ae59ad Add new API namespace() to set the root namespace of a C# project, independent of the project name 2012-10-26 16:58:46 -04: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
09334b4b1c Files marked as Content now are properly marked for copying to the output directory 2012-10-23 17:12:25 -04:00
Jason Perkins
bece5fb35b Port build action support to VS C# projects 2012-10-10 11:09:51 -04:00
Jason Perkins
12687e877e Added sibling project linking to C# makefiles 2012-10-08 18:31:12 -04:00
Jason Perkins
a91b2823cd Iniital objdir support for VS C# projects 2012-10-02 12:57:10 -04:00
Jason Perkins
1207bbd3ac Ported C# project and assembly reference handling 2012-09-27 10:15:27 -04:00
Jason Perkins
cf3d1f5f6f Merge with premake-dev 2012-09-25 10:27:10 -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
dc7d776df0 VS2010 now explicitly links all sibling projects for GCC builds (i.e. PS3) 2012-08-09 17:21:29 -04:00
Jason Perkins
dc82f87bd2 Port simple *.cs file handling 2012-08-07 17:03:23 -04:00
Jason Perkins
e6a30c7ee5 Turn off dependency linking in Visual Studio; link all sibling libraries explicitly 2012-08-01 15:28:21 -04:00
Jason Perkins
55e952d7f4 Begin porting C# projects to new APIs 2012-07-10 16:44:44 -04:00
Jason Perkins
2386e328b0 Merge mopey's VS2012 support 2012-07-03 13:48:57 -04:00
Jason Perkins
808aa41177 Bug 1674173: Allow source files to have the same name 2012-06-19 15:58:16 -04:00
Jason Perkins
b9c09f6dd3 Added project references to VC 2008 to fix intermittent build failures 2012-06-12 18:16:14 -04:00
Jason Perkins
019eb6eb39 Minimal changes for VS2012 support, from mopey's pull request 2012-06-08 15:07:49 -04:00
Jason Perkins
c1a793ae65 More changes to match VC2008 project defaults; avoid unnecessary changesets 2012-05-28 18:39:38 -04:00
Jason Perkins
ef4e929f60 Fix architecture mismatch in VS2010 project configurations element 2012-05-23 14:28:14 -04:00
Jason Perkins
9659541013 Write all config/architecture pairs into VS2010 project configurations element to avoid missing configurations 2012-05-15 19:06:03 -04:00
Jason Perkins
cac52ce5d6 Tweaks to better match the default VS2008 project layout, avoid modifications on project save 2012-05-10 17:52:28 -04:00
Jason Perkins
73146fa066 Disregard project configuration lists when iterating solution configurations 2012-05-08 14:09:07 -04:00
Jason Perkins
7b14efeba7 Removed deprecated config.getuniqueobjdirs(); object directories are now part of up-front bake process 2012-05-01 17:04:26 -04:00
Jason Perkins
391ec4eee6 Remove all configuration values from project; prevent top-level settings from bleeding through and causing side-effects at the config level 2012-04-25 19:10:37 -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
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
5cc291c313 Configuration mapping now working in Visual Studio 2008+, for most cases 2012-04-12 20:31:10 -04:00
xpol
ce1ae72f11 Add tests for the warnings flags. 2012-04-11 11:29:16 +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
38ae459803 Fixes for VC2010 custom build rule handling 2012-03-29 20:01:02 -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
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
f4a10dec03 Fixed VC2010 linking to PS3 libraries 2012-02-28 18:09:12 -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
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
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
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
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
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
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
283ecaeb45 Ported Visual Studio 2008 files element and supporting functions 2012-01-19 19:14:18 -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
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
12b033afc0 Merge with premake-dev 2011-12-21 16:19:54 -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
458d62ca36 Merge with Premake-dev 2011-12-07 16:10:27 -05:00
Jason Perkins
b5d7bba342 Added debugformat, with C7 support for Visual Studio 2011-11-19 16:50:50 -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
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
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
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
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
eccd1720ba More cleanup; preparing the virtual path stuff 2011-05-18 17:32:04 -04:00
Jason Perkins
eedf10ef6a Tweaks and tests for VS2010 file handling 2011-05-10 13:56:25 -04: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
229e31a465 [#1657833] Set working directory an IDE starts/debugs the program in 2011-04-25 15:55:17 -04: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
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
Jason Perkins
bb94e9de81 [#3100379] C# support for Visual Studio 2010 2011-02-16 15:16:07 -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
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
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
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
4a515d8df6 Bug 3034222: StaticLib projects ignore linkoptions 2010-10-13 10:20:26 -04:00