MantisBT - CMake |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0012586 | CMake | CMake | public | 2011-11-20 01:19 | 2013-10-18 09:08 |
|
Reporter | Aaron Ten Clay | |
Assigned To | Brad King | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | Windows | OS Version | |
Product Version | CMake 2.8.6 | |
Target Version | CMake 2.8.7 | Fixed in Version | CMake 2.8.7 | |
|
Summary | 0012586: [patch] CMake does not support Visual Studio projects types or dotnet references with managed C++ |
Description | CMake currently does not support setting project types or .NET references on managed C++ projects with the Visual Studio 10 generator.
This is not a very "cross-platform" feature (unless Mono supports managed C++?) but it is necessary for unit testing projects in Visual Studio. |
Steps To Reproduce | Create a shared library project with managed C++ files with the Visual Studio 10 generator, and observe the apparent inability to specify ProjectType value for the generated project XML file. Without specifying the correct UUID in this field, Visual Studio will not recognize the project as a unit test project. |
Additional Information | The attached patch adds support for three new project properties:
VS_GLOBAL_PROJECT_TYPES: A string containing UUIDs to embed in the Visual Studio project file under <ProjectTypes>.
VS_GLOBAL_KEYWORD: Allows specification of a keyword like "ManagedCProj" instead of the default "Win32Proj", under <Keyword>
VS_DOTNET_REFERENCES: Semicolon-delimited list of .NET references to add to the project, which creates a new <ItemGroup>.
I tried to copy the coding style but might not have it quite right, there wasn't much guidance on the wiki. If there is a better way to introduce these changes, I'm happy to resubmit. |
Tags | No tags attached. |
Relationships | related to | 0012930 | closed | Brad King | [patch] CMake does not support Visual Studio 11 WinRT project type | related to | 0013666 | closed | | CMake fails to support existing custom VS_GLOBAL_* properties in VS10 (ProjectExtensions -> VisualStudio -> UserProperties) | related to | 0014493 | closed | Brad King | Document relationship of VS_KEYWORD and VS_GLOBAL_KEYWORD |
|
Attached Files | VisualStudio10GeneratorProjectTypeAndDotNetReferenceSupport.patch (3,634) 2011-11-20 01:19 https://public.kitware.com/Bug/file/4120/VisualStudio10GeneratorProjectTypeAndDotNetReferenceSupport.patch
VisualStudio10GeneratorProjectTypeAndDotNetReferenceSupportWithDocumentation.patch (5,285) 2011-11-23 14:11 https://public.kitware.com/Bug/file/4123/VisualStudio10GeneratorProjectTypeAndDotNetReferenceSupportWithDocumentation.patch |
|
Issue History |
Date Modified | Username | Field | Change |
2011-11-20 01:19 | Aaron Ten Clay | New Issue | |
2011-11-20 01:19 | Aaron Ten Clay | File Added: VisualStudio10GeneratorProjectTypeAndDotNetReferenceSupport.patch | |
2011-11-21 11:37 | Brad King | Note Added: 0027836 | |
2011-11-23 14:11 | Aaron Ten Clay | File Added: VisualStudio10GeneratorProjectTypeAndDotNetReferenceSupportWithDocumentation.patch | |
2011-11-23 14:12 | Aaron Ten Clay | Note Added: 0027853 | |
2011-11-28 11:56 | Brad King | Assigned To | => Brad King |
2011-11-28 11:56 | Brad King | Status | new => assigned |
2011-11-28 11:57 | Brad King | Note Added: 0027859 | |
2011-11-28 11:57 | Brad King | Status | assigned => resolved |
2011-11-28 11:57 | Brad King | Resolution | open => fixed |
2011-12-16 17:25 | David Cole | Fixed in Version | => CMake 2.8.7 |
2011-12-16 17:25 | David Cole | Target Version | => CMake 2.8.7 |
2012-02-03 09:04 | Brad King | Relationship added | related to 0012930 |
2012-07-09 06:52 | David Cole | Note Added: 0029963 | |
2012-07-09 06:52 | David Cole | Status | resolved => closed |
2012-11-09 08:18 | Brad King | Relationship added | related to 0013666 |
2013-10-18 09:08 | Brad King | Relationship added | related to 0014493 |
Notes |
|
(0027836)
|
Brad King
|
2011-11-21 11:37
|
|
Thanks for working on this. Please update the patch to add the appropriate property documentation in cmTarget.cxx, next to the documentation for VS_SCC*. |
|
|
(0027853)
|
Aaron Ten Clay
|
2011-11-23 14:12
|
|
I've added documentation and submitted a new patch. |
|
|
(0027859)
|
Brad King
|
2011-11-28 11:57
|
|
|
|
(0029963)
|
David Cole
|
2012-07-09 06:52
|
|
Closing resolved issues that have not been updated in more than 4 months. |
|