Jason Perkins
5c87c62de1
Split handling of include directories and force includes; wrap all include paths in quotes
2013-06-27 13:50:12 -04:00
Jason Perkins
644cb30326
One of the change sets to support the new kind "None" seems to have gone missing; here it is (again?)
2013-06-26 07:28:57 -04:00
Jason Perkins
63257e1fc8
Add missing mapping for new kind "None" to VS configuration type
2013-06-25 10:15:39 -04:00
Jason Perkins
2f1fe980ef
Duplicate object file names are now ordered the same across all toolsets
2013-06-21 17:32:33 -04:00
Jason Perkins
e7fc3724b5
Roll back trailing CR-LF pairs on VC'09 build step command lines
2013-06-21 16:08:43 -04:00
Jason Perkins
9953940d10
Re-added Component build flag; marked as deprecated
2013-06-17 15:44:54 -04:00
Jason Perkins
ceb8756382
Added additional build actions for C# subtypes (Form, Component, UserControl); dropped Component build flag
2013-06-17 11:46:53 -04:00
Jason Perkins
797db3b31d
Adjust source file ordering to better match Visual Studio 2008
2013-06-13 14:10:02 -04:00
Jason Perkins
e0f91242c3
Omit empty <Lib> elements in VS'10 static library projects
2013-06-12 17:03:09 -04:00
Jason Perkins
08de36c098
Write ActiveCfg entries for excluded configurations in VS solutions, to avoid rewriting on save
2013-05-31 09:33:02 -04:00
Jason Perkins
bbcafa0d6f
Add new configuration kind "None" to support non-building Visual Studio configurations (i.e. header-only projects)
2013-05-27 10:21:10 -04:00
Jason Perkins
536a751dbe
Make VS'08 project references relative to solution, to match VS behavior
2013-05-23 11:46:50 -04:00
Jason Perkins
4bd950d130
Make escaping function configurable; fix (non-)escaping of quotes in VS'10 and '12
2013-05-22 11:15:48 -04:00
Jason Perkins
d1cb894b73
Add newline to empty <TargetExt> elements in VC 2010 C++ projects
2013-05-22 09:06:33 -04:00
Jason Perkins
b42abdb37c
Merged in goughy/premake-dev-d2/pm-extensions (pull request #49 )
...
Add standard package paths to allow for extension mechanism
2013-05-21 13:34:02 -04:00
Jason Perkins
d465949a9a
Merged in goughy/premake-dev-d2 (pull request #48 )
...
Fix Lua compilation error on *nix due to getline macro
2013-05-21 13:30:29 -04:00
Jason Perkins
01531cde9e
Snapshot recent project format changesMore reconciliation with Visual Studio project formats:
...
- fix dummy configurations for makefile projects
- remove manifest and app verifier tools from static library configurations
- improve sorting of source tree (still needs work)
2013-05-21 11:55:00 -04:00
Jason Perkins
e0e4b23a5d
More reconciliation with Visual Studio project formats:
...
- sort solution configurations by case-insensitive names
- add trailing CR-LF to custom build steps
- remove empty Filter attributes from folder filter elements
2013-05-21 08:48:22 -04:00
Jason Perkins
ff8d8029fd
Fix error result handling in os.rmdir()
2013-05-20 11:06:53 -04:00
Andrew Gough
44d03c3dd5
Added /home/goughy & %USERPROFILE% entries for extensions also
2013-05-20 08:01:24 +10:00
Andrew Gough
c4c33d4596
Add standard package paths to allow for extension mechanism
2013-05-17 21:37:15 +10:00
Andrew Gough
36de62af79
Backed out changeset b893b06781bc as bitbucket attempts to merge multiple simultaneous pull requests into a single one. hence this change will move to a seaparate feature branch.
2013-05-17 21:31:27 +10:00
Andrew Gough
e2e62f74c0
Add standard package paths to allow for extension mechanism
2013-05-17 21:13:34 +10:00
Andrew Gough
4e88917ba4
Fix Lua compilation error on *nix due to getline macro
2013-05-17 21:01:37 +10:00
Jason Perkins
621e59481f
Fixed bug #176 : Target prefix breaks GCC linking
2013-05-16 11:40:47 -04:00
Jason Perkins
8be16d75b8
Minor changes to Visual Studio C# projects to avoid changes on save
2013-05-15 11:15:54 -04:00
Jason Perkins
5b81ba57ac
Allow tokens in force includes and force usings.
2013-05-09 13:45:50 -04:00
Jason Perkins
4de5d23b61
Merged in domu/premake-dev-domu (pull request #47 )
...
one place missing basedir for config
2013-05-03 15:28:46 -04:00
Alexey Orlov
7694a110ec
one place missing basedir for config
2013-05-03 22:06:58 +03:00
Jason Perkins
23256ecc94
Merged in domu/premake-dev-domu (pull request #46 )
...
[gmake] allow mixing c files in cpp projects
2013-05-02 14:07:43 -04:00
Jason Perkins
f586b1695d
Removed some duplication from the Visual Studio actions
2013-05-02 11:21:23 -04:00
Alexey Orlov
38ba3c5e41
[gmake] allow mixing c files in cpp projects: review changes, test added
2013-05-02 15:36:11 +03:00
Jason Perkins
89a85f0250
Add <ProjectName> to VS 2010 projects when project and file names differ
2013-05-01 12:08:41 -04:00
Alexey Orlov
7ba07a2907
[gmake] allow mixing c files in cpp projects
2013-05-01 01:07:38 +03:00
Jason Perkins
8d76cc55dd
Moved more VC'10 code to new extension model
2013-04-30 12:38:11 -04:00
Jason Perkins
dd639ec1e2
Applied pull requests #38 and #43 : Fix escaping of quotes for resource preprocessor.
...
Sticking with the wonky quotes for now; will fix the escaping in a separate commit.
2013-04-30 12:25:25 -04:00
Jason Perkins
1af3a10c0a
Moved more VS2012 logic to extension script; made C# project generation more extensible
2013-04-25 16:05:08 -04:00
Jason Perkins
bacc9ca520
Introduce new extension convention for block elements; move VS2010 <PlatformToolset> to extension script
2013-04-25 11:45:44 -04:00
Jason Perkins
355132f38b
Begin splitting out VS2012 support as its own extension
2013-04-25 09:59:55 -04:00
Jason Perkins
fad1041ede
Roll back resource compiler quote fix; needs more work
2013-04-23 11:15:33 -04:00
Jason Perkins
8c67a40197
Backout changeset ab563cd35087b392d030caa0b3fa591d23311a12
2013-04-23 11:14:36 -04:00
Jason Perkins
8c1833aa2a
Merged in mologie/premake-dev/vs2010-rc-quotes-fix (pull request #38 )
...
Fix syntax for resource preprocessor definitions including quotes in VS2010
2013-04-23 11:04:57 -04:00
Jason Perkins
dac04cfee3
Define new premake.extensions namespace for extensions API.
2013-04-23 10:54:39 -04:00
Jason Perkins
2e7299f801
Removed old oven; finished conversion to contexts and configuration sets in baking logic
2013-04-23 10:39:00 -04:00
Jason Perkins
b59850dd1b
Path tokens in non-path fields (like custom build commands) are not expanded to project-relative paths
2013-04-17 11:54:07 -04:00
xpol
3c099f27d5
Merge
2013-04-12 10:46:15 +08:00
Jason Perkins
0cd9bac896
Switch per-file build rules to use new build…() APIs
2013-04-09 15:12:04 -04:00
Oliver Kuckertz
7cd7b6a51a
Fix syntax for resource preprocessor definitions including quotes in VS2010
2013-04-09 17:49:22 +02:00
Jason Perkins
d8308eb454
Allow API functions to be flagged as deprecated
2013-04-09 10:11:27 -04:00
Pino Toscano
cf9fb335b7
Initial support for GNU/Hurd.
...
Identify the platform as "hurd", and make use of stuff already used for Linux or *BSD when possible.
The location of the premake binary (premake_locate) is not implemented, since there is currently no way to do that on GNU/Hurd.
2013-04-19 23:00:47 +02:00
Jason Perkins
b35e57d52b
Added build, rebuild, and clean commands for makefile projects
2013-04-07 14:30:58 -04:00
Jason Perkins
fe1b37c9ae
Initial support for VC 2008 Makefile projects
2013-04-03 14:09:39 -04:00
Jason Perkins
b875f37875
Initial support for VC 2010 Makefile projects
2013-04-03 11:53:00 -04:00
Jason Perkins
64d6d71fcd
Add new Makefile configuration kind to API and project validation
2013-04-02 10:59:54 -04:00
Jason Perkins
e8f45e5735
Move is…project() test function into the new project namespace, shorten names
2013-03-28 10:33:28 -04:00
Jason Perkins
053703078b
Initial support for IBM AIX (David Norton)
2013-03-27 11:26:31 -04:00
Jason Perkins
214ac7097f
Added ReleaseRuntime build flag (Tarmo Pikaro)
2013-03-27 11:12:37 -04:00
Jason Perkins
09b0dd1182
Add virtual paths and improve external file links for C# projects (James Whitworth)
2013-03-27 07:43:20 -04:00
Jason Perkins
1e1b9d50f3
Removed duplicate handler for compiler block additional options
2013-03-23 09:46:16 -04:00
Jason Perkins
76c7c1a485
Added Clang tool adapter, passing through to GCC for now
2013-03-20 11:25:39 -04:00
Jason Perkins
96cfdf5acc
Add per-file build options and forced includes to VC'2010
2013-03-12 19:26:25 -04:00
Jason Perkins
f4f688e77c
Add per-file build options and forced includes to VC 2008
2013-03-12 18:26:19 -04:00
Jason Perkins
4c93d368eb
Modified io.capture() etc. to allow for nested captures, to be used by new file configuration handling code
2013-03-12 18:18:47 -04:00
Jason Perkins
2d5a5910e6
Visual Studio C# projects can now link to external files
2013-03-10 15:56:56 -04:00
Jason Perkins
b10f1b5b60
Improve Xbox 360 support
2013-03-07 12:14:03 -05:00
Jason Perkins
99a80052da
Clean up VC'08 naming, and move toward new extensibility conventions set in VC'10
2013-03-07 10:45:33 -05:00
Jason Perkins
0fdb4d4768
Fix VC build error on recent getrelative() changes
2013-03-07 10:44:47 -05:00
Jason Perkins
8d8a3e3574
Fix: path.getrelative() gives incorrect results for paths containing "//"
2013-03-06 10:06:45 -05:00
Jason Perkins
ffc53d870e
Added support for local assembly references to Visual Studio Managed C++ projects
2013-03-05 11:00:32 -05:00
Jason Perkins
d3ec20d1c3
Support linking of managed system assemblies in Visual Studio managed C++ projects
2013-03-04 11:45:27 -05:00
Jason Perkins
1773146d4d
Merge with Premake-dev tip
2013-02-25 10:49:00 -05:00
Jason Perkins
68287a1437
Added application icon support for C# executable projects
2013-02-25 10:47:22 -05:00
Jason Perkins
991fdbe35a
Patch 159: Validate all values passed to options (Moi_ioM)
2013-02-22 13:39:17 -05:00
Jason Perkins
47c8a568d4
Fix module definition file (.def) handling in VC'10
2013-02-21 10:28:41 -05:00
Jason Perkins
d5e3272957
Added forceusings()
2013-02-20 09:57:37 -05:00
Jason Perkins
453cae7362
Add table.foreachi(), phase out ipairs() in API so nil values can be included in lists
2013-02-20 09:45:35 -05:00
Jason Perkins
2e278af5e2
Cleaned up implementation of solution(), project(), configuration(); now activate scope when called without arguments
2013-02-15 18:57:34 -05:00
Jason Perkins
91272ebd37
Make more VC'10 project elements available for override by add-ons; clean up naming conventions of modified functions
2013-02-11 13:25:33 -05:00
Jason Perkins
3b84626132
Added MultiProcessorCompile flag to enable multiple compiler processes in Visual Studio
2013-02-08 10:35:14 -05:00
Jason Perkins
9c752adf4a
Add ExcludeFromBuild flag to mark source files as non-buildable
2013-02-07 10:58:31 -05:00
Jason Perkins
41fcff188e
Fix broken Makefile defines
2013-02-05 11:40:40 -05:00
Jason Perkins
9c3ba8784d
Merged in liamdevine/premake-dev-foo (pull request #30 )
...
Improved os.getversion() with support for Windows 8
2013-02-05 11:34:16 -05:00
Jason Perkins
653bef99ca
Add warnOnce() helper method for add-on validation checks
2013-02-04 12:38:07 -05:00
Jason Perkins
09100182c3
Port validation checking; add warning for out of scope values
2013-02-01 14:54:14 -05:00
Jason Perkins
faba7a72dc
Fix Makefile linking to object files
2013-01-31 09:38:45 -05:00
Jason Perkins
8bf4499335
Improve processing of ld.so.conf (Cameron Hart)
2013-01-29 11:03:48 -05:00
Jason Perkins
34127f2463
Fix linking to external libraries outside of project folder
2013-01-29 10:25:52 -05:00
Jason Perkins
b7bc59e105
Allow command line override of makefile flags (Cameron Hart)
2013-01-23 11:50:54 -05:00
Jason Perkins
24708fcb21
Split out VC'08 CharacterSet attribute to allow extensions by add-ons
2013-01-23 11:23:39 -05:00
Jason Perkins
8e7da0f3be
Moved UUID collision warning to stderr to improve visibility
2013-01-17 14:37:49 -05:00
Jason Perkins
e0f0537aa2
Move "ng" deprecation warning to stderr to increase visibility
2013-01-17 13:20:05 -05:00
Jason Perkins
b1c5e0dd20
Split VC'10 import statements to own function to enable add-on overrides
2013-01-17 13:19:49 -05:00
Jason Perkins
f60074d380
Omit Keyword and RootNamespace from non-Windows Visual Studio projects
2013-01-12 11:52:59 -05:00
Jason Perkins
62d269a12a
Fix crash when run without any arguments
2013-01-11 07:28:56 -05:00
Jason Perkins
8275e190a1
Fix: if link contains a token that expands to an absolute path, HintPath of C# projects will end up with absolute path
2013-01-10 11:09:34 -05:00
Liam Devine
6c6dd4c99e
Adds OS X 10.8 detection yet in a different way than currently as I believe Gestalt has been deprecated in 10.8 and generates warnings. I have never tested this code on 10.8 yet have on other versions.
2013-01-09 22:30:36 +00:00
Liam Devine
06aea5ebd0
Adds Windows Server 2012 and Windows 8 detection to os_getversion as per the details from http://msdn.microsoft.com/en-us/library/windows/desktop/ms724833(v=vs.85).aspx
2013-01-09 22:06:49 +00:00
Jason Perkins
974d1a7d04
Added startproject() to specify startup project
2013-01-09 11:41:32 -05:00
Jason Perkins
749df96f38
Write out solution groups even if first project is ungrouped
2013-01-09 10:03:50 -05:00
Jason Perkins
89d413d9d5
Visual Studio solutions now use the same project ordering in all sections; avoids unnecessary changes if the solution is later changed within Visual Studio
2013-01-08 13:19:56 -05:00