This commit is contained in:
ZtRXR 2024-04-21 23:18:20 +08:00
parent 43c515a7a4
commit b9254d0cdc

View File

@ -58,6 +58,6 @@ class cmake:
self.__write_stack__.append(f"file({mode} {new_var_name} {args_to_str(search_str)})") self.__write_stack__.append(f"file({mode} {new_var_name} {args_to_str(search_str)})")
return self return self
def add_subdirectory(self,path:str)->'cmake': def add_subdirectory(self,path:str)->Self:
self.__write_stack__.append(f"add_subdirectory({path})") self.__write_stack__.append(f"add_subdirectory({path})")
return self return self