Skip to content

Commit

Permalink
Revert "fix"
Browse files Browse the repository at this point in the history
This reverts commit c9fd28d.
  • Loading branch information
durswd committed Oct 25, 2023
1 parent 2cb183a commit cebc974
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 13 deletions.
20 changes: 14 additions & 6 deletions Dev/Cpp/Test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,20 @@ set(effekseer_test_src
Backend/OpenGL.cpp
)

include_directories(
${EFK_THIRDPARTY_INCLUDES}
../Effekseer/
../EffekseerRendererGL/
../EffekseerSoundAL/
)

if(WIN32)
include_directories(
${EFK_THIRDPARTY_INCLUDES}
../EffekseerRendererDX11/
)
endif()

set(common_lib)
set(common_inc)

Expand Down Expand Up @@ -91,12 +105,6 @@ else()
endif()

add_executable(${PROJECT_NAME} ${effekseer_test_src})

target_include_directories(
${PROJECT_NAME}
PRIVATE
${EFK_THIRDPARTY_INCLUDES})

target_link_directories(${PROJECT_NAME} PRIVATE ${EFK_THIRDPARTY_LIBRARY_DIRECTORIES})
target_link_libraries(${PROJECT_NAME} PRIVATE TestRuntimeFramework)

Expand Down
17 changes: 15 additions & 2 deletions Dev/Cpp/TestRuntimeFramework/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,20 @@ if(WIN32)
)
endif()

include_directories(
${EFK_THIRDPARTY_INCLUDES}
../Effekseer/
../EffekseerRendererGL/
../EffekseerSoundAL/
)

if(WIN32)
include_directories(
${EFK_THIRDPARTY_INCLUDES}
../EffekseerRendererDX11/
)
endif()

set(common_lib)
set(common_inc)

Expand Down Expand Up @@ -121,9 +135,8 @@ else()
endif()

add_library(${PROJECT_NAME} ${effekseer_test_src})

target_link_directories(${PROJECT_NAME} PUBLIC ${EFK_THIRDPARTY_LIBRARY_DIRECTORIES})
target_include_directories(${PROJECT_NAME} PUBLIC ./ ${EFK_THIRDPARTY_INCLUDES})
target_include_directories(${PROJECT_NAME} PUBLIC ./)

if(BUILD_VULKAN)
find_package(Vulkan REQUIRED)
Expand Down
11 changes: 6 additions & 5 deletions Dev/Cpp/Viewer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -128,14 +128,15 @@ list(APPEND cpps ${cpps_g})
FilterFolder("${hs}")
FilterFolder("${cpps}")

add_library(Viewer SHARED ${cpps} ${hs})

target_include_directories(
Viewer
PRIVATE
include_directories(
${EFK_THIRDPARTY_INCLUDES}
../include/
../EffekseerRendererGL/
../EffekseerSoundOSMixer/
../
)

add_library(Viewer SHARED ${cpps} ${hs})
target_link_directories(
Viewer
PRIVATE
Expand Down

0 comments on commit cebc974

Please sign in to comment.