Commit Graph

32 Commits

Author SHA1 Message Date
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
094db18796 Don't hardcode output paths, Visual Studio does the right thing. 2012-01-09 04:53:58 -05:00
Sam Lantinga
cc8501bdc4 I can't test Visual Studio 2005 configurations anymore, and I don't think anyone is using it for production games. 2012-01-09 04:38:34 -05: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
c2092ce469 Fixed debug format 2011-02-17 18:53:46 -08:00
Sam Lantinga
579f2fc55e Removed the obsolete NoSTDIO configurations 2011-02-17 12:16:01 -08:00
Sam Lantinga
307a90d292 Made it possible to build SDL from a fresh checkout without any additional steps.
The trick is that if you're using configure and you don't want to have SDL_config.h and SDL_revision.h to show up as modified, you need to configure and build from a separate directory.

You also need to include SDL_revision.h directly if you want to use the SDL_REVISION constant, as a side effect of these changes.
2011-02-16 02:37:09 -08:00
Sam Lantinga
cff0c4846b Fixed quotes around Mercurial revision text 2011-01-27 20:37:54 -08:00
Sam Lantinga
8903c6651b 0 isn't a valid Mercurial revision 2011-01-27 20:14:10 -08:00
krogoway
ece000dbf1 Always copy the SDL_config_windows.h to SDL_config.h for VisualC 2005, 2008 and 2010 projects. 2011-01-27 20:30:39 -06:00
Sam Lantinga
08ad787807 Fixed bug #925
Changed "win32" to "windows"
2011-01-20 18:04:05 -08:00
Sam Lantinga
317257b056 Use the debug C runtime for the debug configuration 2011-01-19 13:50:53 -08:00
Sam Lantinga
6e25b65a44 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
Sam Lantinga
b7c5d88e6a Merged Eli's Google Summer of Code work from SDL-gsoc2010-shaped_windows 2010-08-22 13:45:56 -07:00
egottlieb
1123728a5d Removed superfluous VS2010 build files. 2010-08-03 10:10:06 -04:00
egottlieb
d8d77da906 Added VS2010 build files. 2010-08-02 21:43:08 -04:00
Eli Gottlieb
e58ba0a462 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
Jim Grandpre
4b707013d1 Added alternative finger tracking method. Still prefer IPHONE_TOUCH_EFFICIENT_DANGEROUS. 2010-07-13 18:31:09 -04:00
Sam Lantinga
6f2000e6d2 Merged changes from the main SDL codebase 2010-07-12 21:09:23 -07:00
Sam Lantinga
ca5e2aca83 Added Windows clipboard support 2010-07-08 05:43:34 -07:00
Sam Lantinga
2be0429676 Removed obsolete header file 2010-07-06 10:58:23 -07:00
Sam Lantinga
6931049bd6 Split out the Visual C++ 2005 and 2008 projects explicitly.
Added the test programs to the Visual C++ 2008 project.
2010-07-05 17:10:34 -07:00
jimtla
abf13d5afd Fixed some windows compilation bugs - Still does not compile. 2010-06-03 11:08:17 -04:00
Sam Lantinga
fc787a45f4 Whoops, need " inside quotes 2009-10-17 23:29:52 +00:00
Sam Lantinga
aaa2d5a649 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.
2009-10-17 21:46:08 +00:00
Sam Lantinga
acbb4b1668 Whoops, the ProjectDir is one level lower than the SolutionDir 2009-10-11 10:30:47 +00:00
Sam Lantinga
1ac23708d4 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
2009-10-11 10:22:22 +00:00
Sam Lantinga
f0329e3a42 Fixed bug #830
Added pre-build step to generate required headers
2009-10-08 09:37:58 +00:00
Sam Lantinga
94640ca082 Fixed bug #830
Added pre-build step to generate required headers
2009-10-08 09:32:07 +00:00
Sam Lantinga
2cf789384c Upgraded solution to Visual Studio 2008 and added 64-bit target 2009-09-06 04:40:29 +00:00
Sam Lantinga
792319a9e6 Visual C++ 5 and 6 are no longer supported. You can use Visual C++ Express Edition to build SDL. 2008-12-30 03:51:20 +00:00
Sam Lantinga
7839797798 Unpacked project archives to get individual file history in subversion 2007-07-21 17:09:01 +00:00