I am using Gradle 6.3 to generate a Visual Studio 2019 solution for a C++ library. In my build.gradle I have declared:
plugins {
id ‘cpp-library’
}// Set the target operating system and architecture for this library
library {
dependencies {
implementation project(‘:assert’)
}targetMachines = [
machines.windows.x86_64,
machines.linux.x86_64
]baseName = “meta”
}
Unfortunately I don’t see the header files in the “Header Files” section of the solution. The C++ source files are in the ‘src/main/cpp’ and the headers are in ‘src/main/headers’. How should I declare the headers so I can see them in the visual studio project?