move yaze_py target to the cli directory

This commit is contained in:
scawful
2024-11-15 23:39:26 -05:00
parent b336d14233
commit f7dd9622c9
6 changed files with 14 additions and 11 deletions

View File

@@ -44,7 +44,7 @@ if (YAZE_BUILD_Z3ED)
include(cli/z3ed.cmake) include(cli/z3ed.cmake)
endif() endif()
if (YAZE_BUILD_PYTHON) if (YAZE_BUILD_PYTHON)
include(py/yaze_py.cmake) include(cli/python/yaze_py.cmake)
endif() endif()
if (YAZE_BUILD_TESTS) if (YAZE_BUILD_TESTS)
include(test/CMakeLists.txt) include(test/CMakeLists.txt)
@@ -101,6 +101,7 @@ if (YAZE_BUILD_LIB)
yaze_c PUBLIC yaze_c PUBLIC
lib/ lib/
app/ app/
${CMAKE_SOURCE_DIR}/incl/
${CMAKE_SOURCE_DIR}/src/ ${CMAKE_SOURCE_DIR}/src/
${PNG_INCLUDE_DIRS} ${PNG_INCLUDE_DIRS}
${SDL2_INCLUDE_DIR} ${SDL2_INCLUDE_DIR}

View File

@@ -22,6 +22,7 @@ target_include_directories(
lib/ lib/
app/ app/
${ASAR_INCLUDE_DIR} ${ASAR_INCLUDE_DIR}
${CMAKE_SOURCE_DIR}/incl/
${CMAKE_SOURCE_DIR}/src/ ${CMAKE_SOURCE_DIR}/src/
${PNG_INCLUDE_DIRS} ${PNG_INCLUDE_DIRS}
${SDL2_INCLUDE_DIR} ${SDL2_INCLUDE_DIR}

View File

@@ -27,6 +27,7 @@ target_include_directories(
yaze_test PUBLIC yaze_test PUBLIC
app/ app/
lib/ lib/
${CMAKE_SOURCE_DIR}/incl/
${CMAKE_SOURCE_DIR}/src/ ${CMAKE_SOURCE_DIR}/src/
${CMAKE_SOURCE_DIR}/src/lib/imgui_test_engine ${CMAKE_SOURCE_DIR}/src/lib/imgui_test_engine
${ASAR_INCLUDE_DIR} ${ASAR_INCLUDE_DIR}

View File

@@ -48,7 +48,7 @@ int RunIntegrationTest() {
yaze::app::core::Controller controller; yaze::app::core::Controller controller;
controller.init_test_editor(&test_editor); controller.init_test_editor(&test_editor);
if (!controller.CreateSDL_Window().ok()) { if (!controller.CreateWindow().ok()) {
return EXIT_FAILURE; return EXIT_FAILURE;
} }
if (!controller.CreateRenderer().ok()) { if (!controller.CreateRenderer().ok()) {