Manu Evans
f0f02fc680
Now with added unittests
2015-03-10 20:59:28 +10:00
Manu Evans
838e53c3d5
Now with added unit tests.
2015-03-10 20:41:44 +10:00
M Skibbe
b5c37c25cc
add missing buildoutputs fix for vs2010
2015-02-18 11:33:07 +01:00
Jason Perkins
98ab499f13
Revert ToolVersion change on VC 2013 .filters files to match VS
2015-01-12 17:17:56 -05:00
Jason Perkins
b9d6ce892b
Fix Visual Studio 2013 tool and framework version numbers
2014-12-29 15:18:07 -05:00
Jason Perkins
e507d1a2fb
Exclude resource elements from Visual Studio when no resource files are present
2014-12-23 20:05:40 -05:00
Jason Perkins
a8f4c5561a
Fix failing PS3 related unit tests
2014-12-18 16:41:58 -05:00
Jason Perkins
1bcd783031
Consolidate Visual Studio extensions into the core action
2014-12-08 17:42:00 -05:00
Damien Courtois
5b872a3a7f
added unit test for issue #63
2014-12-16 10:44:56 +01:00
Jason Perkins
0284817398
Implement CLR "Pure" and "Safe" values for VC 201x and MSC
2014-11-11 19:44:44 -05:00
Jason Perkins
38c5620f33
Convert all usages of Managed flag to new clr() function
2014-11-11 19:20:29 -05:00
Jason Perkins
b3aebffaf2
Add new editAndContinue() API to replace NoEditAndContinue flag
...
Make it easier and more intuitive to support platforms/toolsets where edit-and-continue is available but turned off by default. Can now turn off with editAndContinue("off") instead of flags("NoEditAndContinue"), and turn it on with editAndContinue("on") instead of removeflags("NoEditAndContinue").
The NoEditAndContinue flag is still in place, and continues to behave as it did before, but will be marked deprecated in the documentation.
2014-11-10 18:01:39 -05:00
Jason Perkins
c46f2c09e2
Fixes for Visual Studio rule generation
...
- Fix setting of boolean values to false
- Don't consider rules that haven't been explicitly included in a project
2014-10-24 15:35:30 -04:00
Jason Perkins
2ee4d7aca7
Replace customVar() and customList() with per-rule property setters.
...
Example:
rule "MyCustomRule"
-- (definition of rule)
project "MyProject"
myCustomRuleVars {
MyStringProperty = "Value",
MyListProperty = { "Value", "Value" }
}
2014-10-20 18:45:05 -04:00
Jason Perkins
4af8eb44af
Clean up rule container creation and usage
...
- Adds externalRule() to match rule()
- Adds externalProject() as replacement for external() for consistency with rules
- Adds rules() to associate rules (external or generated) with a project
- Drops customRules(); use rules() on the project level instead
2014-10-20 15:41:00 -04:00
Jason Perkins
428b9cad2f
Fix managed C++ linking of unmanaged library dependencies
2014-10-02 16:40:28 -04:00
Jason Perkins
157d96e39d
Modernize VC 201x project references generator
2014-10-02 16:21:25 -04:00
Damien Courtois
e919f9e9f5
updated buildinputs tests to check the file separator
2014-09-26 15:26:56 +02:00
Damien Courtois
4e7dc976ba
added a buildinput command to add additional input dependencies to custom build commands.
2014-09-25 10:41:27 +02:00
Jason Perkins
35b652557a
Merged in mendsley/premake-dev/xbox360-imagexex (pull request #116 )
...
Add support for custom title configuration files in xbox360 builds
2014-09-20 18:32:18 -04:00
Jason Perkins
fb8a77b902
Merged in grizzlynyo/premake-dev/FatalCompileWarnings_v201x_fix (pull request #114 )
...
"FatalCompileWarnings" flags had no effect in vs201x actions
2014-09-20 18:25:06 -04:00
Jason Perkins
52515963b4
Make test framework module aware
...
- Move test action into main project script
- Look for and load test suites from manifest files
- Make individual tests play nicer with third-party modifications
2014-09-17 19:19:47 -04:00
Jason Perkins
22d46ce57c
More modernizing of VC 201x for extensibility
2014-08-07 18:07:32 -04:00
Jason Perkins
02eb13e99d
Stop writing PDB file name element to VS 201x C++ projects; use default name instead
2014-07-28 16:37:45 -04:00
Jason Perkins
35582e2c4c
Added cleanExtensions(), with VC 201x support
2014-07-16 15:32:08 -04:00
Jason Perkins
19c3d7c972
Support project-level custom rule variables for VS 201x
2014-07-15 11:16:59 -04:00
Jason Perkins
8d206735b6
Improve compatibility with VS 201x Utility projects
2014-07-14 16:48:03 -04:00
Jason Perkins
725e433929
Added missing extension targets section for custom rules
2014-06-12 19:05:44 -04:00
Jason Perkins
bd49556345
Bug fixes and modernizing of VC 2010 exporter
2014-06-12 18:39:39 -04:00
Jason Perkins
07a4ad897d
Add custom rules to VC 2010 filters
2014-06-12 16:14:42 -04:00
Jason Perkins
d7c7c9373d
Modernizing pass over VS'10 file generation
2014-06-11 16:05:25 -04:00
Jason Perkins
d7bd1e381d
Added support for custom rule list variables (VS only)
2014-06-11 13:52:08 -04:00
Jason Perkins
efe5f1e292
Initial implementation of a minimal custom rules API (currently Visual Studio only)
2014-06-10 16:38:16 -04:00
Jason Perkins
5d38977c99
Fix bug in VC 2010 test suite
2014-05-07 15:18:03 -04:00
Jason Perkins
ae8a1e0cf3
Manual merge pull request #45 (Oliver Kuckertz)
...
- Add Maps flag to control generation of maps file for Visual Studio
2014-05-01 15:32:50 -04:00
Jason Perkins
f4e55da621
Added new filter() to replace configuration(), with required field prefixes
...
- use like: filter { "configurations:Debug" }
- supported prefixes: action, architecture, configurations, files, kind, language, options, platforms, system
- defaults to "configurations" if no prefix is specified
2014-04-25 11:53:01 -04:00
Jason Perkins
aef8313299
Add per-file vector extension for VC 2010
2014-04-12 14:48:15 -04:00
msk
fa32a48db7
add testcase for utility support
2014-03-01 18:27:05 +01:00
M. Skibbe
8e32d2a68a
lower case the api call
2014-02-27 16:47:43 +01:00
M. Skibbe
cb3671fdc8
add ATL support
2014-02-27 13:47:51 +01:00
Jason Perkins
0af9660606
Fix file sort order for VC'10 projects when virtual paths are used
2014-02-26 18:43:06 -05:00
Jason Perkins
407861bc80
Allow custom build and resource files to be excluded from builds
2014-02-11 18:04:07 -05:00
Jason Perkins
1cbc2bef9d
Clean up pass over output APIs used by exporters
...
- Reworked _p() and _x() over new indentation-aware output APIs
- Added proper APIs for setting indentation, EOL sequence, and value escaping
- Moved functions intended for exporters to premake.lua (with generation and validation calls)
2014-02-08 10:44:57 -05:00
Jason Perkins
b3468bd591
Add locale() to specify culture codes for Visual Studio C/C++ resources
2014-02-06 15:38:51 -05:00
Jason Perkins
93949df3fc
Enable per-file defines in VC 2010 projects
2014-01-28 13:41:58 -05:00
Jason Perkins
6db06d6985
Use new indentation-aware APIs in VC 200x exporter
2014-01-31 11:40:09 -05:00
Jason Perkins
6cf6ab4955
Add prebuild-, prelink- and postbuildmessage()
2014-01-15 16:12:29 -05:00
Jason Perkins
2efe9d780d
Fixed VC 2010 escaping of custom build steps
2014-01-10 10:40:45 -05:00
Jason Perkins
48bbde5334
Fixed XML escaping for VS C# projects
2014-01-09 18:06:03 -05:00
Jason Perkins
75da14d13b
Split XML declarations from VS project headers, to allow comments to be inserted by modules
2014-01-07 17:08:51 -05:00
Jason Perkins
ffdacd7fba
Treat linker warnings as errors when FatalWarnings is set
2013-12-24 14:01:57 -05:00
Jason Perkins
0824533307
Allow implib… fields to control linking names for all target kinds
2013-12-20 09:48:03 -05:00
Jason Perkins
708175e24b
Split baking back out into own source file; prevent automatic baking of "raw" objects
2013-11-14 08:52:55 -05:00
Manu Evans
3feb383e2b
Support vs2005 (yes, I downloaded and installed vs2005 to test).
...
Added unit tests.
2013-10-30 14:03:24 +10:00
Jason Perkins
bff804a03a
Merged in triton/premake-cs-fixes/cli-usingdirs3 (pull request #75 )
...
Added new function usingdirs() to specify additional C++/CLI using directories.
2013-10-24 11:32:48 -04:00
Jason Perkins
2e08d5f218
Added support for per-file NoPCH flag in the VS2010 generator (João Matos)
2013-10-16 16:11:39 -04:00
Jason Perkins
d1eb67d43b
Enable per-file optimization levels for Visual Studio
2013-10-16 14:29:49 -04:00
Jason Perkins
133cf7ce7c
Add "full" and "debug" optimization levels
2013-10-16 13:47:09 -04:00
Jason Perkins
30d53ced1d
Merged in triton/premake-cs-fixes/cpp-framework (pull request #79 )
...
Use the user specified target .NET framework for Managed C++ VS projects.
2013-10-09 11:38:18 -04:00
triton
68f3a6d032
Use the user specified target .NET framework for Managed C++ VS projects.
2013-09-30 15:53:16 +01:00
Jason Perkins
91635859b9
Add warnings(); deprecate ExtraWarnings and NoWarnings flags
2013-09-29 12:39:07 -04:00
Jason Perkins
686f3f071a
Add optimize(); deprecate Optimize, OptimizeSize, and OptimizeSpeed flags
2013-09-29 11:23:39 -04:00
triton
69ad16381c
Added new function usingdirs() to specify additional C++/CLI using directories.
2013-09-28 00:04:18 +01:00
Jason Perkins
df428a72d7
Add vectorextensions(); deprecate EnableSSE and EnableSSE2
2013-09-27 14:25:10 -04:00
Jason Perkins
542d4c88fb
Merged in dcourtois/premake-dev/FixNoWarnings (pull request #65 )
...
fixed NoWarnings flag for vs201x generators
2013-09-19 10:22:39 -04:00
Jason Perkins
4bef76b42a
Merged in dcourtois/premake-dev/CustomBuildMessages (pull request #62 )
...
added support for custom build message in vs201x generator
2013-09-19 10:19:15 -04:00
dcourtois
9a4e2ec8aa
forgot to add test_manifest.lua to tests/premake5.lua and small fixes
2013-09-18 16:50:00 +02:00
dcourtois
eebd451006
merge latest revisions
2013-09-18 11:54:46 +02:00
dcourtois
e682b08779
fixed NoWarnings flag for vs201x generators
2013-09-18 11:37:36 +02:00
Jason Perkins
7c8881ddb2
Remove nextgen fields and _ng suffixes everywhere
2013-09-13 11:52:00 -04:00
Jason Perkins
e681b636ec
More code cleanup:
...
- Drop premake5 namespace; everything is premake again
- Remove deprecated project and config APIs
2013-09-13 11:15:36 -04:00
dcourtois
36d62865b1
added support for additional manifest files to vs201x actions
2013-09-06 17:32:06 +02:00
dcourtois
4c867e2f1d
added support for custom build message in vs201x generator
2013-09-03 13:16:08 +02:00
dcourtois
a5e8862339
added support for LinkTimeOptimization flag
2013-08-21 11:58:08 +02:00
Jason Perkins
411675d356
Merged in mendsley/premake-dev/xbox360-extension (pull request #59 )
...
In vs2010 Xbox360 builds should create a .exe file as the target for <OutputFile> and leave .xex generation to the Image Conversion task
2013-08-17 15:01:05 -04:00
Matthew Endsley
5e3c8d59f8
Readding unit tests for xex->exe target extension changes
2013-08-15 19:36:32 -07:00
Matthew Endsley
cbfd227250
adding flag 'NoBufferSecurityCheck' to disable the feature in Visual Studio and GCC projects (/GS- and -fno-stack-protector respectively)
2013-08-15 15:22:23 -07:00
Matthew Endsley
a0a2bcfafe
Default to .lib extension for links in xbox360 system projects
2013-08-13 19:24:01 -07:00
Jason Perkins
ddcdfe4a60
Stop stripping path from PCH headers in Visual Studio; first step in standardizing handling across tools
2013-08-11 14:27:17 -04:00
Jason Perkins
379de28f74
Use self-closing <ClCompile> elements where possible; remove trailing newline from </Project>
2013-08-11 09:52:51 -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
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
89a85f0250
Add <ProjectName> to VS 2010 projects when project and file names differ
2013-05-01 12:08:41 -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
2e7299f801
Removed old oven; finished conversion to contexts and configuration sets in baking logic
2013-04-23 10:39:00 -04:00
Jason Perkins
0cd9bac896
Switch per-file build rules to use new build…() APIs
2013-04-09 15:12:04 -04: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
214ac7097f
Added ReleaseRuntime build flag (Tarmo Pikaro)
2013-03-27 11:12:37 -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
b10f1b5b60
Improve Xbox 360 support
2013-03-07 12:14:03 -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
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
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