getMainComponent

@Nullable
abstract fun getMainComponent(): CppComponent(source)

Returns the main C++ component of this project, if any.

Return

the main component or null when the project does not have a main component. The component will implement either CppApplication or CppLibrary.