VisualStudioProject

A visual studio project, created from one or more native binaries.

The content and location of the generate project file can be modified by the supplied methods:

 plugins {
     id 'cpp'
     id '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}")
             }
         }
     }
 }

Functions

Link copied to clipboard
Link copied to clipboard
Configuration for the generated filters file.
Link copied to clipboard
abstract fun getName(): String
Link copied to clipboard
Configuration for the generated project file.