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
/build
/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 = ""