mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-28 13:47:57 +03:00
AltKit integration.
This commit is contained in:
parent
81284985fb
commit
b1f30b7133
3 changed files with 12 additions and 1 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -13,3 +13,6 @@
|
||||||
[submodule "deps/libchdr"]
|
[submodule "deps/libchdr"]
|
||||||
path = deps/libchdr
|
path = deps/libchdr
|
||||||
url = https://github.com/jpd002/libchdr.git
|
url = https://github.com/jpd002/libchdr.git
|
||||||
|
[submodule "deps/AltKit"]
|
||||||
|
path = deps/AltKit
|
||||||
|
url = https://github.com/jpd002/AltKit.git
|
||||||
|
|
|
@ -73,9 +73,16 @@ if(NOT TARGET ui_shared)
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/../ui_shared
|
${CMAKE_CURRENT_SOURCE_DIR}/../ui_shared
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/ui_shared
|
${CMAKE_CURRENT_BINARY_DIR}/ui_shared
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
list(APPEND PROJECT_LIBS ui_shared)
|
list(APPEND PROJECT_LIBS ui_shared)
|
||||||
|
|
||||||
|
if(NOT TARGET AltKit)
|
||||||
|
add_subdirectory(
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}/../../deps/AltKit
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/AltKit
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
find_library(UIKIT_LIBRARY NAMES UIKit)
|
find_library(UIKIT_LIBRARY NAMES UIKit)
|
||||||
find_library(COREGRAPHICS_LIBRARY NAMES CoreGraphics)
|
find_library(COREGRAPHICS_LIBRARY NAMES CoreGraphics)
|
||||||
find_library(GAMECONTROLLER_LIBRARY NAMES GameController)
|
find_library(GAMECONTROLLER_LIBRARY NAMES GameController)
|
||||||
|
|
1
deps/AltKit
vendored
Submodule
1
deps/AltKit
vendored
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit a2843c4a7335a8f69eb9a2c50a2c31672793f039
|
Loading…
Add table
Add a link
Reference in a new issue