|
|
@ -66,6 +66,7 @@ class CMakeSubprojectHolder(InterpreterObject, ObjectHolder): |
|
|
|
'target': self.target, |
|
|
|
'target': self.target, |
|
|
|
'target_type': self.target_type, |
|
|
|
'target_type': self.target_type, |
|
|
|
'target_list': self.target_list, |
|
|
|
'target_list': self.target_list, |
|
|
|
|
|
|
|
'found': self.found_method, |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
def _args_to_info(self, args): |
|
|
|
def _args_to_info(self, args): |
|
|
@ -110,6 +111,13 @@ class CMakeSubprojectHolder(InterpreterObject, ObjectHolder): |
|
|
|
def target_list(self, args, kwargs): |
|
|
|
def target_list(self, args, kwargs): |
|
|
|
return self.held_object.cm_interpreter.target_list() |
|
|
|
return self.held_object.cm_interpreter.target_list() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@noPosargs |
|
|
|
|
|
|
|
@permittedKwargs({}) |
|
|
|
|
|
|
|
@FeatureNew('CMakeSubproject.found()', '0.53.2') |
|
|
|
|
|
|
|
def found_method(self, args, kwargs): |
|
|
|
|
|
|
|
return self.held_object is not None |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class CmakeModule(ExtensionModule): |
|
|
|
class CmakeModule(ExtensionModule): |
|
|
|
cmake_detected = False |
|
|
|
cmake_detected = False |
|
|
|
cmake_root = None |
|
|
|
cmake_root = None |
|
|
|