move yaze_py target to the cli directory
This commit is contained in:
@@ -44,7 +44,7 @@ if (YAZE_BUILD_Z3ED)
|
||||
include(cli/z3ed.cmake)
|
||||
endif()
|
||||
if (YAZE_BUILD_PYTHON)
|
||||
include(py/yaze_py.cmake)
|
||||
include(cli/python/yaze_py.cmake)
|
||||
endif()
|
||||
if (YAZE_BUILD_TESTS)
|
||||
include(test/CMakeLists.txt)
|
||||
@@ -101,6 +101,7 @@ if (YAZE_BUILD_LIB)
|
||||
yaze_c PUBLIC
|
||||
lib/
|
||||
app/
|
||||
${CMAKE_SOURCE_DIR}/incl/
|
||||
${CMAKE_SOURCE_DIR}/src/
|
||||
${PNG_INCLUDE_DIRS}
|
||||
${SDL2_INCLUDE_DIR}
|
||||
|
||||
@@ -22,6 +22,7 @@ target_include_directories(
|
||||
lib/
|
||||
app/
|
||||
${ASAR_INCLUDE_DIR}
|
||||
${CMAKE_SOURCE_DIR}/incl/
|
||||
${CMAKE_SOURCE_DIR}/src/
|
||||
${PNG_INCLUDE_DIRS}
|
||||
${SDL2_INCLUDE_DIR}
|
||||
|
||||
@@ -27,6 +27,7 @@ target_include_directories(
|
||||
yaze_test PUBLIC
|
||||
app/
|
||||
lib/
|
||||
${CMAKE_SOURCE_DIR}/incl/
|
||||
${CMAKE_SOURCE_DIR}/src/
|
||||
${CMAKE_SOURCE_DIR}/src/lib/imgui_test_engine
|
||||
${ASAR_INCLUDE_DIR}
|
||||
|
||||
@@ -48,7 +48,7 @@ int RunIntegrationTest() {
|
||||
yaze::app::core::Controller controller;
|
||||
controller.init_test_editor(&test_editor);
|
||||
|
||||
if (!controller.CreateSDL_Window().ok()) {
|
||||
if (!controller.CreateWindow().ok()) {
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
if (!controller.CreateRenderer().ok()) {
|
||||
|
||||
Reference in New Issue
Block a user