Skip to content

Commit

Permalink
[Cloud]Add cloud files
Browse files Browse the repository at this point in the history
  • Loading branch information
OFFTKP committed Dec 3, 2023
1 parent 583b3a7 commit 64fb8d2
Show file tree
Hide file tree
Showing 9 changed files with 25,469 additions and 12 deletions.
9 changes: 7 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ endif()
if (PLATFORM_LINUX OR PLATFORM_FREEBSD)
find_package(X11 REQUIRED)
endif()

# TODO - is this needed in emscripten?
find_package(OpenSSL REQUIRED)
# TinyFileDialogs
if ((NOT IOS) AND (NOT EMSCRIPTEN) AND (NOT ANDROID) AND (NOT PLATFORM_LINUX) AND (NOT PLATFORM_FREEBSD))
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DUSE_TINY_FILE_DIALOGS")
Expand Down Expand Up @@ -180,7 +183,8 @@ if(MACOS OR IOS)
"-framework Cocoa"
"-framework MetalKit"
"-framework AudioToolbox"
"-framework Metal")
"-framework Metal"
"-framework Security")
endif()
if(IOS)
set(system_libs ${system_libs} "-framework Foundation" "-framework UIKit" "-framework AudioToolbox" "-framework AVFoundation -framework GameController")
Expand Down Expand Up @@ -252,7 +256,7 @@ add_definitions(-DGIT_COMMIT_HASH=\"${GIT_COMMIT_HASH}\")
add_definitions(-DGIT_BRANCH=\"${GIT_BRANCH}\")
add_definitions(-DGIT_TAG=\"${GIT_TAG}\")

set(SKYEMU_SRC src/main.c src/stb.c src/miniz.c src/res.c src/localization.c)
set(SKYEMU_SRC src/main.c src/stb.c src/miniz.c src/res.c src/localization.c src/cloud.cpp)

if(ENABLE_HTTP_CONTROL_SERVER)
add_definitions(-DENABLE_HTTP_CONTROL_SERVER=1)
Expand Down Expand Up @@ -309,6 +313,7 @@ if (EMSCRIPTEN)
configure_file(src/sw.js.in ${CMAKE_CURRENT_BINARY_DIR}/bin/sw.js)
endif ()
set(LINK_LIBS ${LINK_LIBS} sokol ${ALSA_LIBRARIES})
set(LINK_LIBS ${LINK_LIBS} OpenSSL::SSL)

set(CAPSTONE_BUILD_TESTS OFF CACHE BOOL "Build capstone tests" FORCE)
set(CAPSTONE_BUILD_CSTOOL OFF CACHE BOOL "Build capstone cstool" FORCE)
Expand Down
Loading

0 comments on commit 64fb8d2

Please sign in to comment.