This commit is contained in:
ZtRXR 2024-04-20 20:36:27 +08:00
parent 7772ef6346
commit d4ad54915b
6 changed files with 6 additions and 14 deletions

3
.gitignore vendored
View File

@ -10,4 +10,5 @@ __pycache__/
/main.cxx /main.cxx
/build /build
/poetry.lock

View File

@ -1,3 +1,3 @@
from .lib.values import * from .values import *
from .lib.cmake import * from .cmake import *
from .lib.tools import * from .tools import *

View File

@ -1,9 +1 @@
from . import * print("Hello from pymake")
(
cmake("3.5")
.project("test")
.file("SRC",glob_recurse,"*.cxx")
.add_executable(var(project_name),var("SRC"))
.write()
)

View File

@ -1,6 +1,5 @@
from .tools import * from .tools import *
from .values import * from .values import *
class cmake: class cmake:
__write_stack:"list[str]" = [] __write_stack:"list[str]" = []
__file_name = "" __file_name = ""