update
This commit is contained in:
parent
37b97de5e6
commit
08d48316b6
@ -55,4 +55,8 @@ class cmake:
|
|||||||
|
|
||||||
def file(self,new_var_name:"str",mode:"str"=glob_recurse,*search_str:"str")->"cmake":
|
def file(self,new_var_name:"str",mode:"str"=glob_recurse,*search_str:"str")->"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
|
||||||
|
|
||||||
|
def add_subdirectory(self,path:str)->'cmake':
|
||||||
|
self.__write_stack.append(f"add_subdirectory({path}))")
|
||||||
return self
|
return self
|
Loading…
Reference in New Issue
Block a user