mirror of
https://github.com/dobin/SuperMega
synced 2026-06-03 01:27:11 +00:00
refactor: fix build dir
This commit is contained in:
@@ -23,11 +23,11 @@ def clean_files():
|
|||||||
"mllink$.lnk",
|
"mllink$.lnk",
|
||||||
|
|
||||||
# out/ stuff
|
# out/ stuff
|
||||||
os.path.join(project.build_dir, "main.asm"),
|
os.path.join(build_dir, "main.asm"),
|
||||||
os.path.join(project.build_dir, "main.bin"),
|
os.path.join(build_dir, "main.bin"),
|
||||||
os.path.join(project.build_dir, "main.c"),
|
os.path.join(build_dir, "main.c"),
|
||||||
os.path.join(project.build_dir, "peb_lookup.h"),
|
os.path.join(build_dir, "peb_lookup.h"),
|
||||||
#os.path.join(project.build_dir, "main.exe"),
|
#os.path.join(build_dir, "main.exe"),
|
||||||
|
|
||||||
project.verify_filename,
|
project.verify_filename,
|
||||||
]
|
]
|
||||||
|
|||||||
@@ -23,7 +23,6 @@ def create_c_from_template(
|
|||||||
alloc_style: AllocStyle,
|
alloc_style: AllocStyle,
|
||||||
exec_style: ExecStyle,
|
exec_style: ExecStyle,
|
||||||
decoder_style: DecoderStyle,
|
decoder_style: DecoderStyle,
|
||||||
build_dir: FilePath,
|
|
||||||
):
|
):
|
||||||
plugin_allocator = ""
|
plugin_allocator = ""
|
||||||
plugin_decoder = ""
|
plugin_decoder = ""
|
||||||
|
|||||||
@@ -33,7 +33,6 @@ class Project():
|
|||||||
self.generate_shc_from_asm: bool = True
|
self.generate_shc_from_asm: bool = True
|
||||||
|
|
||||||
self.verify_filename = r'C:\Temp\a'
|
self.verify_filename = r'C:\Temp\a'
|
||||||
self.build_dir = "build"
|
|
||||||
|
|
||||||
|
|
||||||
project = Project()
|
project = Project()
|
||||||
|
|||||||
@@ -163,7 +163,6 @@ def start():
|
|||||||
alloc_style = project.alloc_style,
|
alloc_style = project.alloc_style,
|
||||||
exec_style = project.exec_style,
|
exec_style = project.exec_style,
|
||||||
decoder_style= project.decoder_style,
|
decoder_style= project.decoder_style,
|
||||||
build_dir = project.build_dir,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# Convert: C -> ASM
|
# Convert: C -> ASM
|
||||||
|
|||||||
Reference in New Issue
Block a user