Commit Graph

540 Commits

Author SHA1 Message Date
Jason Perkins
0329112868 Folded in VS2010-specific clean code with existing vstudio clean functions 2010-07-20 16:44:33 -04:00
Jason Perkins
425684bef8 Merged Liam's VS2010 changes 2010-07-20 16:37:52 -04:00
LiamDevine
5409c7bf86 removing dead code 2010-07-15 01:46:27 +01:00
LiamDevine
d28ce552ce embeded lua source. Checked clean operation on a solution with multiple projects, yet no intergration tests added. 2010-07-15 00:47:35 +01:00
LiamDevine
0625d09e6a Moved clean funcitons to _vstudio.lua from vs2010_vcxproj.lua also removed temp stdio writes in _clean.lua 2010-07-15 00:22:53 +01:00
LiamDevine
22bf94ba46 moved function optimisation to before first use in vs2010_vcxproj.lua and added the local keyword 2010-07-14 23:40:51 +01:00
LiamDevine
5c49aa8638 Moved remaining functions from global and added them to the table premake.vstudio.vs10_helpers 2010-07-14 23:31:31 +01:00
LiamDevine
60422741da added local keyword to functions not called outside of the file scope. 2010-07-14 23:06:23 +01: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
LiamDevine
6415760b8a Fixed bug where a filter path had a dot in it's path
added C support
2010-06-21 20:49:20 +01:00
LiamDevine
4df8255508 added MFC support
changed to use only one configuration block
2010-06-21 17:38:50 +01:00
LiamDevine
947c13faea UseDebugLibraries --added to config
whole program optimisation --added
		added--- SmallerTypeCheck set to true when flags contain extra warnings and no optimisation
2010-06-21 14:33:48 +01:00
LiamDevine
2e6b86c1c0 changed any comments to line from blocks as parser failed
addded postfix slashes to int and out dirs
removed quotes from event hooks
moved event hooks to correct location
added target name to prevent warnings due to changes in vs using MSBuild
changed errors in wildcard searches that for some reason I was using through out
Found error in that a clean operation was registered within actions yet another function is called.
Can currently generate sln and proj files for C++ using most configs and compile then, see todo for exceptions
2010-06-20 01:07:39 +01:00
LiamDevine
ff650b85cf faulty test was passing. fixed 2010-06-18 00:49:48 +01:00
LiamDevine
d1eb9852fe pulled changes from premake repos 2010-06-18 00:33:25 +01:00
LiamDevine
f00217f741 removed invalid assumptions which were checked in unit tests
added link section even when a static lib
added ProgramDatabaseFile to link section
2010-06-18 00:27:34 +01:00
Jason Perkins
14ba480bf3 Merged latest changes from stable 2010-06-17 07:26:19 -04:00
LiamDevine
b96a354aba Moved filter functions into core from test file 2010-06-17 00:30:14 +01:00
LiamDevine
5c4d3cd478 check why <MinimalRebuild>true</MinimalRebuild> is missing in a debug static lib and shared lib build
--------Requires symbols to be set in flags
shared lib missing <DebugInformationFormat>EditAndContinue</DebugInformationFormat> in ClCompile section
--------Requires symbols to be set in flags
shared lib incorrectly <GenerateDebugInformation>true</GenerateDebugInformation> to false in link section
--------Requires symbols to be set in flags


shared lib LinkIncremental set to incorrect value of false
	---Fixed and tests wrote

check all configs %(AdditionalIncludeDirectories) missing before AdditionalIncludeDirectories end tag in ClCompile
	---Fixed if no include Directories supplied, this tag is not present
