FalconLibraryCPP/libs/build.gradle

21 lines
573 B
Groovy
Raw Normal View History

2019-06-26 16:52:16 +00:00
apply plugin: "cpp"
ext.libroot = new File(rootProject.rootDir, "libs")
ext.gtest_root = new File(libroot, "googletest/googletest")
model {
components {
googleTest(NativeLibrarySpec) {
sources.cpp {
source {
srcDir new File(gtest_root, "src")
include "**/gtest-all.cc"
}
exportedHeaders {
srcDirs gtest_root, new File(gtest_root, "include")
include "**/*.hpp", "**/*.h"
}
}
}
}
}