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 TypeMethodDescriptionReturns the main C++ component of this project, if any.Returns the C++ unit test suite of this project, if any.Methods inherited from interface org.gradle.tooling.model.ProjectModel
getProjectIdentifier
-
Method Details
-
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
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.
-