Commit graph

120 commits

Author SHA1 Message Date
Sam Lantinga
21f3b33f9c Jcw87 to Sam
The project files for VS 2005 are still outdated/messed up. I have a patch that will bring the VS 2005 project files up to date with the VS 2008 project files, add the x64 platform to the VS 2005 project files, fix a few issues with x64 in VS 2008, and a few other misc changes that don't really change the output at all.
2011-01-09 08:35:18 -08:00
Jim Grandpre
bd88a60533 Fixed SDL_VS2005.vcproj 2010-12-15 21:31:12 -05:00
Jim Grandpre
cb98f67b45 Reverted SDL_VS2005.vcproj to revision 4634. 2010-12-15 21:21:13 -05:00
Sam Lantinga
f7fc00e75c Added a Visual Studio project for testgesture 2010-11-30 12:38:46 -08:00
Sam Lantinga
f8d3e248f2 Removed references to testwm 2010-11-30 12:04:01 -08:00
Andreas Schiffler
ea576e6386 Fix and rename VS2010 project files, add tests to VS2010 solution, fix VS compiler warning
--HG--
rename : VisualC/tests/automated/automated.vcxproj => VisualC/tests/automated/automated_VS2010.vcxproj
rename : VisualC/tests/checkkeys/checkkeys.vcxproj => VisualC/tests/checkkeys/checkkeys_VS2010.vcxproj
rename : VisualC/tests/graywin/graywin.vcxproj => VisualC/tests/graywin/graywin_VS2010.vcxproj
rename : VisualC/tests/loopwave/loopwave.vcxproj => VisualC/tests/loopwave/loopwave_VS2010.vcxproj
rename : VisualC/tests/testalpha/testalpha.vcxproj => VisualC/tests/testalpha/testalpha_VS2010.vcxproj
rename : VisualC/tests/testdraw2/testdraw2.vcxproj => VisualC/tests/testdraw2/testdraw2_VS2010.vcxproj
rename : VisualC/tests/testfile/testfile.vcxproj => VisualC/tests/testfile/testfile_VS2010.vcxproj
rename : VisualC/tests/testgamma/testgamma.vcxproj => VisualC/tests/testgamma/testgamma_VS2010.vcxproj
rename : VisualC/tests/testgl/testgl.vcxproj => VisualC/tests/testgl/testgl_VS2010.vcxproj
rename : VisualC/tests/testgl2/testgl2.vcxproj => VisualC/tests/testgl2/testgl2_VS2010.vcxproj
rename : VisualC/tests/testjoystick/testjoystick.vcxproj => VisualC/tests/testjoystick/testjoystick_VS2010.vcxproj
rename : VisualC/tests/testoverlay/testoverlay.vcxproj => VisualC/tests/testoverlay/testoverlay_VS2010.vcxproj
rename : VisualC/tests/testoverlay2/testoverlay2.vcxproj => VisualC/tests/testoverlay2/testoverlay2_VS2010.vcxproj
rename : VisualC/tests/testpalette/testpalette.vcxproj => VisualC/tests/testpalette/testpalette_VS2010.vcxproj
rename : VisualC/tests/testplatform/testplatform.vcxproj => VisualC/tests/testplatform/testplatform_VS2010.vcxproj
rename : VisualC/tests/testpower/testpower.vcxproj => VisualC/tests/testpower/testpower_VS2010.vcxproj
rename : VisualC/tests/testshape/testshape.vcproj => VisualC/tests/testshape/testshape_VS2008.vcproj
rename : VisualC/tests/testshape/testshape.vcxproj => VisualC/tests/testshape/testshape_VS2010.vcxproj
rename : VisualC/tests/testsprite/testsprite.vcxproj => VisualC/tests/testsprite/testsprite_VS2010.vcxproj
rename : VisualC/tests/testsprite2/testsprite2.vcxproj => VisualC/tests/testsprite2/testsprite2_VS2010.vcxproj
rename : VisualC/tests/testvidinfo/testvidinfo.vcxproj => VisualC/tests/testvidinfo/testvidinfo_VS2010.vcxproj
rename : VisualC/tests/testwin/testwin.vcxproj => VisualC/tests/testwin/testwin_VS2010.vcxproj
rename : VisualC/tests/testwm/testwm.vcxproj => VisualC/tests/testwm/testwm_VS2010.vcxproj
2010-11-19 21:51:33 -08:00
Sam Lantinga
f968057d82 Updated build for Visual Studio 2010 2010-09-17 09:08:47 -07:00
Andreas Schiffler
1975b91fae - added directx include path to VS2008 solution
- updated shape vcproj and add it to VS2008 solution
- minor changes (i.e. typecasting) to get rid of compiler warnings in VS
2010-09-15 22:15:47 -07:00
Andreas Schiffler
5b9ec3c812 Add missing imm32.lib from VS2010 project 2010-09-07 20:56:02 -07:00
Sam Lantinga
515a3e58ab Compiling in atan()/atan2() implementation on Visual Studio 2008. 2010-08-29 16:55:58 -07:00
Sam Lantinga
7411f7531b Fixed compiling with Visual Studio 2008 2010-08-29 14:22:22 -07:00
Andreas Schiffler
dc0f95c447 Update VS2010 project to add new files; update new files so code builds on Win32/Win64 2010-08-23 23:44:28 -07:00
Sam Lantinga
7c463932c2 Merged Eli's Google Summer of Code work from SDL-gsoc2010-shaped_windows
--HG--
rename : VisualC/SDL.sln => VisualC/SDL_VS2005.sln
2010-08-22 13:45:56 -07:00
Sam Lantinga
1f8dacabd7 Merged Daniel's Google Summer of Code work from SDL-gsoc2010_IME 2010-08-22 12:39:27 -07:00
egottlieb
4e4cb86ffe Finally got the Win32 API code for shaping to work! Just need to fix SDL_CalculateShapeTree() now! 2010-08-14 16:14:36 -04:00
egottlieb
c95526b7ce Improving Cocoa implementation and fixed a small bug in SDL_shape.c. 2010-08-05 18:58:45 -04:00
egottlieb
2d2a93ff5d Removed superfluous VS2010 build files. 2010-08-03 10:10:06 -04:00
egottlieb
0a0b18c761 Added and re-added VS2010 solution files. 2010-08-02 22:20:13 -04:00
egottlieb
4caaaf9b10 Added VS2010 build files. 2010-08-02 21:43:08 -04:00
egottlieb
56ab3ca590 Worked on Windows implementation and the quad-trees. 2010-08-02 01:54:59 -04:00
egottlieb
c33852e995 Added VS2010 tests solution file. 2010-08-01 23:27:22 -04:00
egottlieb
e44b848675 Added Windows build files for testshape. 2010-08-01 23:26:37 -04:00
egottlieb
7e4a59dccf Converted some project files to VS2010, adding new files. Backups were made. 2010-08-01 23:16:32 -04:00
egottlieb
2c1ceff2c4 Changed the file name to its correct, required one. 2010-08-01 23:07:59 -04:00
Eli Gottlieb
d5e0ecb0f0 Added Andreas's patch to fix my silly C++-style errors. 2010-07-29 22:57:39 -04:00
Eli Gottlieb
f9048e7257 Reapplied Win32 make-it-build patch. What's going on? Still get rendering artifacts when testing on x11, have literally no idea why. 2010-07-20 12:42:43 -04:00
dewyatt
aa3be46cf7 Merge with main repo (mainly for non-printable character fix) 2010-07-18 13:48:23 -04:00
Eli Gottlieb
21d029da3b Added in Visual Studio patch. 2010-07-15 01:41:38 -04:00
Jim Grandpre
987edb15b3 Added alternative finger tracking method. Still prefer IPHONE_TOUCH_EFFICIENT_DANGEROUS. 2010-07-13 18:31:09 -04:00
Sam Lantinga
22a37911dd Merged changes from the main SDL codebase
--HG--
rename : VisualC/SDL/SDL.vcproj => VisualC/SDL/SDL_VS2005.vcproj
rename : VisualC/SDL.sln => VisualC/SDL_VS2005.sln
rename : VisualC/SDLmain/SDLmain.vcproj => VisualC/SDLmain/SDLmain_VS2005.vcproj
2010-07-12 21:09:23 -07:00
Sam Lantinga
ef598b2e7c Amazingly the Windows code is almost identical to the Mac OS X code. :) 2010-07-08 23:07:34 -07:00
Eli Gottlieb
7e0f1f1898 Ported over, to the best of my ability, the code for Win32 shaped windows and patched in the correct C syntax and coding conventions of SDL. 2010-07-08 22:52:49 -04:00
Sam Lantinga
3ff2d236cd Added Windows clipboard support 2010-07-08 05:43:34 -07:00
Sam Lantinga
52b4147239 Removed obsolete header file 2010-07-06 10:58:23 -07:00
dewyatt
07e6c52137 Merge 2010-07-06 02:07:42 -04:00
Sam Lantinga
d376b59257 Removed SDL.lib and SDLmain.lib from the projects since the dependencies are set up properly. 2010-07-05 18:18:25 -07:00
Sam Lantinga
05acefbdd3 Added dependencies on SDL.lib and SDLmain.lib to the test programs 2010-07-05 17:14:37 -07:00
Sam Lantinga
cd68729bb4 Split out the Visual C++ 2005 and 2008 projects explicitly.
Added the test programs to the Visual C++ 2008 project.

