meta: split into independent repo; add build system, frontend
This commit is contained in:
18
tool/CMakeLists.txt
Normal file
18
tool/CMakeLists.txt
Normal 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})
|
||||
Reference in New Issue
Block a user