Commit graph

23 commits

Author SHA1 Message Date
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
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
Sam Lantinga
a6c38ff9a2 Fixed bug #830
Added pre-build step to generate required headers

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403994
2009-10-08 09:32:07 +00:00
Sam Lantinga
59d9335a2a Upgraded solution to Visual Studio 2008 and added 64-bit target
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403784
2009-09-06 04:40:29 +00:00
Sam Lantinga
d4dca0dbc5 Removed CD-ROM code from Visual C projects
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403782
2009-09-05 21:31:50 +00:00
Ryan C. Gordon
3688382625 Added power API and test program to Visual C++ project files.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403659
2009-06-17 04:26:19 +00:00
Sam Lantinga
609e3b3c91 Added missing files
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403540
2009-02-19 04:03:05 +00:00
Sam Lantinga
8312eae257 Visual C++ 5 and 6 are no longer supported. You can use Visual C++ Express Edition to build SDL.
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403385
2008-12-30 03:51:20 +00:00
Sam Lantinga
c53a7c6ca2 Updated to build on Windows
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403380
2008-12-25 05:11:29 +00:00
Sam Lantinga
0c30a927ed Updated copyright date
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403321
2008-12-08 00:27:32 +00:00
Sam Lantinga
809f6ba3b4 Updated Visual C++ build
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403216
2008-09-15 07:34:36 +00:00
Sam Lantinga
1f3deaa8b5 Updated Visual C++ project
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402724
2008-02-10 05:14:28 +00:00
Sam Lantinga
4e6d65504c Enabled SSE2 intrinsics
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402626
2007-08-17 06:41:20 +00:00
Sam Lantinga
3f37bb5466 Enabled 3DNow! intrinsic support
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402623
2007-08-17 03:22:03 +00:00
Sam Lantinga
743406caf2 SSE and MMX intrinsics work with Visual Studio now...
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402613
2007-08-16 06:37:22 +00:00
Sam Lantinga
ae461fc306 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...

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402612
2007-08-16 06:20:51 +00:00
Sam Lantinga
3c6eee13ae Switched afxres.h to winresrc.h
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402571
2007-07-23 18:46:09 +00:00
Sam Lantinga
316a61731f Unpacked project archives to get individual file history in subversion
--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402564
2007-07-21 17:09:01 +00:00