meta: split into independent repo; add build system, frontend

This commit is contained in:
2025-11-16 20:07:22 +00:00
parent cfcdcd9cea
commit f0bb29a11a
10 changed files with 687 additions and 1 deletions

18
tool/CMakeLists.txt Normal file
View File

@@ -0,0 +1,18 @@
file(GLOB tool_sources
*.c *.h
cmd/*.c cmd/*.h)
if (WIN32)
set(rc_file ${CMAKE_CURRENT_SOURCE_DIR}/../res/win32/frontend.rc)
endif ()
add_executable(mie-tool ${tool_sources} ${rc_file})
target_link_libraries(
mie-tool
mie
Bluelib::Core
Bluelib::Ds
Bluelib::Cmd)
set_target_properties(mie-tool PROPERTIES OUTPUT_NAME "mie")
target_compile_definitions(mie-tool PRIVATE MIE_STATIC=${MIE_STATIC})