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

1
.gitignore vendored
View File

@ -11,3 +11,4 @@ __pycache__/
/main.cxx
/build
/poetry.lock

View File

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

View File

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

View File

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