@Incubating public interface VisualStudioProject extends Named, BuildableModelElement
NativeBinary
instances.
The content and location of the generate project file can be modified by the supplied methods:
apply plugin: "visual-studio" model { visualStudio { projects.all { projectFile.location = "vs/${name}.vcxproj" projectFile.withXml { asNode().appendNode('PropertyGroup', [Label: 'Custom']) .appendNode('ProjectDetails', "Project is named ${project.name}") } } } }
Named.Namer
修飾子とタイプ | メソッドと説明 |
---|---|
NativeComponentSpec |
getComponent()
The component that this project represents.
|
XmlConfigFile |
getFiltersFile()
Configuration for the generated filters file.
|
XmlConfigFile |
getProjectFile()
Configuration for the generated project file.
|
builtBy, getBuildTask, hasBuildDependencies, setBuildTask
getBuildDependencies
NativeComponentSpec getComponent()
XmlConfigFile getProjectFile()
XmlConfigFile getFiltersFile()