add z3ed cli tool

rom backups
export and import graphics
pc to snes and snes to pc addr conversion
This commit is contained in:
scawful
2023-08-18 11:42:46 -04:00
parent 7e87b1ed45
commit baf7547fff
8 changed files with 588 additions and 54 deletions

30
src/cli/CMakeLists.txt Normal file
View File

@@ -0,0 +1,30 @@
add_executable(
z3ed
cli/z3ed.cc
cli/patch.cc
cli/command_handler.cc
app/rom.cc
app/core/common.cc
${YAZE_APP_GFX_SRC}
)
target_include_directories(
z3ed PUBLIC
lib/
app/
${CMAKE_SOURCE_DIR}/src/
${PNG_INCLUDE_DIRS}
${SDL2_INCLUDE_DIR}
${GLEW_INCLUDE_DIRS}
)
target_link_libraries(
z3ed PUBLIC
${ABSL_TARGETS}
${SDL_TARGETS}
${PNG_LIBRARIES}
${GLEW_LIBRARIES}
${OPENGL_LIBRARIES}
${CMAKE_DL_LIBS}
ImGui
)