Commit Graph

542 Commits

Author SHA1 Message Date
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
liamDevine
6c7b1939d8 ignore entry point in Manged C++ 2011-04-30 00:57:49 +01:00
liamDevine
df11537b80 Adding Managed C++ support for vs10 2011-04-30 00:25:12 +01:00
liamDevine
2f1e1809f5 vs10 reuses optimisation function 2011-04-29 23:52:41 +01:00
liamDevine
e5da7de916 merge with stable 2011-04-29 23:44:53 +01:00
liamDevine
5c015131c8 kind is a function in _G. Changed function 'merge' to use the string 'kind' instead of the function for the table key. 2011-04-29 22:56:36 +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
Jason Perkins
3737111c68 Some cleanup for is64bit() to make it look a bit like the other os functions 2011-04-04 16:49:55 -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
Jason Perkins
b2e7af94cf Replaced host.windowsversion with os.getversion 2011-03-26 17:12:10 -04: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
8e538baa6d Fixed Windows version fetching to build under VS2008 2011-03-25 16:17:34 -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
ed13aaeacf removed temp print statement 2011-03-23 15:42:36 +00: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
48fdd10f4d renamed host.is_64bit to host.is64bit
renamed host.windows_version to host.windowsversion
2011-03-12 21:11:59 +00:00
Liam Devine
c68dd29153 added host.windows_version 2011-03-12 17:42:49 +00:00
Liam Devine
a8d274d397 did not do a diff on premake.lua and instead used code from another download, In other words I messed it up. 2011-03-12 17:09:55 +00:00
Liam Devine
ecd8d1ae34 added define _CRT_SECURE_NO_DEPRECATE for visual studio build in premake4.lua. Old versions of vs2005 use this define.
added host.c for detecting if the process is running under wow, uses code provided on msdn where we lookup the function at runtime, which fails gracefully if a 32 bit machine.
add host.is_64bit function in host.lua
2011-03-12 17:03:10 +00:00
Liam Devine
33b9dfe543 Xcode4 workspace working yet using Xcode3 generation and settings 2011-03-11 17:13:51 +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
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
02aa571d53 Removed spurious console messages from usages code 2011-01-18 13:08:43 -05:00
Jason Perkins
b116d76cbb Bug 3138377: Link dependencies ignored within "SharedLib" configuration 2011-01-04 06:23:26 -05:00
Jason Perkins
1c06557bc9 Merged with stable 2011-01-02 15:53:26 -05:00
Jason Perkins
d199b951fb Updated copyright date 2011-01-02 15:46:43 -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
Jason Perkins
80cb617918 Removed scripts.c from the repository 2010-12-23 14:06:11 -05:00
Jason Perkins
92e55c4d9b Removed Windows and OS X specific stuff from new SNC tool definition 2010-12-15 06:53:16 -05:00
Jason Perkins
4c5a0a1057 Properly pass return codes back to shell in release builds 2010-12-12 17:49:17 -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
Jason Perkins
68303c0400 Merged with latest premake-stable 2010-12-02 06:23:23 -05:00
Liam Devine
e4fb04b09c fixes ClCompile blocks with PCH's in Vs10 generator 2010-12-01 13:10:44 +00:00
liamDevine
1567e91f1d embed scripts 2010-11-02 00:31:37 +00:00
liamDevine
5fdc73ad0d uses premake.config.isoptimizedbuild instead of optimisation(cfg) CompOperator "Disabled" in vs10 2010-11-02 00:23:24 +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
ac8d017332 merge 2010-11-01 22:02:08 +00:00
liamDevine
910edfdc31 embed scripts 2010-11-01 02:42:37 +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
ed6fa01f91 embeds scripts 2010-11-01 00:39:39 +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
e89e0eb8e7 Fixes vs10 Bug 3100062 uses premake.config.isdebugbuild to determine debug status 2010-10-31 23:18:15 +00:00
liamDevine
ea39872952 refactors magic strings 2010-10-31 22:19:22 +00:00
liamDevine
2bc31165d0 Removed commented out code that was there to remind me of PCH support 2010-10-30 12:42:00 +01:00
liamDevine
7e1e211156 embeded scripts 2010-10-30 11:57:22 +01: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
2278e5256b Merged with Stable 2010-10-25 14:48:39 -04: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
Jason Perkins
ae8826e75e Removed timestamp from Xcode IDs to make them reproducible (Robert Konrad) 2010-09-02 17:32:25 -04:00
Jason Perkins
f4c7c883fc Removed timestamp from Xcode IDs to make reproducible (Robert Konrad) 2010-09-02 17:30:03 -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
Jason Perkins
a9e89d2b28 Pulled latest changes from stable 2010-08-11 14:57:21 -04:00
Jason Perkins
414ceab997 Updated release scripts 2010-08-11 14:33:14 -04:00
Jason Perkins
1be943947a Added imagepath to set Xbox360 image file name (Jarod) 2010-08-09 16:17:03 -04:00
Jason Perkins
f40e8a2c45 Added 'deploymentoptions' 2010-08-09 16:06:10 -04:00
liamDevine
f5dd035ac3 embedded scripts 2010-07-28 01:28:06 +01: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
8626609492 Removed debug print statements that were added due to files no being included 2010-07-27 19:28:17 +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
613d5ebad5 Cleaned up deploymentoptions and imageoptions 2010-07-20 17:28:01 -04:00
Jason Perkins
5bf1a56522 Merged Solaris support 2010-07-20 17:03:53 -04:00