CMakeLists.txt


Log

Author Commit Date CI Message
Sam Lantinga 1a35f32b 2014-03-10T01:51:03 Converted David Ludwig's D3D11 renderer to C and optimized it. The D3D11 renderer is now slightly faster than D3D9 on my Windows 8 machine (testsprite2 runs at 3400 FPS vs 3100 FPS) This will need tweaking to fix the Windows RT build.
Sam Lantinga c167d1f6 2014-03-09T10:38:30 Updated SDL to version 2.0.3
Ryan C. Gordon 0f1a72c0 2014-03-08T15:32:12 Enable Wayland and Mir in configure/cmake scripts, now that 2.0.2 has shipped.
Ryan C. Gordon 2b92d9b4 2014-03-07T00:18:37 CMake: Don't use /NODEFAULTLIB on Windows unless we're Visual Studio.
Ryan C. Gordon b814f23a 2014-02-24T11:24:48 CMake: Fixed build on Mac OS X.
Edward Rudd 7f4c6a9c 2014-02-10T10:53:02 Fix Cmake so generated SOname matches autoconf's #.
Sam Lantinga 853334af 2014-02-09T03:09:56 Updated SDL to version 2.0.2
Sam Lantinga c3c2964d 2014-02-09T02:04:40 Possibly fixed bug 2250 - Cmake: SDL2 Doesn't install DLLs on Windows ernest.lee [Exec] CMake Error at cmake_install.cmake:151 (FILE): [13:37:43][Exec] file INSTALL cannot find [13:37:43][Exec] "C:/TeamCity/buildAgent/work/2e3d17a492e75daf/Build/libSDL2.so". The cmake INSTALL project doesn't work because it uses Linux so shared library paths. Windows uses dlls and I think cygwin also uses dlls. I've included this patch. Can you check if it works?
Ryan C. Gordon 0d9443d3 2014-02-03T11:59:17 Temporarily default Wayland and Mir to disabled, for 2.0.2 release. We'll flip the default back to enabled right after 2.0.2 is finalized, and try to declare them stable and ready by 2.0.3. Those that have an interest in supporting them in 2.0.2 can manually enable them in the configure script with --enable-video-wayland and/or --enable-video-mir.
Ryan C. Gordon 19f8c622 2014-02-02T23:41:46 Added Mir video target (thanks, Brandon!).
Ryan C. Gordon 4f1b8a40 2014-01-28T12:42:01 Move to no-argument version of "endif()" in CMakeLists.txt.
Ryan C. Gordon 2de3b01c 2014-01-28T12:37:04 Some CMake fixes for static linking on Windows from the OpenFL project.
Ryan C. Gordon 9d85cdb1 2014-01-28T00:05:23 CMake: Enable missing timer subsystem on Mac OS X and Haiku.
Edward Rudd 815c6c3b 2014-01-25T16:08:39 quick fix for CMAKE SOVERSION number so it matches what is output by the configure script
Edward Rudd f186314a 2014-01-25T15:13:16 correct grammar on UNIX missing dependency status notice.
Ryan C. Gordon beee1c44 2014-01-21T13:58:15 Fixed dynamic loading of NAS in CMake project.
Gabriel Jacobo ec1cb49e 2013-12-14T20:18:43 Wayland support Based on the original port to Wayland by: Joel Teichroeb, Benjamin Franzke, Scott Moreau, et al. Additional changes in this commit, done by me: * Wayland uses the common EGL framework * EGL can now create a desktop OpenGL context * testgl2 loads GL functions dynamically, no need to link to libGL anymore * Assorted fixes to the Wayland backend Tested on the Weston Compositor (v1.0.5) that ships with Ubuntu 13.10, running Weston under X. Tests ran: testrendercopyex (all backends), testgl2, testgles2,testintersections
Ryan C. Gordon 090327e7 2013-12-09T16:03:18 Implemented the Dynamic API magic.
Ryan C. Gordon d01ad02b 2013-12-09T15:17:20 Hook up SDL_acos and SDL_asin properly.
Gabriel Jacobo f848adff 2013-11-29T10:06:08 Improve Android pause/resume behavior.
Gabriel Jacobo c343eab6 2013-11-26T11:50:54 Fixes #2271, Add KD detection under CMake by Scott Percival
Gabriel Jacobo 96fe749f 2013-11-26T11:47:52 Fixes #2272, typo in CMakeLists.txt (thanks Boris Bendovsky!)
Ryan C. Gordon 5c383489 2013-11-24T23:36:15 We don't need to check for snprintf() anymore, we don't use it. SDL_snprintf() is built on vsnprintf() where available.
Ryan C. Gordon e7693740 2013-11-24T23:35:38 Added SDL_vsscanf().
Sam Lantinga 744cd465 2013-11-16T11:58:21 Fixed bug 2238 - Enable GCC atomics for clang Marcus von Appen clang provides support for optimized atomics. The attached patch enables the cmake build system to take clang into account on checking for atomics.
Ryan C. Gordon 00003e8c 2013-11-14T11:51:24 Renamed things named after BeOS to be named after Haiku instead.
Ryan C. Gordon 7550ddcc 2013-11-13T22:35:26 Started BeOS removal: merged BeOS thread and pthread code. Haiku uses most of the standard pthread API, with a few #ifdefs where we still need to fallback onto the old BeOS APIs. BeOS, however, does not support pthreads (or maybe doesn't support it well), so I'm unplugging support for the platform with this changeset. Be Inc went out of business in 2001.
Sam Lantinga aaa4165b 2013-11-03T11:00:28 Fixed bug 2187 - CMake is not adding src/core/linux/*.c to the build, linking to SDL results in errors. Daniel Ribeiro Maciel CMake is not adding src/core/linux/*.c to the build, linking to SDL results in errors: (...)/libSDL2-2.0.so.1.0.1: undefined reference to `SDL_UDEV_AddCallback' (...)/libSDL2-2.0.so.1.0.1: undefined reference to `SDL_UDEV_Poll' (...)/libSDL2-2.0.so.1.0.1: undefined reference to `SDL_UDEV_Init' (...)/libSDL2-2.0.so.1.0.1: undefined reference to `SDL_UDEV_Quit' (...)/libSDL2-2.0.so.1.0.1: undefined reference to `SDL_UDEV_DelCallback' (...)/libSDL2-2.0.so.1.0.1: undefined reference to `SDL_UDEV_Scan' collect2: error: ld returned 1 exit status
Sam Lantinga 6f76bc29 2013-10-21T00:22:07 Fixed bug 2061 - SDL_filesystem API not built using cmake Marcus von Appen The SDL_filesystem API does not get built properly on Unix and BeOS using cmake due to not including the correct C files.
Sam Lantinga a7e1fddd 2013-10-10T21:50:25 Updated SDL to version 2.0.1
Ryan C. Gordon 2dd7091e 2013-08-20T19:57:11 Added SDL_GetBasePath() and SDL_GetPrefPath() in new filesystem module.
Ryan C. Gordon 63447366 2013-08-20T15:28:14 Fixed cut-and-paste error.
Gabriel Jacobo dad42067 2013-08-12T11:13:50 Fixes #2022, do not resume on Android when surfaceChanged If the app is in landscape mode and the user presses the power button, a pause is followed immediately by a surfaceChanged event because the lock screen is shown in portrait mode. This triggers a "false" resume. So, we just pause and resume following the onWindowFocusChanged events. Also, wait for SDL_APP_WILLENTERBACKGROUND and SDL_APP_DIDENTERBACKGROUND before blocking the event pump.
Sam Lantinga 1ad936eb 2013-08-11T19:56:43 Fixed bug 2027 - Full-screen appears to be broken - hang in SDL_DestroyWindow() Rainer Deyke I'm running Linux Mint 15 with the Cinnamon window manager. SDL_DestroyWindow consistently locks up for me when the window if fullscreen.