bc26d0d6cd
Also drop some unused files. Renamed: - `platform/iphone/sem_iphone.h` -> `semaphore_iphone.h` (same for `osx`) - `platform/uwp/gl_context_egl.h` -> `context_egl_uwp.h` - in `platform/windows`: `context_gl_win.h`, `crash_handler_win.h`, `godot_win.cpp`, `joypad.h` and `key_mapping_win.h` all renamed to use `windows`. Some classes renamed accordingly too. - `EditorExportAndroid` and `EditorExportUWP` renamed to `EditorExportPlatformAndroid` and `EditorExportPlatformUWP` - `power_android` and `power_osx` renamed to `PowerAndroid` and `PowerOSX` - `OSUWP` renamed to `OS_UWP` Dropped: - `platform/windows/ctxgl_procaddr.h`
21 lines
522 B
Python
21 lines
522 B
Python
#!/usr/bin/env python
|
|
|
|
import os
|
|
import platform
|
|
import sys
|
|
|
|
Import('env')
|
|
|
|
common_server = [\
|
|
"os_server.cpp",\
|
|
]
|
|
|
|
if sys.platform == "darwin":
|
|
common_server.append("#platform/osx/crash_handler_osx.mm")
|
|
common_server.append("#platform/osx/power_osx.cpp")
|
|
common_server.append("#platform/osx/semaphore_osx.cpp")
|
|
else:
|
|
common_server.append("#platform/x11/crash_handler_x11.cpp")
|
|
common_server.append("#platform/x11/power_x11.cpp")
|
|
|
|
prog = env.add_program('#bin/godot_server', ['godot_server.cpp'] + common_server)
|