Skip to content

Commit

Permalink
fix?
Browse files Browse the repository at this point in the history
  • Loading branch information
spacey-sooty committed Aug 27, 2024
1 parent cc69f2d commit f4776ea
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions shared/catch2.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
model {
binaries {
withType(GoogleTestTestSuiteBinarySpec).all {
lib project: ':thirdparty:catch2', library: 'catch2', linkage: 'static'
}
}
}
1 change: 1 addition & 0 deletions shared/javacpp/setupBuild.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ ext {
staticGtestConfigs["${nativeName}Test"] = []

apply from: "${rootDir}/shared/googletest.gradle"
apply from: "${rootDir}/shared/catch2.gradle"

model {
components {
Expand Down
1 change: 1 addition & 0 deletions shared/jni/setupBuild.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ ext {
staticGtestConfigs["${nativeName}Test"] = []

apply from: "${rootDir}/shared/googletest.gradle"
apply from: "${rootDir}/shared/catch2.gradle"

model {
components {
Expand Down
1 change: 0 additions & 1 deletion wpiutil/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,6 @@ model {
targetBuildTypes 'debug'
binaries.all {
lib library: 'wpiutil', linkage: 'shared'
lib project: ':thirdparty:catch2', library: 'catch2', linkage: 'static'
}
sources {
cpp {
Expand Down

0 comments on commit f4776ea

Please sign in to comment.