--HG--
rename : VisualC/SDL/SDL.vcproj => VisualC/SDL/SDL_VS2005.vcproj
rename : VisualC/SDL.sln => VisualC/SDL_VS2005.sln
rename : VisualC/SDLmain/SDLmain.vcproj => VisualC/SDLmain/SDLmain_VS2005.vcproj
rename : VisualC/tests/automated/automated.vcproj => VisualC/tests/automated/automated_VS2008.vcproj
rename : VisualC/tests/checkkeys/checkkeys.vcproj => VisualC/tests/checkkeys/checkkeys_VS2005.vcproj
rename : VisualC/tests/graywin/graywin.vcproj => VisualC/tests/graywin/graywin_VS2005.vcproj
rename : VisualC/tests/loopwave/loopwave.vcproj => VisualC/tests/loopwave/loopwave_VS2005.vcproj
rename : VisualC/tests/testalpha/testalpha.vcproj => VisualC/tests/testalpha/testalpha_VS2005.vcproj
rename : VisualC/tests/testdraw2/testdraw2.vcproj => VisualC/tests/testdraw2/testdraw2_VS2005.vcproj
rename : VisualC/tests/testfile/testfile.vcproj => VisualC/tests/testfile/testfile_VS2005.vcproj
rename : VisualC/tests/testgamma/testgamma.vcproj => VisualC/tests/testgamma/testgamma_VS2005.vcproj
rename : VisualC/tests/testgl/testgl.vcproj => VisualC/tests/testgl/testgl_VS2005.vcproj
rename : VisualC/tests/testgl2/testgl2.vcproj => VisualC/tests/testgl2/testgl2_VS2005.vcproj
rename : VisualC/tests/testjoystick/testjoystick.vcproj => VisualC/tests/testjoystick/testjoystick_VS2005.vcproj
rename : VisualC/tests/testoverlay/testoverlay.vcproj => VisualC/tests/testoverlay/testoverlay_VS2005.vcproj
rename : VisualC/tests/testoverlay2/testoverlay2.vcproj => VisualC/tests/testoverlay2/testoverlay2_VS2005.vcproj
rename : VisualC/tests/testpalette/testpalette.vcproj => VisualC/tests/testpalette/testpalette_VS2005.vcproj
rename : VisualC/tests/testplatform/testplatform.vcproj => VisualC/tests/testplatform/testplatform_VS2005.vcproj
rename : VisualC/tests/testpower/testpower.vcproj => VisualC/tests/testpower/testpower_VS2005.vcproj
rename : VisualC/tests/testsprite/testsprite.vcproj => VisualC/tests/testsprite/testsprite_VS2005.vcproj
rename : VisualC/tests/testsprite2/testsprite2.vcproj => VisualC/tests/testsprite2/testsprite2_VS2005.vcproj
rename : VisualC/tests/testvidinfo/testvidinfo.vcproj => VisualC/tests/testvidinfo/testvidinfo_VS2005.vcproj
rename : VisualC/tests/testwin/testwin.vcproj => VisualC/tests/testwin/testwin_VS2005.vcproj
rename : VisualC/tests/testwm/testwm.vcproj => VisualC/tests/testwm/testwm_VS2005.vcproj
2010-07-05 17:10:34 -07:00
Sam Lantinga
02dc648ea2 Added missing file to the automated test project 2010-07-05 13:10:31 -07:00
jimtla
cc8ad7be79 More fixes for windows. Disabled tablet code. 2010-06-10 00:15:17 -04:00
jimtla
2ab139c207 Fixed some windows compilation bugs - Still does not compile. 2010-06-03 11:08:17 -04:00
Sam Lantinga
91df94faa9 Fixed building under Visual Studio
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404422
2010-01-15 20:05:49 +00:00
Sam Lantinga
3a87e3f645 Updated to include new files
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404350
2009-12-24 19:18:41 +00:00
Sam Lantinga
9c7cbdcbe5 Added rectangle test
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404348
2009-12-24 19:16:08 +00:00
Sam Lantinga
956b1a313e Added the automated test to the Visual Studio 2008 project
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404231
2009-11-25 04:41:09 +00:00
Sam Lantinga
0347900a7a Whoops, need " inside quotes
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404107
2009-10-17 23:29:52 +00:00
Sam Lantinga
c331a14ce1 Fixed bug #852
Jesse Anders      2009-10-17 14:17:25 PDT

