def _cmake_add_custom_target(self, tline: CMakeTraceLine) -> None:
    if (len(tline.args) < 1):
        return self._gen_exception('add_custom_target', 'requires at least one argument', tline)
    self._cmake_add_custom_command(tline, tline.args[0])
def _cmake_add_custom_target(self, tline: CMakeTraceLine) -> None:
    if (len(tline.args) < 1):
        return self._gen_exception('add_custom_target', 'requires at least one argument', tline)
    self._cmake_add_custom_command(tline, tline.args[0])