Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
K1ngst0m committed Oct 28, 2023
1 parent 2d1a6aa commit 6c5e964
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 9 deletions.
1 change: 0 additions & 1 deletion cmake/AphDefinitions.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
include_guard()

set(APH_ROOT_DIR ${CMAKE_SOURCE_DIR})
set(APH_EXAMPLES_DIR ${APH_ROOT_DIR}/examples)
set(APH_ENGINE_DIR ${APH_ROOT_DIR}/engine)
set(APH_EXTERNAL_DIR ${APH_ROOT_DIR}/external)
Expand Down
5 changes: 0 additions & 5 deletions engine/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,8 @@ target_link_libraries(aph_engine INTERFACE common app cli threads wsi resource a

target_link_libraries(aph_engine INTERFACE
mimalloc-static
glfw
imgui
${xcb_libraries}
${cmake_thread_libs_init}
volk
shaderc_shared
spirv-cross-core
dl
dw
)
3 changes: 2 additions & 1 deletion engine/api/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ target_include_directories(api PRIVATE
${APH_EXTERNAL_DIR}/volk
${APH_EXTERNAL_DIR}/spirv-cross
${APH_EXTERNAL_DIR}/vulkan
${APH_EXTERNAL_DIR}/glm
)
target_link_libraries(api PRIVATE common threads volk)
target_link_libraries(api PRIVATE common threads volk shaderc_shared spirv-cross-core)
1 change: 1 addition & 0 deletions engine/cli/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ add_library(cli STATIC ${API_CLI_SRC})
aph_compiler_options(cli)
target_include_directories(cli PRIVATE
${APH_ENGINE_DIR}
${APH_EXTERNAL_DIR}/glm
)
2 changes: 2 additions & 0 deletions engine/common/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ aph_compiler_options(common)
target_include_directories(common PRIVATE
${APH_ENGINE_DIR}
${APH_EXTERNAL_DIR}/backward-cpp/include
${APH_EXTERNAL_DIR}/glm
${APH_EXTERNAL_DIR}/stb/include
)
2 changes: 1 addition & 1 deletion engine/renderer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ target_include_directories(renderer PRIVATE
${APH_EXTERNAL_DIR}/imgui
${APH_EXTERNAL_DIR}/glm
)
target_link_libraries(renderer PRIVATE api)
target_link_libraries(renderer PRIVATE api imgui)
1 change: 1 addition & 0 deletions engine/resource/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ target_include_directories(resource PRIVATE
${APH_EXTERNAL_DIR}/tinydds
${APH_EXTERNAL_DIR}/tinygltf/include
${APH_EXTERNAL_DIR}/stb/include
${APH_EXTERNAL_DIR}/glm
)

target_link_libraries(resource PRIVATE slang)
1 change: 1 addition & 0 deletions engine/threads/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ add_library(threads STATIC ${API_THREADS_SRC})
aph_compiler_options(threads)
target_include_directories(threads PRIVATE
${APH_ENGINE_DIR}
${APH_EXTERNAL_DIR}/glm
)
3 changes: 2 additions & 1 deletion engine/wsi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ target_include_directories(wsi PRIVATE
${APH_ENGINE_DIR}
${APH_EXTERNAL_DIR}/volk
${APH_EXTERNAL_DIR}/imgui
${APH_EXTERNAL_DIR}/glm
)

target_link_libraries(wsi PRIVATE imgui)
target_link_libraries(wsi PRIVATE imgui glfw)

0 comments on commit 6c5e964

Please sign in to comment.