CMakeLists.txt


Log

Author Commit Date CI Message
Ryan C. Gordon 0e7530b0 2017-02-23T22:38:04 cmake: add WASAPI audio target to the build (thanks, Martin!). Fixes Bugzilla #3588.
Ryan C. Gordon 5ea0c893 2017-01-24T12:20:41 CMake: fixed logic error in setting -mfpmath=387. Fixes Bugzilla #3565.
Ryan C. Gordon 3594bf8e 2017-01-23T01:05:44 audio: Wired up new SSE code to build system.
Sam Lantinga df25258a 2017-01-06T20:43:53 Added configure and cmake support for libsamplerate
Ryan C. Gordon 35430a73 2016-11-17T01:15:16 cpuinfo: first attempt at SDL_HasNEON() implementation.
Sam Lantinga f3502c3c 2016-10-14T01:04:21 Fixed building with cmake when fcitx isn't installed
Sam Lantinga 34eebfba 2016-10-03T03:42:10 Fixed setting the version info in the shared library when using CMake Ray Molenkamp When building sdl as shared lib, the version info is lacking in the final binary. CMake gathers the right resource files into ${VERSION_SOURCES} but then doesn't do anything with them.
Sam Lantinga c9be93c6 2016-10-01T15:11:18 Fixed bug 3078 - cmake: fix sdl2.m4 install location on cross hosts Timo Gurr On cross hosts running autotools for SDL2_gfx-1.0.1 fails to find sdl2.m4: eautoreconf: running in /var/tmp/paludis/build/media-libs-SDL2_gfx-1.0.1/work/SDL2_gfx-1.0.1 ... aclocal aclocal-1.13: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:128: warning: macro 'AM_PATH_SDL2' not found in library libtoolize --copy --force --automake aclocal aclocal-1.13: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:128: warning: macro 'AM_PATH_SDL2' not found in library autoconf configure.in:128: error: possibly undefined macro: AM_PATH_SDL2 If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. * Failed Running autoconf ! SDL2 installs it to /usr/x86_64-pc-linux-gnu/share/aclocal on cross hosts, attached patch makes use of CMAKE_INSTALL_FULL_DATAROOTDIR to support correctly installing to the arch independent location /usr/share/aclocal.
Alex Szpakowski 571f4ce8 2016-10-01T17:05:29 Fix CMake setting an incorrect video backend on iOS
Sam Lantinga 671f2a49 2016-10-01T12:54:48 Fixed bug 3268 - CMAKE: ios fixes Martin Gerhardy ios is not properly handled in the cmake file. this patch is a start to do so - it properly builds for me with it.
Sam Lantinga bb24662c 2016-10-01T12:48:08 Fixed bug 3301 - IBus support on Linux with CMake joe.gsoc16 I recently looked into Unicode support in SDL2 and realized that SDL_TEXTEDITING doesn't get triggered at all (Japanese IME). According to others on IRC it works fine on Windows/Mac but not for me on (arch)Linux. When compiling SDL with autotools, IBus support is enabled by default but not so with CMake. I never used CMake before but got it working and also included that pkg-config determines flags for dbus (FIXME in CMakeLists).
Sam Lantinga e45698d2 2016-09-28T22:24:01 Updated version to 2.0.5 in preparation for release
Sam Lantinga e5070d20 2016-09-15T08:57:56 Fixed set of libraries needed to build on Mac OS X
Sam Lantinga 93d42e2d 2016-09-15T08:46:14 Hopefully fixed the cmake build on Mac OS X
Jukka Jyl?nki 264e996e 2016-09-13T00:03:50 Fix CMake CMAKE_REQUIRED_FLAGS handling to preserve existing CMake flags required by Emscripten toolchain.
Charlie Birks 42feccea 2016-09-13T00:03:40 Include timers when using cmake (#29)
Ryan C. Gordon 6188c334 2016-09-04T01:42:46 mac: Patched to compile with CMake project.
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().