2010-06-16 23:50:57 +01:00
LiamDevine
223b5429f0 checked lib section for a static lib 2010-06-16 19:20:41 +01:00
LiamDevine
50e1665c34 the failed test has some how disapeared.
removed link section when kind is a static lib
2010-06-16 18:21:29 +01:00
LiamDevine
b27b21ce82 changed path seperators to window specific \\ 2010-06-16 00:35:41 +01:00
LiamDevine
70a93c68bc vcxproj.filters done
vcxproj.user done
vcxproj nearly done
2010-06-15 23:29:56 +01:00
LiamDevine
3f67eb5d7f vcxproj support getting there 2010-06-11 22:07:07 +01:00
Jason Perkins
6426050f83 Patch 3011940: Add support for MFC (JTAnderson) 2010-06-10 19:34:50 -04:00
LiamDevine
7b61224398 hmm missing tests 2010-06-10 18:15:49 +01:00
LiamDevine
4484d388a4 vs2010 started vcxproj 2010-06-10 16:45:25 +01:00
LiamDevine
375e4fafa7 vs2010 sln 2010-06-10 16:42:45 +01: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
d4b4a358ee Updated copyright; changed version "SVN" to "HEAD" 2010-05-21 13:44:44 -04:00
Jason Perkins
bcb2da2e42 Bug 2997728: Project dependencies should be case-sensitive 2010-05-10 16:02:58 -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
Cameron Hart
9c85b5bc1a Add *.icns files to Xcode build category as a resource and file type as an image.icns. 2010-04-25 16:37:09 +12:00
starkos
0b51fcb25e Filled out more of example action 2010-03-17 15:44:51 +00:00
starkos
794f10e2d4 Added example solution generation 2010-03-17 14:45:31 +00: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
c861bafe84 Added framework to vstudio C# 2005 2010-03-04 21:51:20 +00:00
starkos
0da8416c9b Began work on new frameworks() api 2010-03-04 21:01:45 +00:00
starkos
ccd6fa4b0c Removed SlickEdit action skeleton; will let someone else implement it 2010-03-03 15:43:12 +00:00
starkos
b4c0babb01 Removed deprecated code that was breaking the release build 2010-03-03 14:28:51 +00:00
starkos
d4143dae74 Feature 2944697: Add flag to disable Minimal Rebuild in Visual Studio 2010-03-03 13:40:56 +00:00
starkos
b3a9ef781b Updated scripts 2010-03-03 02:01:23 +00:00
starkos
b00f5aa1a4 Improved error message for invalid values in lists 2010-03-03 02:00:35 +00:00
starkos
0e49c8bc74 Updated scripts 2010-02-28 11:47:00 +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
6ebf6ac299 Added missing SlickEdit action files 2010-01-29 18:56:24 +00:00
starkos
aec3d4108f More work on example action template 2010-01-29 00:26:58 +00:00
starkos
ceafa8c310 Started work on an example action. 2010-01-28 21:20:42 +00:00
starkos
e210af92e0 Patch 2928029: Add EnableSSE, EnableSSE2 flags 2010-01-14 13:50:27 +00:00
starkos
ef21349505 Fixed handling of ./ prefix on file wildcards 2010-01-13 23:35:09 +00:00
starkos
3361bd4c66 Simplified long string handling in embedded scripts 2010-01-08 17:42:16 +00:00
starkos
ba8750bf28 Adjusted string length limits to build on VS2003 2010-01-07 16:24:17 +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
0f49283f60 Alpha sort files in Xcode projects 2010-01-05 19:27:34 +00:00
starkos
e28188080b Updated scripts 2009-12-31 23:06:19 +00:00
starkos
0ab0451c09 Support targetprefix in Xcode 2009-12-31 22:52:02 +00:00
starkos
d3cc3855ee Support framework linking in makefiles 2009-12-31 22:46:45 +00:00
starkos
c24a0a94ad Bug 2910202: Code::Blocks building C files as C++ 2009-12-31 16:14:07 +00:00
starkos
a744d46384 Factored out a bunch of hardcoded tabs in _p() calls 2009-12-28 18:49:18 +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
58d38ea075 Feature 2832906: Global variable (_SCRIPT) for current script path 2009-12-17 15:28:39 +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
4a179ae704 Few fixes for targetsuffix 2009-12-17 15:08:38 +00:00
starkos
70636a4510 Split build commands out by configuration 2009-12-14 16:09:53 +00:00
starkos
934c56719b Updated scripts 2009-12-14 15:34:48 +00:00
starkos
c963a76892 Bug 2912756: dylibs missing lib prefix 2009-12-12 17:29:53 +00:00
starkos
fdf37134c5 Removed deprecated Xcode solution stuff 2009-12-09 19:25:06 +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
d6e4094d51 Updated scripts 2009-12-05 13:34:24 +00:00
starkos
c0a7128a3c Implemented prebuild, prelink, and postbuild commands 2009-12-03 21:07:24 +00:00
starkos
a39c338896 Implemented platforms 2009-12-03 20:28:42 +00:00
starkos
c858deabdd Added linking to system libraries 2009-12-03 15:27:13 +00:00
starkos
fcff55ee47 Added NoExceptions, NoFramePointer, NoPCH, NoRTTI, libdirs, precompiled headers 2009-12-03 14:55:11 +00:00
starkos
14b7a2ca5d Implemented buildoptions, ExtraWarnings, FatalWarnings, FloatFast, FloatStrict, NoEditAndContinue, Symbols 2009-12-01 21:29:44 +00:00
starkos
6ef541d37c Updated scripts 2009-11-30 20:51:32 +00:00
starkos
a0f7ffc87e Fixed paths to dependent projects 2009-11-29 15:51:10 +00:00
starkos
00709e1074 Added PBXTargetDependency section 2009-11-29 15:37:39 +00:00
starkos
70349b3bdd Added PBXReferenceProxy section 2009-11-29 15:01:25 +00:00
starkos
05bbfcc15b Added project dependencies to PBXProject 2009-11-29 14:46:33 +00:00
starkos
ac4b428099 Added project dependencies to PBXNativeTarget 2009-11-29 14:39:58 +00:00
starkos
776f833413 Added project dependencies to PBXGroup 2009-11-29 14:24:12 +00:00
starkos
7e5e63d2dd Added project dependencies to PBXFrameworksBuildPhase 2009-11-29 13:36:46 +00:00
starkos
992eec33ab Added project dependency to PBXFileReference 2009-11-28 16:28:25 +00:00
starkos
912ebca665 Implemented PBXContainerItemProxy 2009-11-28 16:13:26 +00:00
starkos
8e3604d95f Attach IDs needed for inter-project dependencies at solution setup time 2009-11-28 16:04:52 +00:00
starkos
b65bf6111a Add check to Xcode action to prevent multiple target kinds per project (not supported by Xcode) 2009-11-27 23:56:28 +00:00
starkos
f1e5457752 Implemented linkoptions() for Xcode 2009-11-25 20:36:20 +00:00
starkos
73aad5b34b Implemented includedirs() and defines() for Xcode 2009-11-25 20:27:57 +00:00
starkos
293b03daa2 Fixed bug in Xcode group pathing; started work on project dependencies 2009-11-25 19:40:23 +00:00
starkos
94858c315e Treat paths starting with '$' as absolute [like ] 2009-11-25 19:31:31 +00:00
starkos
b5dd640f9d Fix for product file reference names 2009-11-19 19:44:11 +00:00
starkos
49755b0d23 Feature 2900623: Add targetsuffix and implibsuffix properties 2009-11-19 19:02:43 +00:00
starkos
f47e40abbe Implemented location(), targetdir(), objdir() 2009-11-17 20:30:56 +00:00
starkos
d15d075309 clean now removes .pidb files 2009-11-14 18:23:39 +00:00
starkos
bf152cac6b Cleanup on target and project config blocks 2009-11-10 20:32:20 +00:00
starkos
5ad56cccaa Removed SDKROOT 2009-11-10 19:03:35 +00:00
starkos
eef1a97501 Finished porting 2009-11-09 21:34:46 +00:00
starkos
0273520f02 Ported build configurations 2009-11-09 21:16:34 +00:00
starkos
382aed3e93 Ported PBXSourcesBuildPhase 2009-11-09 20:42:50 +00:00
starkos
bd65dcc2c9 Ported PBXResourcesBuildPhase 2009-11-09 20:39:27 +00:00
starkos
11a4804617 Ported PBXProject 2009-11-09 20:29:42 +00:00
starkos
794b84c90f Ported PBXNativeTarget 2009-11-09 20:26:11 +00:00
starkos
756d5e844a Ported PBXGroup 2009-11-09 20:12:40 +00:00
starkos
8ebddad6b0 Ported PBXFrameworksBuildPhase 2009-11-06 21:39:44 +00:00
starkos
7943baa46f Finished porting PBXFileReference 2009-11-06 21:33:49 +00:00
starkos
5b27a0a368 Began porting PBXFileReference 2009-11-05 21:55:34 +00:00
starkos
74a37071f8 Added frameworks to PBXBuildFile 2009-11-05 21:25:27 +00:00
starkos
5f48d7414e Ported resource handling in build files 2009-11-05 21:09:48 +00:00
starkos
505efec180 More solution object refactoring 2009-11-04 18:44:13 +00:00
starkos
293e2353ba Began porting to solution object 2009-11-04 18:25:08 +00:00
starkos
03b9eb3deb Shuffling functions into new Xcode source organization 2009-11-03 21:35:24 +00:00
starkos
45d6a1d568 Started refactoring toward one target per project 2009-10-26 16:30:08 +00:00
starkos
162cb14333 Fixed handling of .string file references 2009-10-23 17:45:49 +00:00
starkos
337da61e8a Updated scripts 2009-09-30 18:54:41 +00:00
starkos
1fb14e7499 Updated OW float flags 2009-09-29 20:31:32 +00:00
starkos
05cb432e31 Patch 2802722: Floating Point Model Flags (Suigintou) 2009-09-29 20:28:13 +00:00
starkos
fa96dd946c Patch #2832852: Fix descriptions in cmd help (Sebastian Schuberth) 2009-09-29 20:06:06 +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
18c498f7b3 Set up _OS for xcode tests 2009-09-29 18:32:34 +00:00
starkos
5f978efc56 Turned off Xcode generator for the 4.1.2 release 2009-09-28 14:12:22 +00:00
starkos
3f3cabd28f Fixed naming of static libraries in Xcode 2009-09-21 13:59:25 +00:00
starkos
72682355c3 First pass on library support for Xcode 2009-09-19 15:24:06 +00:00
starkos
d46a53ba64 Removed deprecated code from Xcode generator 2009-09-18 00:47:21 +00:00
starkos
1af7b99c87 Ported remaining sections to new structure 2009-09-18 00:27:29 +00:00
starkos
543465da1a Moved pbxproj header and footer to new structure 2009-09-16 14:14:43 +00:00
starkos
80fbc4d146 Cleaned up PBXBuildFile and PBXFileReference sections 2009-09-15 21:08:40 +00:00
starkos
08e3d7f11e Improved handling of special/empty groups 2009-09-09 14:10:22 +00:00
starkos
a73bbd6a17 Fixed path to target binaries in file references 2009-09-09 13:38:38 +00:00
starkos
98e849508d Fixed source paths containing .. 2009-09-06 18:00:09 +00:00
starkos
4aca2a92a7 Added support for .nib files 2009-09-06 17:42:08 +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
b6894904c4 Added support for .strings 2009-09-03 19:25:09 +00:00
starkos
8a16e6a6c3 OS X WindowedApp improvements 2009-09-03 19:16:51 +00:00
starkos
bb41d3f185 Can now open project with a plist file 2009-09-03 18:48:34 +00:00
starkos
320b204c31 Can now open project with a plist file 2009-09-03 18:47:13 +00:00
starkos
9e9eebc763 Improved testability of Xcode IDs 2009-09-03 18:11:41 +00:00
starkos
4f68ac124a Set INFO_PLIST in configuration 2009-09-02 22:33:15 +00:00
starkos
ba4da127bf Removed duplication .pinfo files 2009-09-02 22:18:49 +00:00
starkos
d9d7b89726 Added support for linking system frameworks 2009-08-28 00:02:36 +00:00
starkos
f2f5d0945b Removed deprecated Premake 3.x script 2009-08-27 16:17:40 +00:00
starkos
cae5d60d77 Added indent parameter to printf() 2009-08-27 16:13:51 +00:00
starkos
c04c4ddf3d Added support for localized .xib files 2009-08-27 13:27:47 +00:00
starkos
da2f037d9c Fixed handling of resources to across projects 2009-08-26 21:37:58 +00:00
starkos
4cf834cf53 Added PBXVariantGroup section 2009-08-26 20:42:27 +00:00
starkos
c35eb232c1 Corrected resource listings in build section 2009-08-26 17:17:55 +00:00
starkos
dcd9f5b4f4 Refactored file reference building 2009-08-24 21:49:07 +00:00
starkos
1b00abd12c Add .xib file resources 2009-08-24 21:42:14 +00:00
starkos
874ac5599f Begain support for .m files 2009-08-24 00:47:21 +00:00
starkos
caaea14c13 Started unit tests for Xcode generation 2009-08-21 20:26:30 +00:00
starkos
6b56b6d7cc Push .build folder into a objects directory 2009-08-21 19:41:58 +00:00
starkos
31c5c65947 Premake now self-hosts 2009-08-20 20:45:40 +00:00
starkos
947661686b Added target and objects directories 2009-08-20 20:38:42 +00:00
starkos
8fc3153608 Updated scripts 2009-08-20 15:07:11 +00:00
starkos
9b02a4820b Attach frameworks to targets 2009-08-20 15:05:52 +00:00
starkos
a5a69cb91c Attach sources to targets 2009-08-20 15:01:47 +00:00
starkos
ecc603dcc0 Added simple target configurations 2009-08-20 14:53:05 +00:00
starkos
ba3f063558 Wired project configurations 2009-08-20 14:24:48 +00:00
starkos
f126e057a8 Project and target wiring completed 2009-08-20 13:36:46 +00:00
starkos
920ba6d898 More work on targets 2009-08-20 12:46:33 +00:00
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