CMakeLists.txt


Log

Author Commit Date CI Message
Alex Szpakowski 2c3bf665 2016-03-18T22:15:53 Windows CMake: don't try to link dxguid, it's unavailable when using Visual Studio's XP-compatible toolset.
Sam Lantinga e5d575b9 2016-01-16T21:58:49 Expose the EGL display and window for Vivante SDL windows
Ryan C. Gordon 1615b2e2 2016-01-08T07:32:51 CMake: only set "-O3 -g" defaults if CMAKE_BUILD_TYPE wasn't set at all.
Sam Lantinga 757e994e 2016-01-07T17:21:50 Fixed --enable-new-dtags check with cmake
Sam Lantinga dc5f05bb 2016-01-07T16:42:30 Use --enable-new-dtags to set RUNPATH rather than RPATH so that LD_LIBRARY_PATH is not overridden by the application.
Ryan C. Gordon bb1e2bd0 2016-01-05T05:44:32 CMake: Turned off Mac OS X rpath warning kludge. Apparently CMake errors out if it doesn't know this policy, and we don't otherwise require CMake 3.0 yet. Sigh.
Ryan C. Gordon e6e62bee 2016-01-05T01:26:32 CMake: Let static libraries optionally be built with Position Independent Code.
Ryan C. Gordon 008a6abd 2016-01-05T01:25:54 CMake: use the old MACOSX_RPATH behavior (for now), silence the warning.
Ryan C. Gordon 1373e890 2016-01-04T22:58:38 Try to build with GCC's -Wdeclaration-after-statement. This will help catch things that'll cause issues on C89 compilers before we send them on to fail on Buildbot.
Ryan C. Gordon 1240f8e0 2016-01-03T20:52:44 CMake: Don't make a libSDL2.so symlink on Mac OS X (do .dylib instead).
Alex Szpakowski b0d8dfcd 2015-12-31T15:26:40 CMake: Fixed building for Windows with VS2015 (bug #3080). - Don't try to link with the Visual C runtime. - Avoid code generation that would use functions from the VC runtime.
Ryan C. Gordon 61518bce 2015-12-29T00:57:24 CMake: Changes to get CMake project to work with Android (thanks, Martin!). Fixes Bugzilla #3194. (but note that Bugzilla #3200 still needs to be resolved to get this really going on Android, at a minimum.)
Ryan C. Gordon 7e679ed2 2015-12-29T00:36:03 CMake: fixed a failure to reset CMAKE_REQUIRED_FLAGS (thanks, Martin!). This would break Emscripten builds with the CMake project files (etc). Fixes Bugzilla #3197.
Ryan C. Gordon c9927bbb 2015-12-29T00:24:37 CMake: don't try to use the Linux joystick code on Android (thanks, Martin!). Fixes Bugzilla #3201.
Ryan C. Gordon 7ca3b270 2015-12-29T00:02:43 CMake: Fixed to work on Windows 8 SDK (thanks, Martin!). Fixes Bugzilla #3207.
Alex Szpakowski 42f282cc 2015-08-28T19:10:46 Fix bug 3081: CMake configuration auto-disables OpenGL ES support on Windows. Thanks to EntranceJew for the patch.
Alex Szpakowski d154e6c6 2015-08-28T19:05:24 Fixed bug 3098: CMake project never enables xinput support on Windows. Thanks to EntranceJew for debugging the issue.
Philipp Wiesemann 0e45984f 2015-06-21T17:33:46 Fixed crash if initialization of EGL failed but was tried again later. The internal function SDL_EGL_LoadLibrary() did not delete and remove a mostly uninitialized data structure if loading the library first failed. A later try to use EGL then skipped initialization and assumed it was previously successful because the data structure now already existed. This led to at least one crash in the internal function SDL_EGL_ChooseConfig() because a NULL pointer was dereferenced to make a call to eglBindAPI().