Commit Graph

257 Commits

Author SHA1 Message Date
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
starkos
724498ad9d Enable parenthesis in file paths 2009-05-29 17:45:37 +00:00
starkos
12cb7df750 Fixed bug in "missing kind" error message 2009-05-29 15:41:32 +00:00
starkos
9bdccbed33 Added precompiled header support for GCC 2009-05-22 20:27:05 +00:00
starkos
b4d4863634 Patch 2609028: verbose linking in makefile (kaidokert) 2009-05-22 18:38:53 +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
27e62d9cf3 Makefile support for PS3 2009-05-01 19:50:45 +00:00
starkos
699d8bc4e0 Minor formatting improvements 2009-04-28 16:52:52 +00:00
starkos
27d248c2d1 Better handling of native platform during configuration building stage 2009-04-23 18:26:31 +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
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
7760afe2e0 Updated GCC flag format: -fno-exceptions and -fno-rtti 2009-02-18 21:17:30 +00:00
starkos
fa97ef3595 Bug 2550759: pchheader option has wrong type 2009-02-05 16:13:16 +00:00
starkos
afc9783ec0 Fail gracefully when list is assigned to string field 2009-02-05 15:58:38 +00:00
starkos
7124c4d80d Bug 2564404: FatalWarnings has no effect with gmake target 2009-02-05 15:45:32 +00:00
starkos
7b6d53e6ec Support links and libdirs for Visual Studio static libraries 2009-02-05 15:37:00 +00:00
starkos
24494408f4 2009-01-30 18:52:40 +00:00
starkos
2062e69084 Set Mac OS X linker flags for Code::Blocks 2009-01-30 16:18:18 +00:00
starkos
909830a915 Bug 2533504: Files above project root not added to project 2009-01-26 17:49:57 +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
f2931efbc9 Embed scripts instead of precompiled bytecodes to avoid portability issues; undo previous PPC fixes 2009-01-19 01:45:47 +00:00
starkos
9ebd499dd1 Bug: Windows release builds of Premake4 made with GCC crash on script syntax errors 2009-01-13 19:33:21 +00:00
starkos
c1200dad3d Patched Lua to load precompiled bytecodes on PPC architecture 2009-01-12 23:41:05 +00:00
starkos
35928c4acd Display paths of generated files 2009-01-12 20:04:21 +00:00
starkos
3bb40f9dc9 Added LUA_USE_LINUX and LUA_USE_MACOSX to enable POPEN functionality 2009-01-11 21:50:11 +00:00
starkos
77e4cce9bd Updated CHANGES.txt 2009-01-09 21:29:20 +00:00
starkos
475e8ebd12 Added missing separator between link dependencies in C++ makefiles (oops) 2009-01-08 19:38:06 +00:00
starkos
a62f6735ee Removed "ToolsVersion" from VS2005 C# projects, for compatibility with *Develops 2009-01-06 22:46:31 +00:00
starkos
85a29bcbc1 Fixed handling of paths in links 2009-01-06 18:22:32 +00:00
starkos
bbb1626292 Enable Windows linking to shared libraries even with NoImportLib flag set (just in case) 2009-01-05 22:35:57 +00:00
starkos
6383c30674 Removed FatalWarnings flag, to make sure it can build around new compiler warnings. Checked return values in os_getcwd 2009-01-04 16:09:14 +00:00