Commit Graph

29 Commits

Author SHA1 Message Date
Sam Lantinga
cb028e3357 Fixed building under Visual Studio 2010-01-15 20:05:49 +00:00
Sam Lantinga
4c1edf5a4e Updated to include new files 2009-12-24 19:18:41 +00:00
Sam Lantinga
5837d39cf6 Added rectangle test 2009-12-24 19:16:08 +00:00
Sam Lantinga
f0f7a43ea2 Added the automated test to the Visual Studio 2008 project 2009-11-25 04:41:09 +00: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
1578afe5da Removed CD-ROM code from Visual C projects 2009-09-05 21:31:50 +00:00
Ryan C. Gordon
015036e09c Added power API and test program to Visual C++ project files. 2009-06-17 04:26:19 +00:00
Sam Lantinga
9695d7f91c Added missing files 2009-02-19 04:03:05 +00:00
Sam Lantinga
2b662375d6 Added testdraw2 to Visual C++ tests 2008-12-31 07:35:55 +00:00
Sam Lantinga
b549312e0d Added project for testdraw2 2008-12-30 03:54:34 +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
0465595d39 Updated to build on Windows 2008-12-25 05:11:29 +00:00
Sam Lantinga
befb0f7f42 Updated copyright date 2008-12-08 00:27:32 +00:00
Sam Lantinga
1394a9a4dc Added testsprite test projects for Visual Studio 2008-11-24 23:55:18 +00:00
Sam Lantinga
6a2047e7ea Added software fallback for YUV overlay code when YUV textures aren't available. 2008-11-24 23:25:36 +00:00
Sam Lantinga
e6e45a547d Updated Visual C++ build 2008-09-15 07:34:36 +00:00
Sam Lantinga
d4c23af239 Updated Visual C++ project 2008-02-10 05:14:28 +00:00
Sam Lantinga
99d8df4fc1 Enabled SSE2 intrinsics 2007-08-17 06:41:20 +00:00
Sam Lantinga
d5d655cc43 Enabled 3DNow! intrinsic support 2007-08-17 03:22:03 +00:00
Sam Lantinga
fd5ae1f46d SSE and MMX intrinsics work with Visual Studio now... 2007-08-16 06:37:22 +00:00
Sam Lantinga
b886cc3b5c Fixed a few compiler warnings.
Added SDL_blit_copy.c to the Visual C++ project

The SSE and MMX intrinsics don't compile on Visual Studio yet...
2007-08-16 06:20:51 +00:00
Sam Lantinga
686b4969d1 Switched afxres.h to winresrc.h 2007-07-23 18:46:09 +00:00
Sam Lantinga
7839797798 Unpacked project archives to get individual file history in subversion 2007-07-21 17:09:01 +00:00