mirror of
https://github.com/rock88/moonlight-nx
synced 2024-11-22 11:33:11 +00:00
Fix makefile...
This commit is contained in:
parent
18a8d8da08
commit
fc6a480a53
16 changed files with 44 additions and 20 deletions
11
Makefile
11
Makefile
|
@ -163,11 +163,14 @@ MOONLIGHT_LIBRETRO_C_SOURCES = \
|
|||
src/moonlight_libretro.c
|
||||
|
||||
MOONLIGHT_LIBRETRO_CXX_SOURCES = \
|
||||
src/ui/AddHostWindow.cpp \
|
||||
src/ui/windows/AddHostWindow.cpp \
|
||||
src/ui/windows/ContentWindow.cpp \
|
||||
src/ui/windows/MainWindow.cpp \
|
||||
src/ui/windows/AppListWindow.cpp \
|
||||
src/ui/buttons/AppButton.cpp \
|
||||
src/ui/buttons/HostButton.cpp \
|
||||
src/ui/Application.cpp \
|
||||
src/ui/ContentWindow.cpp \
|
||||
src/ui/LoadingOverlay.cpp \
|
||||
src/ui/MainWindow.cpp \
|
||||
src/Server.cpp \
|
||||
src/moonlight_libretro_wrapper.cpp
|
||||
|
||||
|
@ -241,7 +244,7 @@ NANOGUI_CXX_SOURCES = \
|
|||
INCLUDES += \
|
||||
-Isrc \
|
||||
-Isrc/nanogui_resources \
|
||||
-Isrc/ui \
|
||||
-Isrc/ui -Isrc/ui/buttons -Isrc/ui/windows \
|
||||
-Ilibgamestream \
|
||||
-Ithird_party/moonlight-common-c/reedsolomon \
|
||||
-Ithird_party/moonlight-common-c/src \
|
||||
|
|
|
@ -303,6 +303,32 @@
|
|||
/* End PBXFrameworksBuildPhase section */
|
||||
|
||||
/* Begin PBXGroup section */
|
||||
3602C3BE245DBFF900368900 /* buttons */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
3602C3B5245D903000368900 /* HostButton.cpp */,
|
||||
3602C3B6245D903000368900 /* HostButton.hpp */,
|
||||
3602C3BB245DBA9100368900 /* AppButton.cpp */,
|
||||
3602C3BC245DBA9100368900 /* AppButton.hpp */,
|
||||
);
|
||||
path = buttons;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
3602C3BF245DC00700368900 /* windows */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
3652F089245C8569001FABF3 /* ContentWindow.cpp */,
|
||||
3652EFFD245B645C001FABF3 /* ContentWindow.hpp */,
|
||||
3652EFFA245B6434001FABF3 /* MainWindow.cpp */,
|
||||
3652EFFB245B6434001FABF3 /* MainWindow.hpp */,
|
||||
3652F000245B6961001FABF3 /* AddHostWindow.cpp */,
|
||||
3652F001245B6961001FABF3 /* AddHostWindow.hpp */,
|
||||
3602C3B8245DB3C800368900 /* AppListWindow.cpp */,
|
||||
3602C3B9245DB3C800368900 /* AppListWindow.hpp */,
|
||||
);
|
||||
path = windows;
|
||||
sourceTree = "<group>";
|
||||
};
|
||||
3652ECC3245B3AFF001FABF3 /* nanogui */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
|
@ -602,22 +628,12 @@
|
|||
36DFDCF12459F79000FC51CE /* ui */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
3602C3BF245DC00700368900 /* windows */,
|
||||
3602C3BE245DBFF900368900 /* buttons */,
|
||||
36DFDCF22459F7A200FC51CE /* Application.cpp */,
|
||||
36DFDCF32459F7A200FC51CE /* Application.hpp */,
|
||||
3652F089245C8569001FABF3 /* ContentWindow.cpp */,
|
||||
3652EFFD245B645C001FABF3 /* ContentWindow.hpp */,
|
||||
3652EFFA245B6434001FABF3 /* MainWindow.cpp */,
|
||||
3652EFFB245B6434001FABF3 /* MainWindow.hpp */,
|
||||
3652F000245B6961001FABF3 /* AddHostWindow.cpp */,
|
||||
3652F001245B6961001FABF3 /* AddHostWindow.hpp */,
|
||||
3602C3B8245DB3C800368900 /* AppListWindow.cpp */,
|
||||
3602C3B9245DB3C800368900 /* AppListWindow.hpp */,
|
||||
3652F081245C60D1001FABF3 /* LoadingOverlay.cpp */,
|
||||
3652F082245C60D1001FABF3 /* LoadingOverlay.hpp */,
|
||||
3602C3B5245D903000368900 /* HostButton.cpp */,
|
||||
3602C3B6245D903000368900 /* HostButton.hpp */,
|
||||
3602C3BB245DBA9100368900 /* AppButton.cpp */,
|
||||
3602C3BC245DBA9100368900 /* AppButton.hpp */,
|
||||
);
|
||||
path = ui;
|
||||
sourceTree = "<group>";
|
||||
|
|
|
@ -42,8 +42,11 @@
|
|||
debugDocumentVersioning = "YES"
|
||||
debugServiceExtension = "internal"
|
||||
allowLocationSimulation = "YES">
|
||||
<BuildableProductRunnable
|
||||
runnableDebuggingMode = "0">
|
||||
<PathRunnable
|
||||
runnableDebuggingMode = "0"
|
||||
FilePath = "/Applications/RetroArch.app">
|
||||
</PathRunnable>
|
||||
<MacroExpansion>
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "36DBDE8D2450BB7E0057C8D3"
|
||||
|
@ -51,7 +54,7 @@
|
|||
BlueprintName = "moonlight"
|
||||
ReferencedContainer = "container:moonlight.xcodeproj">
|
||||
</BuildableReference>
|
||||
</BuildableProductRunnable>
|
||||
</MacroExpansion>
|
||||
<CommandLineArguments>
|
||||
<CommandLineArgument
|
||||
argument = "-L /Users/rock88/Documents/Projects/RetroArch/moonlight-libretro/moonlight_libretro.dylib"
|
||||
|
|
|
@ -89,7 +89,9 @@ void retro_set_environment(retro_environment_t cb) {
|
|||
|
||||
const char *dir = NULL;
|
||||
cb(RETRO_ENVIRONMENT_GET_SYSTEM_DIRECTORY, &dir);
|
||||
moonlight_libretro_wrapper_set_working_dir(dir);
|
||||
if (dir != NULL) {
|
||||
moonlight_libretro_wrapper_set_working_dir(dir);
|
||||
}
|
||||
|
||||
static struct retro_log_callback logging;
|
||||
if (cb(RETRO_ENVIRONMENT_GET_LOG_INTERFACE, &logging))
|
||||
|
|
Loading…
Reference in a new issue