feat: update asset browser
This commit is contained in:
@@ -11,6 +11,7 @@ add_executable(destrum_tests
|
||||
editor_tests.cpp
|
||||
audio_tests.cpp
|
||||
jobs_tests.cpp
|
||||
cooker_tests.cpp
|
||||
${CMAKE_SOURCE_DIR}/lightkeeper/src/components/Activatable.cpp
|
||||
${CMAKE_SOURCE_DIR}/lightkeeper/src/components/Interactable.cpp
|
||||
${CMAKE_SOURCE_DIR}/lightkeeper/src/components/InteractableButton.cpp
|
||||
@@ -32,13 +33,15 @@ target_compile_definitions(destrum_tests PRIVATE
|
||||
SDL_MAIN_HANDLED
|
||||
DESTRUM_ENGINE_ASSETS_SRC_DIR="${CMAKE_SOURCE_DIR}/destrum/assets_src"
|
||||
LIGHTKEEPER_ASSETS_SRC_DIR="${CMAKE_SOURCE_DIR}/lightkeeper/assets_src"
|
||||
DESTRUM_THECHEF_PATH="$<TARGET_FILE:TheChef>"
|
||||
)
|
||||
add_dependencies(destrum_tests TheChef)
|
||||
target_include_directories(destrum_tests PRIVATE "${CMAKE_SOURCE_DIR}/lightkeeper/include")
|
||||
target_link_libraries(destrum_tests PRIVATE destrum::destrum destrum::editor)
|
||||
|
||||
destrum_enable_warnings(destrum_tests)
|
||||
destrum_copy_runtime_dlls(destrum_tests)
|
||||
|
||||
foreach(suite core serialization physics assets graphics ui gameplay editor audio jobs)
|
||||
foreach(suite core serialization physics assets graphics ui gameplay editor audio jobs cooker)
|
||||
add_test(NAME destrum_tests.${suite} COMMAND destrum_tests ${suite})
|
||||
endforeach()
|
||||
|
||||
Reference in New Issue
Block a user