-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade dependencies and make the plugin compile
- Loading branch information
1 parent
3bd3c4c
commit 0a0eb25
Showing
8 changed files
with
17 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,8 @@ | ||
set(GOTHIC_API_WORKING_DIR "${CMAKE_CURRENT_BINARY_DIR}/gothic-api-working-dir") | ||
|
||
file(MAKE_DIRECTORY ${GOTHIC_API_WORKING_DIR}) | ||
file(COPY "${GOTHIC_API_DIR}/" DESTINATION ${GOTHIC_API_WORKING_DIR}) | ||
file(COPY "${GOTHIC_USERAPI_DIR}/" DESTINATION "${GOTHIC_API_WORKING_DIR}/ZenGin/Gothic_UserAPI") | ||
|
||
add_library(gothic-api INTERFACE IMPORTED) | ||
target_include_directories(gothic-api INTERFACE "${GOTHIC_API_WORKING_DIR}") | ||
target_link_directories(gothic-api INTERFACE "${GOTHIC_API_WORKING_DIR}") | ||
target_sources(gothic-api INTERFACE "${GOTHIC_API_WORKING_DIR}/ZenGin/zGothicAPI.cpp") | ||
target_include_directories(gothic-api INTERFACE | ||
"${GOTHIC_USERAPI_DIR}" | ||
"${GOTHIC_API_DIR}" | ||
"${GOTHIC_API_DIR}/ZenGin/Gothic_UserAPI" | ||
) | ||
target_link_directories(gothic-api INTERFACE "${GOTHIC_API_DIR}") | ||
target_sources(gothic-api INTERFACE "${GOTHIC_API_DIR}/ZenGin/zGothicAPI.cpp") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule gothic-api
updated
from c8f10e to e9ca20
Submodule union-api
updated
from ad38ad to 346853
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
file(MAKE_DIRECTORY "${CMAKE_INSTALL_PREFIX}/vdf/System/Autorun") | ||
file(COPY "${CMAKE_INSTALL_PREFIX}/bin/UnionAPI.dll" DESTINATION "${CMAKE_INSTALL_PREFIX}/vdf/System/Autorun") | ||
file(COPY "${CMAKE_INSTALL_PREFIX}/bin/zBassMusic.dll" DESTINATION "${CMAKE_INSTALL_PREFIX}/vdf/System/Autorun") | ||
file(COPY "${CMAKE_INSTALL_PREFIX}/bin/bass.dll" DESTINATION "${CMAKE_INSTALL_PREFIX}/vdf/System/Autorun") |