Commit Graph

288 Commits

Author SHA1 Message Date
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
efba137c0a Fixed typo in change log 2011-11-08 16:44:21 -05:00
Jason Perkins
02234cffa9 Patch 3381066: Fix VS2010 project references 2011-11-08 16:43:49 -05:00
Jason Perkins
2fef34701e Patch 3401184: Fix Gmake LDFLAGS generation order (Adam Petrone) 2011-10-26 15:54:52 -04:00
Jason Perkins
ac6867c35b Patch 3337372: Improved precompiled header support (Anders Ericsson) 2011-10-25 18:06:53 -04: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
562746c1f4 Patch 3138574: NoImportLib ignored in Windows makefiles dependencies (rjmyst3) 2011-10-03 14:53:14 -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
Jason Perkins
3e8ee40315 Added new function os.stat to fetch information about a file 2011-08-26 16:10:02 -04: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
Liam Devine
7d1207a7cf * Bug 3277343: SM_SERVERR2 is not always defined by default
Also maybe running under WoW
2011-08-23 12:50:08 +01:00
liamDevine
fcc2563a23 Added credit in change.txt 2011-08-22 12:55:48 +01:00
liamDevine
75b488d63a * Bug 3277343: SM_SERVERR2 is not always defined by default
Also maybe running under WoW
2011-08-22 12:52:42 +01:00
liamDevine
7c3dfa82c7 First member of SYSTEM_INFO is a union. MSCV allows {}, codeblocks with mingw does not. Prevent warning on both by using {{0}} syntax. 2011-08-22 11:32:18 +01:00
Jason Perkins
f413bd1241 Mentioned source filtering/grouping in changelog 2011-07-21 15:37:08 -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
Liam Devine
7a89211a38 English alais' for the Optimize group of flags 2011-05-18 20:31:08 +01: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
Jason Perkins
1dada1a51e Removed 4.3.1 from changelog; going right to 4.4 2011-05-03 19:28:05 -04:00
liamDevine
adb2529b61 Applied patch which sets the target machine in visual studio 2011-05-01 03:09:27 +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
0357046d36 Merged changes from stable 2011-04-11 14:33:49 -04: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
ccb5d34c95 Merged with premake-stable 2011-03-23 17:05:19 -04:00
Jason Perkins
907f57d636 Updated changelog for previous fix 2011-03-23 16:45:48 -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
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
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
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
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
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
Jason Perkins
1b8a1608ac 4.3 release prep 2010-11-16 06:25:37 -05:00
liamDevine
ac8d017332 merge 2010-11-01 22:02:08 +00:00
Jason Perkins
8c762d24a8 Cleaned up a few entries in changelog 2010-11-01 16:26:04 -04: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
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
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
1be943947a Added imagepath to set Xbox360 image file name (Jarod) 2010-08-09 16:17:03 -04: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
Jason Perkins
b3a1d979ca Added support for Solaris (Dean Ross-Smith) 2010-07-20 17:03:21 -04:00
Jason Perkins
f13da13390 Merged VS2010 support 2010-07-13 09:09:30 -04:00
Jason Perkins
46aa8cbd65 Merged VS 2010 C/C++ support (Liam Devine) 2010-07-13 09:05:13 -04:00
Jason Perkins
7a3cd649a6 Merged .icns fixes from Stable 2010-07-13 08:25:03 -04:00
Jason Perkins
68f49d30bd Fixed handling of icons in Xcode (bitshifter) 2010-07-13 08:18:33 -04:00
Jason Perkins
e340bb9cd2 Merged license change (GPL to BSD) from Stable branch 2010-06-21 16:25:08 -04:00
Jason Perkins
cc50d84dfa Changed license from GPL to BSD 2010-06-21 16:20:35 -04:00
Jason Perkins
14ba480bf3 Merged latest changes from stable 2010-06-17 07:26:19 -04:00
Jason Perkins
6426050f83 Patch 3011940: Add support for MFC (JTAnderson) 2010-06-10 19:34:50 -04:00
Jason Perkins
5face10dc5 Updated change log 2010-05-29 17:34:35 -04:00
Jason Perkins
a92ab43bde Patch 2794681: Add usage() to copy settings from dependent projects (Korval)
With help from Conrad Mercer. Still needs unit tests (and testing in general)
2010-05-29 17:31:37 -04:00
Jason Perkins
3e219978bd Updated CHANGELOG, removed deprecated VS2002/2003 info from BUILD 2010-05-10 16:04:32 -04:00
Jason Perkins
57af8d97e1 Patch 2997452: Suppress gmake's "nothing to be done" message (ergosys) 2010-05-07 10:58:20 -04:00
Jason Perkins
6d07764a54 Patch 2997449: Print configuration with target (ergosys) 2010-05-07 10:41:16 -04:00
starkos
0a6c7bcd31 Patch 2965229: Fix handling of '+' symbol in file patterns (Rachel Blum) 2010-03-08 14:57:21 +00:00
starkos
b1b1dd82c8 Patch 2963313: Enable setting .NET framework version (Justen Hyde) 2010-03-04 21:55:13 +00:00
starkos
5a8c7899f5 Ready for 4.2.1 2010-03-03 14:22:49 +00:00
starkos
d4143dae74 Feature 2944697: Add flag to disable Minimal Rebuild in Visual Studio 2010-03-03 13:40:56 +00:00
starkos
b00f5aa1a4 Improved error message for invalid values in lists 2010-03-03 02:00:35 +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
e210af92e0 Patch 2928029: Add EnableSSE, EnableSSE2 flags 2010-01-14 13:50:27 +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
a52cc9a668 Updated changes for 4.2 2010-01-08 23:04:41 +00:00
starkos
bbf7bbef3a Bug 2927604: Unable to build Premake with Visual Studio 2010-01-07 15:36:03 +00:00
starkos
38e8cab78a Bug 2926917: Use target name for Visual Studio PDB file 2010-01-06 18:47:00 +00:00
starkos
c24a0a94ad Bug 2910202: Code::Blocks building C files as C++ 2009-12-31 16:14:07 +00:00
starkos
b9e6c4315b Feature 2820644: Add Xbox360 deployment and image options 2009-12-28 18:42:04 +00:00
starkos
f8cd380d11 Feature 2919629: Add help target for makefiles 2009-12-28 16:34:39 +00:00
starkos
f4cfa2f82a Feature 2905303: Enable better folder matching in file lists 2009-12-22 16:07:55 +00:00
starkos
a755816cf2 Updated changelog 2009-12-17 15:43:25 +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
c963a76892 Bug 2912756: dylibs missing lib prefix 2009-12-12 17:29:53 +00:00
starkos
a212a798ec Bug 2872066: Two test failures in 4.1.2 2009-12-09 19:12:00 +00:00
starkos
9a3bf8e5e5 Bug 2910639: Nil reference on dylib project dependency 2009-12-09 18:40:56 +00:00
starkos
b3abe4c0cb Bug 2910691: Duplicate build options 2009-12-08 21:28:52 +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
a12933cc72 Added project kind to list of configuration filters 2009-12-07 19:37:12 +00:00
starkos
4914da417b Automated most of the release 2009-12-05 18:00:46 +00:00
starkos
49755b0d23 Feature 2900623: Add targetsuffix and implibsuffix properties 2009-11-19 19:02:43 +00:00
starkos
d15d075309 clean now removes .pidb files 2009-11-14 18:23:39 +00:00
starkos
2ff5eee667 2009-09-30 18:50:00 +00:00
starkos
05cb432e31 Patch 2802722: Floating Point Model Flags (Suigintou) 2009-09-29 20:28:13 +00:00
starkos
21d56ceebb Added missing changelog 2009-09-29 20:06:53 +00:00
starkos
7b6c8fdd9a Added .m and .mm file extensions (Objective C) 2009-09-29 19:58:15 +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
e2c3009d89 Fixed ManagedExtensions setting for Visual Studio 2009-09-05 19:48:03 +00:00
starkos
3c3063d3cd Changed order of arguments to GCC link step to fix static linking 2009-09-04 21:40:31 +00:00
starkos
6b59a3b23f Remove platform-specific intermediate objects on clean 2009-07-15 14:17:07 +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
a626ff907d 2009-07-01 19:08:00 +00:00
starkos
0bb039fb4f Bug 2814179: Xbox 360 precompiled headers not working 2009-06-30 00:08:16 +00:00
starkos
f64502c3c5 Added skeleton Xcode action 2009-06-29 14:03:12 +00:00
starkos
df9d16e6c3 2009-06-29 13:34:44 +00:00
starkos
4145daa049 Bug 2813297: OS X universal config should be "univ" (William Burnson) 2009-06-27 19:45:56 +00:00
starkos
a250258f95 Finalized change log for 4.1 2009-06-21 23:04:51 +00:00
starkos
1c1ad931b4 Bug 2152526: Code::Blocks doesn't build PCH correctly on GCC 2009-06-15 18:03:17 +00:00
starkos
b041900f25 Bug 2675518: Dependencies wrong on config links 2009-06-15 15:50:20 +00:00
starkos
7713434939 Bug 2709641: Location field does not propagate to projects 2009-06-15 14:52:53 +00:00
starkos
b86401bdf5 Bug 2805763: GCC PCH issues 2009-06-15 14:39:10 +00:00
starkos
e92d308f39 #2801257: Linker error LNK1112 when cross-compiling for x64 platform 2009-06-08 20:46:20 +00:00
starkos
88db91b2f1 Automatically set the OS to Windows when generating for Visual Studio 2009-06-08 16:06:06 +00:00
starkos
2e920a1ef1 Fixed naming of system libraries in Visual Studio link step 2009-06-08 15:36:28 +00:00
starkos
1da7795d67 Remove additional MonoDevelop files on clean 2009-06-08 14:47:25 +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