Commit Graph

19 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
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
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
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
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