In VC++, the build script that creates SDL_config.h and SDL_revision.h fails
when the project directory path includes spaces. For example, if the project
directory path is:

c:\Documents and Settings\Jesse\My Documents\Visual Studio 2008\Projects\SDL
1.3\VisualC\SDL\

The following error is generated:

'and' is not recognized as an internal or external command

Placing all paths in quotes fixes this.

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404106
2009-10-17 21:46:08 +00:00
Sam Lantinga
88141c3407 Whoops, the ProjectDir is one level lower than the SolutionDir
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404053
2009-10-11 10:30:47 +00:00
Sam Lantinga
ad98374d82 stefanullinger to me
I updated and wanted to compile SDL, but it does not work.
The reason is the new pre-build step.

Currently it says:

"if exist $(SolutionDir)\..\include\SDL_config.h goto SDLCONFIGOKAY
echo Copying SDL_config_win32.h to SDL_config.h...
copy $(SolutionDir)\..\include\SDL_config_win32.h $(SolutionDir)\..\include\SDL_config.h
:SDLCONFIGOKAY

if exist $(SolutionDir)\..\include\SDL_revision.h goto SDLREVISIONOKAY
echo Creating stub SDL_revision.h file...
echo #define SDL_REVISION 0 >$(SolutionDir)\..\include\SDL_revision.h
:SDLREVISIONOKAY"


So ... the problem with this lines is, that they lookup the SolutionDir...
I think it should use the ProjectDir here!
I - for example - want to use SDL within my engine...
So my engine is the solutionDir...not SDL...SDL is just a sub-project.

I think you should change this, shouldn't you?!

Regards,
Stefan

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404052
2009-10-11 10:22:22 +00:00
Sam Lantinga
4b40e7c5a6 Fixed bug #830
Added pre-build step to generate required headers

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403995
2009-10-08 09:37:58 +00:00