Commit graph

79 commits

Author SHA1 Message Date
Sam Lantinga
73ddbd3f85 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
1c2df7b03d 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
b2f1b89fbd Added testrumble to the Visual Studio 2013 solution 2014-03-29 12:27:02 -07:00
Andreas Schiffler
721340f510 Add input validation to SDL_getenv/SDL_setenv; update Stdlib testsuite; add Hints testsuite 2014-03-19 21:39:55 -07:00
Sam Lantinga
fca0b3d448 Added testoverlay2 to the Visual Studio 2013 solution 2014-03-10 03:59:47 -07:00
Gabriel Jacobo
f21d3e7e2a OpenGL ES support for Windows 2013-11-22 13:24:53 -03:00
Sam Lantinga
c04efa65dc 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
16a40598f6 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
2e821930a3 Fix building the tests with Visual Studio 2012 (thanks Isaac!) 2013-08-07 09:20:41 -07:00
Sam Lantinga
6f83bd0e2a 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
a74537a5a9 Fix bug 1494: add missing test projects to VS2010/VS2010 solution 2013-07-22 06:00:41 -07:00
Sam Lantinga
324a14d847 Added testgamecontroller to the Visual Studio 2012 solution. 2013-06-28 22:42:10 -07:00
Sam Lantinga
b42b0c3e91 Added testautomation to the Visual Studio 2008 project. 2013-06-05 22:33:10 -07:00
Andreas Schiffler
5a7d3757f5 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
3426ac11ad Remove deprecated/deleted VS test projects 2013-06-03 07:28:55 -07:00
Andreas Schiffler
5d3e05c2c4 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
f423813732 Fixed Windows build 2013-05-24 03:29:31 -07:00
Andreas Schiffler
750f6fb9d9 Deprecate test/automated and test/test-automation (replaced by test/testautomation*.*) 2013-05-18 23:32:53 -07:00
Andreas Schiffler
985951f70e 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
2c077061e0 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ø
6fee8913ec 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

--HG--
extra : amend_source : e7d1b224d1356c5be7a89df7b82a7f5e1141c167
2013-02-13 17:19:21 -08:00
Jørgen P. Tjernø
2d5dc3c4ed 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
da76be8927 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
a971c6b291 Added timer test suite 2013-01-14 08:14:53 -08:00
Andreas Schiffler
5220df817b Add new test suite (mouse) with a few new tests 2013-01-06 18:19:30 -08:00
Andreas Schiffler
687ba034f6 Add new test suites (events, keyboard, syswm, video) with a few new tests each 2013-01-06 15:17:59 -08:00
Andreas Schiffler
c412071894 Fix VS buildbot builds 2012-12-31 19:22:05 -08:00
Andreas Schiffler
e225eb7390 Fix VS2010 and VS2012 solutions. 2012-12-31 19:11:14 -08:00
Sam Lantinga
49bf362b10 Fixed building tests with Visual Studio 2008 2012-12-31 13:49:06 -08:00
Andreas Schiffler
1ab1039416 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
40c14b85a8 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
ebdb9d4f98 Revert incorrect change to automated_VS2010 2012-11-26 18:51:17 -08:00
Sam Lantinga
34b88dfaae Added hotplug joystick support and simplified game controller API, courtesy of Alfred Reynolds 2012-11-26 16:37:54 -08:00
Andreas Schiffler
b1d3c334c6 Fix VS2012 solution; remove accidentally submitted .patch file 2012-11-25 21:57:13 -08:00
Andreas Schiffler
9144abbf82 Added VS2012 project files 2012-11-08 21:53:57 -08:00
Sam Lantinga
d71e0546a9 Updated to SDL 2.0, and SDL 2.0 can now be installed coexisting with SDL 1.2
--HG--
rename : sdl-config.in => sdl2-config.in
rename : sdl.m4 => sdl2.m4
rename : sdl.pc.in => sdl2.pc.in
2012-01-22 17:21:00 -05:00
Sam Lantinga
7eefd495d2 Added testscale and testrendertarget projects 2012-01-21 21:50:28 -05:00
Sam Lantinga
5d1613d59e Don't hardcode output paths, Visual Studio does the right thing. 2012-01-09 04:53:58 -05:00
Sam Lantinga
93b05747f5 Removing test projects for Visual Studio 2005 2012-01-09 04:39:55 -05:00
Andreas Schiffler
4d6a742cd1 Updated VS2010 project files 2011-12-04 21:45:34 -08:00
Sam Lantinga
782b8b7d6e 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
e6a027df65 Added quotes to the post-build copy commands 2011-03-15 22:42:26 -07:00
Sam Lantinga
8fe03ca350 Copy icon.bmp for the testcursor build 2011-03-11 14:30:00 -08:00
Sam Lantinga
7dd0385c57 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
2368a3301a Added support for Windows cursors 2011-02-28 23:50:32 -08:00
Sam Lantinga
4c83734b3f Fixed debug format 2011-02-17 18:53:46 -08:00
Sam Lantinga
20b4d9f762 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
3b68836c8d Removing Visual Studio projects for testpalette 2011-02-01 21:51:54 -08:00
Sam Lantinga
de8bd33888 Use the debug C runtime for the debug configuration 2011-01-19 13:50:53 -08:00
Sam Lantinga
546a3a8d30 Added post build step to copy SDL and data files into the test projects 2011-01-19 13:07:25 -08:00