mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-05 03:21:42 +00:00
[build] Publish source and headers of all generated files (#6963)
Fixes #6962 Don't specially include ntcore generated files from build directory in doxygen, as they are now pregenerated in source
This commit is contained in:
@@ -66,7 +66,6 @@ doxygen {
|
||||
cppIncludeRoots.add(it.absolutePath)
|
||||
}
|
||||
}
|
||||
cppIncludeRoots << '../ntcore/build/generated/main/native/include/'
|
||||
|
||||
if (project.hasProperty('docWarningsAsErrors')) {
|
||||
// apriltag
|
||||
|
||||
@@ -20,6 +20,9 @@ task cppSourcesZip(type: Zip) {
|
||||
from('src/main/native/cpp') {
|
||||
into '/'
|
||||
}
|
||||
from("$buildDir/generated/cpp") {
|
||||
into '/'
|
||||
}
|
||||
}
|
||||
|
||||
task cppHeadersZip(type: Zip) {
|
||||
@@ -32,7 +35,8 @@ task cppHeadersZip(type: Zip) {
|
||||
}
|
||||
|
||||
ext.includeDirs = [
|
||||
project.file('src/main/native/include')
|
||||
project.file('src/main/native/include'),
|
||||
project.file('src/generated/main/native/include')
|
||||
]
|
||||
|
||||
ext.includeDirs.each {
|
||||
|
||||
Reference in New Issue
Block a user