Commit Graph

79 Commits

Author SHA1 Message Date
Sam Lantinga
fe4c10af90 Fixed Visual Studio 2008 projects
Added missing files to SDL2 project
Added missing Visual Studio 2008 tests to the solution
Added output paths which match the 2010+ projects
Added SDL project references instead of old style project dependencies
Removed post-build copy step and added data files to projects
2014-06-15 10:42:28 -07:00
Sam Lantinga
74cee7033b Updated projects for Visual Studio 2010, 2012 and 2013
* Test programs use project references instead of hard-coding SDL library dependencies
* Test data files are copied only when needed.
* Copying SDL2.dll is no longer necessary
* Fixed /SAFESEH warning
* Fixed attempted rebuild of SDL every time a test program is run
2014-06-07 21:58:18 -07:00
Sam Lantinga
e54f9ce675 Added testrumble to the Visual Studio 2013 solution 2014-03-29 12:27:02 -07:00
Andreas Schiffler
353b516a34 Add input validation to SDL_getenv/SDL_setenv; update Stdlib testsuite; add Hints testsuite 2014-03-19 21:39:55 -07:00
Sam Lantinga
eb9c43ac2c Added testoverlay2 to the Visual Studio 2013 solution 2014-03-10 03:59:47 -07:00
Gabriel Jacobo
3fcc35f5bb OpenGL ES support for Windows 2013-11-22 13:24:53 -03:00
Sam Lantinga
b139a615ac Added project files for Visual Studio 2013
Added /arch:SSE code generation option to prevent SSE2 floating point functions from being implicitly called (which aren't linked in SDL)
2013-11-10 11:51:06 -08:00
Andreas Schiffler
7582a71d05 Fix bug 2034: replace printf by SDL_Log in tests; update loopwave VS solution: copy missing dependency 2013-08-14 23:30:10 -07:00
Sam Lantinga
bbb0519eee Fix building the tests with Visual Studio 2012 (thanks Isaac!) 2013-08-07 09:20:41 -07:00
Sam Lantinga
976949bd01 Finished updating testoverlay2 for the new API and added it to the Visual Studio 2010 projects 2013-07-23 12:46:22 -07:00
Andreas Schiffler
ea5874859c Fix bug 1494: add missing test projects to VS2010/VS2010 solution 2013-07-22 06:00:41 -07:00
Sam Lantinga
c70478c904 Added testgamecontroller to the Visual Studio 2012 solution. 2013-06-28 22:42:10 -07:00
Sam Lantinga
b35eab818b Added testautomation to the Visual Studio 2008 project. 2013-06-05 22:33:10 -07:00
Andreas Schiffler
d87052e8fd Add missing VS2012 test projects; update VS2010 and VS2012 solutions; update keybord suite for VS compiler warnings 2013-06-03 19:24:18 -07:00
Andreas Schiffler
0d134ebbc0 Remove deprecated/deleted VS test projects 2013-06-03 07:28:55 -07:00
Andreas Schiffler
4835250790 Fix bug 1492: Visual Studio builds sdl.lib and sdl.dll for version 2.0 (contributed by Jan Reitz); update SDL_bool handling in test_common to fix VS compiler warnings 2013-05-30 20:03:56 -07:00
Sam Lantinga
e3041182ff Fixed Windows build 2013-05-24 03:29:31 -07:00
Andreas Schiffler
196baae63c Deprecate test/automated and test/test-automation (replaced by test/testautomation*.*) 2013-05-18 23:32:53 -07:00
Andreas Schiffler
13ea116dc5 Add pixels test suite; add a test to pixel suite; minor updates to test code to make VisualStudio happy 2013-05-01 22:14:29 -07:00
Sam Lantinga
25650692c6 Fied bug 1719 - Remove unnecessary PrecompiledHeaderOutputFile.
Hiroyuki Iwatsuki
Patch for removing unnecessary PrecompiledHeaderOutputFile.
2013-03-03 22:08:00 -08:00
Jørgen P. Tjernø
75626eac76 New SDL_MSBIndex, updated VS projects, cleanup gamecontroller.
- Updated Visual Studio 2010 project with SDL 2.0 library names
- Don't use a 256 byte LUT, but rather <32 bytes of data on the stack.
- Cleanups in SDL_gamecontroller.h
2013-02-13 17:19:21 -08:00
Jørgen P. Tjernø
4276473f79 Fix linker error for Win32 tests.
This adds the new testautomation_main.c to the VisualC projects.
2013-02-12 12:29:08 -08:00
Andreas Schiffler
5bda818e44 Add SDL_test test suite; add fuzzer test cases; fix fuzzer bug; fix compiler warnings 2013-02-08 07:14:50 -08:00
Andreas Schiffler
ef298de2c7 Added timer test suite 2013-01-14 08:14:53 -08:00
Andreas Schiffler
d58a914fe2 Add new test suite (mouse) with a few new tests 2013-01-06 18:19:30 -08:00
Andreas Schiffler
9da98d7dbf Add new test suites (events, keyboard, syswm, video) with a few new tests each 2013-01-06 15:17:59 -08:00
Andreas Schiffler
3415cc1b9f Fix VS buildbot builds 2012-12-31 19:22:05 -08:00
Andreas Schiffler
4d372b8539 Fix VS2010 and VS2012 solutions. 2012-12-31 19:11:14 -08:00
Sam Lantinga
c31c469ff6 Fixed building tests with Visual Studio 2008 2012-12-31 13:49:06 -08:00
Andreas Schiffler
85fc169e0b Add missing VS project dependencies to fix buildbot build; fix surface suite; minor update to rwops suite 2012-12-30 10:58:18 -08:00
Andreas Schiffler
09e774a39b Add testautomation to VS project; remove automated from VS project; minor update to platform suite 2012-12-30 09:58:03 -08:00
Andreas Schiffler
b8a9bd3784 Revert incorrect change to automated_VS2010 2012-11-26 18:51:17 -08:00
Sam Lantinga
23950f0183 Added hotplug joystick support and simplified game controller API, courtesy of Alfred Reynolds 2012-11-26 16:37:54 -08:00
Andreas Schiffler
84047df68c Fix VS2012 solution; remove accidentally submitted .patch file 2012-11-25 21:57:13 -08:00
Andreas Schiffler
f70416e545 Added VS2012 project files 2012-11-08 21:53:57 -08:00
Sam Lantinga
c484f884c5 Updated to SDL 2.0, and SDL 2.0 can now be installed coexisting with SDL 1.2 2012-01-22 17:21:00 -05:00
Sam Lantinga
a2c8422c6c Added testscale and testrendertarget projects 2012-01-21 21:50:28 -05:00
Sam Lantinga
094db18796 Don't hardcode output paths, Visual Studio does the right thing. 2012-01-09 04:53:58 -05:00
Sam Lantinga
91c26c9eb7 Removing test projects for Visual Studio 2005 2012-01-09 04:39:55 -05:00
Andreas Schiffler
7d44cb1995 Updated VS2010 project files 2011-12-04 21:45:34 -08:00
Sam Lantinga
4b0ddc8d7c Fixed bug 1185 (VS 2010 project files do not support side-by-side 32-bit and 64-bit builds)
Ed Kiser      2011-04-19 09:28:53 PDT

The Visual Studio 2010 project files have hard-coded relative paths which
prevent them from doing side-by-side 32-bit and 64-bit builds.

I have attached a patch that appears to fix this problem.
2011-04-19 09:53:01 -07:00
Sam Lantinga
6af452ca77 Added quotes to the post-build copy commands 2011-03-15 22:42:26 -07:00
Sam Lantinga
9ad3d2ebf8 Copy icon.bmp for the testcursor build 2011-03-11 14:30:00 -08:00
Sam Lantinga
069fbf4861 Gamma support is back!
New API functions:
	SDL_SetWindowBrightness()
	SDL_GetWindowBrightness()
	SDL_SetWindowGammaRamp()
	SDL_GetWindowGammaRamp()
	SDL_CalculateGammaRamp()
2011-03-11 08:49:20 -08:00
Sam Lantinga
572abba9b9 Added support for Windows cursors 2011-02-28 23:50:32 -08:00
Sam Lantinga
c2092ce469 Fixed debug format 2011-02-17 18:53:46 -08:00
Sam Lantinga
e66826bbdf Patch from Ken Rogoway:
Migrate all of the recent changes into the SDL VS2005 project file.
Fix missing return value in SDL_pixels.c
Fix compile error in testscale.c, variable was incorrectly named.
Added VS2005 project file for testscale
2011-02-14 00:45:16 -08:00
Sam Lantinga
adfafcaa35 Removing Visual Studio projects for testpalette 2011-02-01 21:51:54 -08:00
Sam Lantinga
317257b056 Use the debug C runtime for the debug configuration 2011-01-19 13:50:53 -08:00
Sam Lantinga
8018c7aff8 Added post build step to copy SDL and data files into the test projects 2011-01-19 13:07:25 -08:00