Support dynamic loading of SDL libraries
authorSergey Sharybin <sergey.vfx@gmail.com>
Mon, 17 Nov 2014 11:35:36 +0000 (16:35 +0500)
committerSergey Sharybin <sergey.vfx@gmail.com>
Mon, 17 Nov 2014 12:43:18 +0000 (17:43 +0500)
commit80d1d624d378d4d8c03fb26ef286baf5479b6497
treed5ae6545d0318d8e0448d3a084a15e72aff6e2a5
parent90bf426554a7cc1d429f2dd9a02edbcbeb51ceec
Support dynamic loading of SDL libraries

This is mainly to address old issue when one need to have SDL library installed
in order to use our official builds. Some hip distros already installs SDL,
but it's not quite the same across all the variety of the distros.

We also now switching to SDL-2.0, most of the distros have it in repositories
already, so it shouldn't be huge deal to install it if needed.

Reviewers: campbellbarton

Reviewed By: campbellbarton

Differential Revision: https://developer.blender.org/D878
92 files changed:
CMakeLists.txt
SConstruct
build_files/cmake/macros.cmake
build_files/scons/config/linux-config.py
build_files/scons/tools/Blender.py
build_files/scons/tools/btools.py
extern/CMakeLists.txt
extern/SConscript
extern/sdlew/CMakeLists.txt [new file with mode: 0644]
extern/sdlew/SConscript [new file with mode: 0644]
extern/sdlew/auto/sdlew_gen.sh [new file with mode: 0755]
extern/sdlew/auto/strip_comments.sh [new file with mode: 0755]
extern/sdlew/include/SDL2/SDL.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_assert.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_atomic.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_audio.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_bits.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_blendmode.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_clipboard.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_config.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_cpuinfo.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_endian.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_error.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_events.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_gamecontroller.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_gesture.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_haptic.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_hints.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_joystick.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_keyboard.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_keycode.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_loadso.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_log.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_main.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_messagebox.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_mouse.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_mutex.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_name.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_opengl.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_opengles.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_opengles2.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_pixels.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_platform.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_power.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_quit.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_rect.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_render.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_revision.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_rwops.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_scancode.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_shape.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_stdinc.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_surface.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_system.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_syswm.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_test.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_test_assert.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_test_common.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_test_compare.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_test_crc32.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_test_font.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_test_fuzzer.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_test_harness.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_test_images.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_test_log.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_test_md5.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_test_random.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_thread.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_timer.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_touch.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_types.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_version.h [new file with mode: 0644]
extern/sdlew/include/SDL2/SDL_video.h [new file with mode: 0644]
extern/sdlew/include/SDL2/begin_code.h [new file with mode: 0644]
extern/sdlew/include/SDL2/close_code.h [new file with mode: 0644]
extern/sdlew/include/sdlew.h [new file with mode: 0644]
extern/sdlew/src/sdlew.c [new file with mode: 0644]
extern/sdlew/src/sdlew.map [new file with mode: 0644]
intern/audaspace/intern/AUD_C-API.cpp
source/blender/makesrna/SConscript
source/blender/makesrna/intern/CMakeLists.txt
source/blender/makesrna/intern/SConscript
source/blender/makesrna/intern/rna_userdef.c
source/blenderplayer/CMakeLists.txt
source/creator/CMakeLists.txt
source/creator/blender.map
source/creator/creator.c
source/gameengine/GameLogic/Joystick/SCA_Joystick.cpp
source/gameengine/GameLogic/Joystick/SCA_JoystickEvents.cpp
source/gameengine/GamePlayer/ghost/CMakeLists.txt
source/gameengine/GamePlayer/ghost/GPG_ghost.cpp
source/gameengine/GamePlayer/ghost/SConscript