From 5d705dc395a163c38ec96d0e771f470485c74caf Mon Sep 17 00:00:00 2001 From: ZtRXR Date: Sun, 21 Apr 2024 23:39:04 +0800 Subject: [PATCH] update --- pymake/cmake.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/pymake/cmake.py b/pymake/cmake.py index 0276f22..134d9f4 100644 --- a/pymake/cmake.py +++ b/pymake/cmake.py @@ -27,18 +27,10 @@ class cmake: return self def add_library(self,name:str=var(project_name),mode:ModesSSM="STATIC",*source:str)->Self: - """ - ARGS: - mode: mode can be STATIC , SHARED or MODULE - """ self.__write_stack__.append(f"add_library({name} {mode} {args_to_str(source)})") return self def target_include_directories(self,for_project:str=var(project_name),mode:ModesPPI="PUBLIC",*directories:str)->Self: - """ - ARGS: - mode : mode can be PUBLIC PRIVATE INTERFACE - """ self.__write_stack__.append(f"target_include_directories({for_project} {mode} {args_to_str(directories)})") return self