Commit Graph

1061 Commits

Author SHA1 Message Date
starkos
28cb46f1eb Add project and file hierarchy to PBXGroup 2009-08-19 20:19:22 +00:00
starkos
8bb8fbf149 Added names to PBXGroup section 2009-08-19 18:49:36 +00:00
starkos
27577dcd16 Added targets to PBXFileReference section 2009-08-19 18:46:48 +00:00
starkos
9d359ae73d Started adding targets 2009-08-18 21:00:26 +00:00
starkos
a6903614ed Removed copy phase block, for now 2009-08-18 19:29:20 +00:00
starkos
d00256b99f Implemented copy phase block 2009-08-18 19:15:51 +00:00
starkos
3ee836d18c Added source file tree builder 2009-08-18 19:09:17 +00:00
starkos
70b2e1984a Filter by buildable files 2009-08-18 12:10:57 +00:00
starkos
fd2a2557f3 Started Xcode file references 2009-08-18 11:58:25 +00:00
starkos
fccd6a4c53 Begin implementation of Xcode project 2009-08-17 21:24:14 +00:00
starkos
2806554e59 Shortened name placeholder for project.getfilename 2009-08-12 15:22:44 +00:00
starkos
53e5f42b0a Refactored clean action to use new callbacks 2009-08-12 14:56:54 +00:00
starkos
f3d1ab6f0c Ported vstudio and xcode3 to new action callbacks 2009-08-12 14:19:56 +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
d22b58dca2 Refactored and consolidated option list handling 2009-08-11 00:30:24 +00:00
starkos
ca6ae465c0 Refactored and consolidated action list handling 2009-08-11 00:11:48 +00:00
starkos
3a91df1c9c Updated scripts 2009-07-16 14:29:29 +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
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
735bb610c4 Cut some more fat from the embedded scripts 2009-06-15 18:36:09 +00:00
starkos
bc2a84b7a0 Removed duplicate newlines from embedded scripts 2009-06-15 18:23:53 +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
16460258e0 Updated scripts 2009-06-08 20:50:13 +00:00
starkos
e92d308f39 #2801257: Linker error LNK1112 when cross-compiling for x64 platform 2009-06-08 20:46:20 +00:00
starkos
3f96e6a87a Bit of code cleanup 2009-06-08 19:40:13 +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
c02220e135 Updated scripts 2009-06-03 22:21:00 +00:00
starkos
297a996d47 PS3 target fix 2009-06-02 19:44:46 +00:00
starkos
e70595de03 Refactored target building, fixed path separators for .NET projects 2009-06-02 19:40:59 +00:00
starkos
60bc689d3c Fixed import library naming under OS X 2009-05-31 18:35:10 +00:00
starkos
081d32d4d6 Updated scripts 2009-05-31 18:18:13 +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
b12f5c6139 Updated scripts 2009-05-28 19:29:02 +00:00
starkos
67db482110 Added new field 'trimpaths' to trim leading folders shown in IDEs. Not wired up yet. 2009-05-28 19:15:57 +00:00
starkos
2be34e3866 Condensed parameters to walksources to make trimpaths easier to implement 2009-05-28 19:13:50 +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
07e0c85274 2009-05-12 22:43:06 +00:00
starkos
30814670db Fixed naming of PS3 executables under Cygwin 2009-05-12 22:11:24 +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
c4e20902fa Fixed bug in C# project references 2009-05-07 17:51:41 +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
edf1b4d163 Merged changes from PS3 branch 2009-05-05 22:42:49 +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
4dc0230942 Updated scripts 2009-04-28 16:53:34 +00:00
starkos
699d8bc4e0 Minor formatting improvements 2009-04-28 16:52:52 +00:00
starkos
6b05482f03 Preprocess project-level path fields 2009-04-28 15:34:53 +00:00
starkos
7fe3426b46 Building of unique object directories is now much faster 2009-04-28 14:56:08 +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
b1bddf9fce Updated scripts 2009-04-24 15:18:16 +00:00
starkos
edc74bc237 Refactored handling of configuration names 2009-04-24 14:34:54 +00:00
starkos
457744c27e Added platform support to CodeLite 2009-04-24 13:40:28 +00:00
starkos
7e973368be Added platform support to Code::Blocks 2009-04-24 13:18:46 +00:00
starkos
f46e63df23 Refactored GCC config block writer to function for unit testing 2009-04-23 23:05:24 +00:00
starkos
4cf44626bc Removed deprecated templating code and tests 2009-04-23 23:01:22 +00:00
starkos
d667c6aec1 Phased out templates from manifest 2009-04-23 22:55:10 +00:00
starkos
5cbfe64816 De-templated CodeLite action 2009-04-23 22:30:29 +00:00
starkos
4d5cef162f Updated scripts 2009-04-23 18:58:37 +00:00
starkos
63bf5e3040 Use build config generalization for C# copy rules, too 2009-04-23 18:53:35 +00:00
starkos
d4f8c3d44a In C# projects, test against build config only; ignore platform 2009-04-23 18:51:01 +00:00
starkos
27d248c2d1 Better handling of native platform during configuration building stage 2009-04-23 18:26:31 +00:00
starkos
a1e313089f Typo: GCC platform flags not getting applied 2009-04-22 19:45:47 +00:00
starkos
f3482746ae Updated scripts 2009-04-21 20:01:22 +00:00
starkos
3c29c5dc4d Default makefiles to native platform 2009-04-21 20:00:17 +00:00
starkos
fc705c245e Test for no platform before inserting GCC flags 2009-04-21 19:52:52 +00:00
starkos
2bfb6c6fe3 Updated scripts 2009-04-21 19:42:14 +00:00
starkos
60d913a9b8 Fixed spacing issue in clean rule of solution makefile 2009-04-21 19:38:16 +00:00
starkos
3160a6b32b Added support for "native" platform to Visual Studio 2009-04-20 19:46:23 +00:00
starkos
31f59327c7 Updated scripts 2009-04-20 19:32:41 +00:00
starkos
18ffd7b27f Implemented support for Universal platforms 2009-04-20 19:32:26 +00:00
starkos
02b874db57 Implemented platform flags for GCC; added "native" platform support 2009-04-20 19:06:48 +00:00
starkos
e0073aa42a Added platform compatibility to .NET makefiles 2009-04-14 19:41:30 +00:00
starkos
5fdea1ea7c Updated bytecodes 2009-04-14 19:33:58 +00:00
starkos
85294acc29 Platforms now working in makefile C/C++ projects 2009-04-14 19:33:11 +00:00
starkos
273a388678 Solution makefiles now list project dependencies by both configuration and platform 2009-04-14 19:25:48 +00:00
starkos
e41c6275f8 Aliased io.printf() with _p() to save some typing and bytes in the executable 2009-04-11 11:49:07 +00:00
starkos
0acf927b72 Un-templated the GMake action in preparation for adding platform support 2009-04-11 11:33:32 +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
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
47b2cb0880 Updated bytecodes and changelog 2009-01-30 18:51:56 +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
16eccbf35b Removed "no-frame-pointers" flag from 3.x script; causes release builds to crash on Lua error 2009-01-15 19:54:08 +00:00
starkos
eb33c9d874 Enable getobject() to find solution even when project is current 2009-01-14 20:11:40 +00:00
starkos
5bd3dcfb69 Fixed off-by-one error level in getobject(); no file/line info was being shown on error 2009-01-14 20:03:27 +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
8a20a334fa Updated bytecodes 2009-01-11 22:06:27 +00:00
starkos
ead7af951f Replaced read from /dev/random with /dev/urandom; fixed hangs on Ubuntu 2009-01-09 21:22:57 +00:00
starkos
3959037db3 Fixed nil variable reference in os.findlib() on Linux 2009-01-09 20:31:46 +00:00
starkos
475e8ebd12 Added missing separator between link dependencies in C++ makefiles (oops) 2009-01-08 19:38:06 +00:00
starkos
f8ca7b42f6 Fixed os_copyfile() for Posix 2009-01-08 19:33:14 +00:00
starkos
29f6048b6c Added missing os_copyfile.c (doh!) 2009-01-08 19:30:57 +00:00
starkos
4797c6d4bb Added missing os.copyfile() function (untested on Posix yet) 2009-01-08 19:28:45 +00:00
starkos
6cb18fe949 Rolled back change to C# assembly loading; wasn't working properly with *Develops 2009-01-07 19:29:08 +00:00
starkos
a62f6735ee Removed "ToolsVersion" from VS2005 C# projects, for compatibility with *Develops 2009-01-06 22:46:31 +00:00
starkos
6d6dbaf4ea Added "ToolsVersion" to VS2005 and VS2008 C# projects to prevent VS2008 migration assistant from firing. 2009-01-06 18:59:44 +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
e0186be6ae Support absolute paths in scripts, to reference a different Windows drive letter. 2009-01-05 15:40:05 +00:00
starkos
5fca9b101a Fixed Code::Blocks post-build commands 2009-01-05 14:41:51 +00:00
starkos
c0f977ace2 Check return values in os_uuid.c (Ryan Pusztai) 2009-01-05 14:25:10 +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
starkos
f3c5b1868f Fixed constant loop expression warning (where did this come from?) 2008-12-30 17:10:01 +00:00
starkos
ba154a2f83 Last tweaks for RC1 2008-12-30 01:29:15 +00:00
starkos
343050bc6f Upgraded to Lua 5.1.4 2008-12-30 01:15:38 +00:00
starkos
38b3c79469 Prepped support files for RC1 2008-12-29 23:20:44 +00:00
starkos
eee828d06b Some tweaks to allow location to be nil (handy when working with a location option) 2008-12-27 13:33:10 +00:00
starkos
e28d89ccf7 Updated bytecodes 2008-12-22 23:00:20 +00:00
starkos
f654a85e5f Removed special solution clean hook; needs rethinking 2008-12-22 22:57:22 +00:00
starkos
b0441e8eb4 Changed makefile CONFIG variable to "config" to match "verbose" 2008-12-22 22:47:16 +00:00
starkos
78c4c02997 Fixed bug: makefile link steps always runs (triggered by prebuild and prelink) 2008-12-22 22:34:30 +00:00
starkos
3cdd0d2442 Added verbose flag to makefiles: verbose=yes will show commands as run 2008-12-22 22:05:48 +00:00
starkos
a90a0b5782 Add search of /etc/ld.so.conf to os.findlib() 2008-12-22 20:26:18 +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
bdaff8f01e Updated bytecodes 2008-12-22 19:27:18 +00:00
starkos
d253bd5f88 Use VS2005 format for SharpDevelop and MonoDevelop 2008-12-22 19:26:40 +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
4f824e808e Fixed bug in Premake4 build script (doh!) 2008-12-19 14:28:04 +00:00
starkos
1831580590 ** Merged Visual Studio C# support and simplified configuration filters (r649:661) 2008-12-18 17:53:57 +00:00
starkos
51de420d55 Updated bytecodes 2008-12-15 15:01:29 +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
2484c2e5fa Added missing ow.lua 2008-12-01 13:58:34 +00:00
starkos
b4c4129b53 Added custom options, support for CodeBlocks/OpenWatcom (r596:606) 2008-11-26 22:33:50 +00:00
starkos
79f26b0063 Stripped out premake.tools namespace to keep templates cleaner 2008-11-26 14:38:59 +00:00
starkos
be26ccfb9d Merged CodeLite support(r591:595) 2008-11-25 23:59:31 +00:00
starkos
7d81da1474 Added Code::Blocks support (r583:590) 2008-11-25 00:32:49 +00:00
starkos
ef8d8d0edc Added custom build step support 2008-11-23 14:35:52 +00:00
starkos
6eedbd8537 First pass at refactoring functions implementation 2008-11-22 20:10:37 +00:00
starkos
870d9c65d2 Fixed handling of library decorations 2008-11-21 20:51:49 +00:00
starkos
e9504f589c Remove deprecated sibling arg from getlibraries() 2008-11-21 20:05:16 +00:00
starkos
1bd66554bd Fix relative paths to target dependencies 2008-11-21 16:49:00 +00:00
starkos
63a2f3fe60 Always use .a for Makefile static libs, even on Windows 2008-11-21 16:37:24 +00:00
starkos
f31931cfa5 ** Merged with refac_clean branch; moved cleaning code into the actions, improved namespaces (r568:570) 2008-11-19 02:17:43 +00:00
starkos
12e64c5406 Fixed Visual Studio vcproj configurations; I was using project-level settings instead of config-level 2008-11-17 22:01:32 +00:00
starkos
9309801318 Updated bytecodes 2008-11-13 01:10:07 +00:00
starkos
5e0856379c POSIX path fix (last checkin) didn't work on Windows; fixed 2008-11-13 01:08:22 +00:00
starkos
63057c01c2 Fixed mkdir() bug on Posix - wasn't handling absolute paths correctly 2008-11-13 01:04:04 +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
starkos
2dbd283813 Added Symbols, Optimize, OptimizeSize, and OptimizeSpeed build flags, refactorings (r488:497) 2008-08-20 20:02:42 +00:00
starkos
25d5b3aac7 Added kind() 2008-08-15 02:36:04 +00:00
starkos
95c23ec10b Completed implementation of location function and project-relative pathing (r479:485) 2008-08-13 15:25:06 +00:00
starkos
bcc678cb91 Big refactoring and code consolidation (r464:478) 2008-08-09 00:15:17 +00:00
starkos
e6b1bc0863 Added handling of spaces to solution, project, configuration, and file names (r461:463) 2008-07-31 13:07:01 +00:00
starkos
21882c1218 Added filtering by toolset and OS, and pattern matching (r453:460) 2008-07-29 22:51:01 +00:00
starkos
b2a340ee3c Added filtering on configuration (r446:452) 2008-07-17 15:56:09 +00:00
starkos
1bc50edf54 Configuration, defines, bugs fixes, and a bunch of refactoring (r424:445) 2008-07-10 18:15:20 +00:00
starkos
5c50a9f9d5 Work in progress on configuration blocks (r414:421) 2008-06-27 16:53:36 +00:00
starkos
a99ff72d9f Merged configuration check logic and global eol-settings (r405:413) 2008-06-17 18:45:11 +00:00
starkos
839ffcec86 Code refactorings (r403:404) 2008-06-13 13:21:32 +00:00
starkos
7907a92a31 Added solution.language; code refactoring (r397:402) 2008-06-10 18:42:59 +00:00
starkos
bce9ab296c Added support for wildcard matching (r391:396) 2008-05-27 18:47:25 +00:00
starkos
ee5b93015c Bug fixes and documentation improvements (r388:390) 2008-05-23 17:30:43 +00:00
starkos
d5a4def451 Bug fixes and refactorings (r382:387) 2008-05-21 21:03:46 +00:00
starkos
8377b2e217 Added mkdir and clean rules to gmake (r380:382) 2008-05-18 15:20:32 +00:00
starkos
98d19823c1 Added files(), with initial support in VS and gmake (r370:378) 2008-05-16 15:35:56 +00:00
starkos
b3bb81cfd0 Initial implementation of files() with Visual Studio support (r359:369) 2008-05-09 15:19:56 +00:00
starkos
dab64c4f02 Split session and scripting components (r354:358) 2008-05-05 00:02:56 +00:00
starkos
46413c719d Fixed Doxygen related errors 2008-05-02 14:07:26 +00:00
starkos
35301621dc GNU C++ project makefile generation (placeholder); refactoring and code cleanup (r346:349) 2008-05-02 13:51:44 +00:00
starkos
a2fc0b2854 Implemented initial (placeholder) Visual Studio C++ project files. 2008-05-01 17:57:23 +00:00
starkos
d7ad0d7c0e Fixed uncleared error in make tests 2008-04-25 16:45:38 +00:00
starkos
3621f5fbe9 Added project.language and session validation 2008-04-24 20:20:12 +00:00
starkos
cb88b243b8 Added initial support for Visual Studio 2008 solutions. 2008-04-22 14:58:30 +00:00
starkos
86ddb7c0a0 Added initial GNU make solution file writing (r312:319) 2008-04-22 14:16:02 +00:00
starkos
cbeb7c9eb9 Implements VS2002 and VS2003 solutions with hardcoded configurations; much refactoring 2008-04-17 15:53:46 +00:00
starkos
0cd1e2dd85 Started implementation of projects 2008-04-15 23:57:39 +00:00
starkos
708a965fcd Merged with dev branch: generation of stub solution files for VS and gmake (r292:300) 2008-04-09 20:02:25 +00:00
starkos
2163ec6279 Initial import of my local 4.x development code 2008-04-06 18:10:41 +00:00