Skip to content

Commit

Permalink
decoupled libretro to be excluded from the all target
Browse files Browse the repository at this point in the history
  • Loading branch information
hazelwiss committed Aug 17, 2024
1 parent 3965461 commit 5b8a640
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_retro_ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
mkdir build
cd build
cmake -GXcode -DCMAKE_SYSTEM_NAME=iOS ../
cmake --build . --config Release
cmake --build . --target SkyEmuRetro --config Release
mkdir Payload
cp -R libSkyEmuRetro.dylib Payload/SkyEmu.app
zip -r SkyEmuRetro.ipa Payload
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy_retro_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
run: |
mkdir build
cd build
cmake .. && cmake --build .
cmake .. && cmake --build . --target SkyEmuRetro --config Release
- name: GH Release 🚀
# You may pin to the exact commit or the version.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy_retro_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
run: |
mkdir build
cd build
cmake .. && cmake --build .
cmake .. && cmake --build . --target SkyEmuRetro --config Release
- name: Build DMG
run: |
cd build
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy_retro_win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
mkdir build
cd build
cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_SYSTEM_VERSION=10.0.19041.0 ..
cmake --build . --config Release
cmake --build . --target SkyEmuRetro --config Release
- name: GH Release 🚀
# You may pin to the exact commit or the version.
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ elseif(ANDROID)
else()
add_executable(${PROJECT_NAME} ${SKYEMU_SRC})
endif()
add_library(SkyEmuRetro SHARED src/libretro.c src/shared.c src/localization.c)
add_library(SkyEmuRetro SHARED EXCLUDE_FROM_ALL src/libretro.c src/shared.c src/localization.c)

if (${CMAKE_SYSTEM_NAME} MATCHES "Emscripten")
set_target_properties(${PROJECT_NAME} PROPERTIES LINK_FLAGS "-sALLOW_MEMORY_GROWTH -s TOTAL_MEMORY=192MB -lidbfs.js -s ELIMINATE\_DUPLICATE\_FUNCTIONS=1 -flto -s USE_CLOSURE_COMPILER=0 --closure 0 ")
Expand Down

0 comments on commit 5b8a640

Please sign in to comment.