Skip to content

Commit

Permalink
Fix wpiutil thirdparty include roots in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rzblue committed Oct 25, 2024
1 parent 9a5f73d commit c4a1cb5
Showing 1 changed file with 17 additions and 26 deletions.
43 changes: 17 additions & 26 deletions wpiutil/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -167,32 +167,23 @@ nativeUtils.exportsConfigs {
}

cppHeadersZip {
from('src/main/native/thirdparty/argparse/include/') {
into '/'
}
from('src/main/native/thirdparty/expected/include') {
into '/'
}
from('src/main/native/thirdparty/fmtlib/include') {
into '/'
}
from('src/main/native/thirdparty/json/include') {
into '/'
}
from('src/main/native/thirdparty/llvm/include') {
into '/'
}
from('src/main/native/thirdparty/mpack/include') {
into '/'
}
from('src/main/native/thirdparty/sigslot/include') {
into '/'
}
from('src/main/native/thirdparty/memory/include') {
into '/'
}
from('src/main/native/thirdparty/protobuf/include') {
into '/'
def thirdpartyIncDirs = [
'src/main/native/thirdparty/argparse/include/',
'src/main/native/thirdparty/expected/include',
'src/main/native/thirdparty/fmtlib/include',
'src/main/native/thirdparty/json/include',
'src/main/native/thirdparty/llvm/include',
'src/main/native/thirdparty/mpack/include',
'src/main/native/thirdparty/sigslot/include',
'src/main/native/thirdparty/memory/include',
'src/main/native/thirdparty/protobuf/include'
]

thirdpartyIncDirs.each {
ext.includeDirs << project.file(it)
from(it) {
into '/'
}
}
}

Expand Down

0 comments on commit c4a1cb5

Please sign in to comment.