add emu.cmake for emulator
This commit is contained in:
@@ -17,18 +17,18 @@ set(
|
||||
if (YAZE_BUILD_APP)
|
||||
include(app/app.cmake)
|
||||
endif()
|
||||
|
||||
if (YAZE_BUILD_EMU)
|
||||
include(app/emu/CMakeLists.txt)
|
||||
include(app/emu/emu.cmake)
|
||||
endif()
|
||||
|
||||
if (YAZE_BUILD_Z3ED)
|
||||
include(cli/z3ed.cmake)
|
||||
endif()
|
||||
|
||||
if (YAZE_BUILD_PYTHON)
|
||||
include(py/yaze_py.cmake)
|
||||
endif()
|
||||
if (YAZE_BUILD_TESTS)
|
||||
include(test/CMakeLists.txt)
|
||||
endif()
|
||||
|
||||
if (UNIX)
|
||||
target_compile_definitions(yaze PRIVATE "linux")
|
||||
@@ -63,10 +63,8 @@ set_target_properties(yaze
|
||||
)
|
||||
endif()
|
||||
|
||||
include(test/CMakeLists.txt)
|
||||
|
||||
if (YAZE_BUILD_LIB)
|
||||
# Yaze C API
|
||||
if (YAZE_BUILD_LIB)
|
||||
add_library(
|
||||
yaze_c SHARED
|
||||
./yaze.cc
|
||||
|
||||
Reference in New Issue
Block a user