Package org.gradle.tooling.model.cpp
Interface CppProject
- All Superinterfaces:
ProjectModel
Details about the C++ components of a Gradle project.
- Since:
- 4.10
-
Method Summary
Modifier and TypeMethodDescription@Nullable CppComponentReturns the main C++ component of this project, if any.@Nullable CppTestSuiteReturns the C++ unit test suite of this project, if any.Methods inherited from interface org.gradle.tooling.model.ProjectModel
getProjectIdentifier
-
Method Details
-
getMainComponent
@Nullable CppComponent getMainComponent()Returns the main C++ component of this project, if any.- Returns:
- the main component or
nullwhen the project does not have a main component. The component will implement eitherCppApplicationorCppLibrary.
-
getTestComponent
@Nullable CppTestSuite getTestComponent()Returns the C++ unit test suite of this project, if any.- Returns:
- the test suite or
nullwhen the project does not have a unit test suite.
-