From ec524788c9a8020629178d272897411a9d557384 Mon Sep 17 00:00:00 2001 From: LaurentGom Date: Thu, 28 Jan 2010 09:51:39 +0000 Subject: [PATCH] Fixed object files path in Visual C++ projects Added CSFML batch-build for all Windows compilers git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1377 4e206d99-4929-0410-ac5d-dfc041789085 --- CSFML/build/VC2005/CSFML.sln | 2 +- CSFML/build/VC2005/batch-build/build.bat | 11 +++++++++ CSFML/build/VC2005/csfml-audio.vcproj | 8 +++---- CSFML/build/VC2005/csfml-graphics.vcproj | 8 +++---- CSFML/build/VC2005/csfml-main.vcproj | 8 +++---- CSFML/build/VC2005/csfml-network.vcproj | 8 +++---- CSFML/build/VC2005/csfml-system.vcproj | 8 +++---- CSFML/build/VC2005/csfml-window.vcproj | 8 +++---- CSFML/build/VC2008/batch-build/build.bat | 11 +++++++++ CSFML/build/VC2008/csfml-audio.vcproj | 8 +++---- CSFML/build/VC2008/csfml-graphics.vcproj | 8 +++---- CSFML/build/VC2008/csfml-network.vcproj | 8 +++---- CSFML/build/VC2008/csfml-system.vcproj | 8 +++---- CSFML/build/VC2008/csfml-window.vcproj | 8 +++---- CSFML/build/build-all-windows.bat | 18 ++++++++++++++ CSFML/build/codeblocks/batch-build/build.bat | 25 ++++++++++++++++++++ CSFML/build/codeblocks/csfml-audio.cbp | 4 ++-- CSFML/build/codeblocks/csfml-graphics.cbp | 4 ++-- CSFML/build/codeblocks/csfml-main.cbp | 4 ++-- CSFML/build/codeblocks/csfml-network.cbp | 4 ++-- CSFML/build/codeblocks/csfml-system.cbp | 4 ++-- CSFML/build/codeblocks/csfml-window.cbp | 4 ++-- CSFML/src/SFML/Graphics/Text.cpp | 2 +- build/codeblocks/sfml-audio.cbp | 8 +++---- build/codeblocks/sfml-graphics.cbp | 8 +++---- build/codeblocks/sfml-main.cbp | 4 ++-- build/codeblocks/sfml-network.cbp | 8 +++---- build/codeblocks/sfml-system.cbp | 8 +++---- build/codeblocks/sfml-window.cbp | 8 +++---- build/vc2005/sfml-audio.vcproj | 16 ++++++------- build/vc2005/sfml-graphics.vcproj | 16 ++++++------- build/vc2005/sfml-main.vcproj | 8 +++---- build/vc2005/sfml-network.vcproj | 16 ++++++------- build/vc2005/sfml-system.vcproj | 16 ++++++------- build/vc2005/sfml-window.vcproj | 16 ++++++------- samples/build/codeblocks/ftp.cbp | 4 ++-- samples/build/codeblocks/opengl.cbp | 4 ++-- samples/build/codeblocks/pong.cbp | 4 ++-- samples/build/codeblocks/qt.cbp | 4 ++-- samples/build/codeblocks/shader.cbp | 4 ++-- samples/build/codeblocks/sockets.cbp | 4 ++-- samples/build/codeblocks/sound-capture.cbp | 4 ++-- samples/build/codeblocks/sound.cbp | 4 ++-- samples/build/codeblocks/voip.cbp | 4 ++-- samples/build/codeblocks/win32.cbp | 4 ++-- samples/build/codeblocks/window.cbp | 4 ++-- samples/build/codeblocks/wxwidgets.cbp | 4 ++-- samples/build/vc2005/ftp.vcproj | 8 +++---- samples/build/vc2005/opengl.vcproj | 8 +++---- samples/build/vc2005/pong.vcproj | 8 +++---- samples/build/vc2005/qt.vcproj | 8 +++---- samples/build/vc2005/shader.vcproj | 8 +++---- samples/build/vc2005/sockets.vcproj | 8 +++---- samples/build/vc2005/sound-capture.vcproj | 8 +++---- samples/build/vc2005/sound.vcproj | 8 +++---- samples/build/vc2005/voip.vcproj | 8 +++---- samples/build/vc2005/win32.vcproj | 8 +++---- samples/build/vc2005/window.vcproj | 8 +++---- samples/build/vc2005/wxwidgets.vcproj | 8 +++---- samples/build/vc2008/ftp.vcproj | 8 +++---- samples/build/vc2008/opengl.vcproj | 8 +++---- samples/build/vc2008/pong.vcproj | 8 +++---- samples/build/vc2008/qt.vcproj | 8 +++---- samples/build/vc2008/shader.vcproj | 8 +++---- samples/build/vc2008/sockets.vcproj | 8 +++---- samples/build/vc2008/sound-capture.vcproj | 8 +++---- samples/build/vc2008/sound.vcproj | 8 +++---- samples/build/vc2008/voip.vcproj | 8 +++---- samples/build/vc2008/win32.vcproj | 8 +++---- samples/build/vc2008/window.vcproj | 8 +++---- samples/build/vc2008/wxwidgets.vcproj | 8 +++---- 71 files changed, 309 insertions(+), 244 deletions(-) create mode 100644 CSFML/build/VC2005/batch-build/build.bat create mode 100644 CSFML/build/VC2008/batch-build/build.bat create mode 100644 CSFML/build/build-all-windows.bat create mode 100644 CSFML/build/codeblocks/batch-build/build.bat diff --git a/CSFML/build/VC2005/CSFML.sln b/CSFML/build/VC2005/CSFML.sln index 33e8fb9f..704224d2 100644 --- a/CSFML/build/VC2005/CSFML.sln +++ b/CSFML/build/VC2005/CSFML.sln @@ -11,7 +11,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "csfml-system", "csfml-syste EndProject Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "csfml-window", "csfml-window.vcproj", "{0F9CE5F0-4D89-4314-9147-8AAB1B8842ED}" EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "sfml-main", "csfml-main.vcproj", "{2BD26A09-E1B6-42E2-A0D0-63987B76BB97}" +Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "csfml-main", "csfml-main.vcproj", "{2BD26A09-E1B6-42E2-A0D0-63987B76BB97}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/CSFML/build/VC2005/batch-build/build.bat b/CSFML/build/VC2005/batch-build/build.bat new file mode 100644 index 00000000..efdd98ef --- /dev/null +++ b/CSFML/build/VC2005/batch-build/build.bat @@ -0,0 +1,11 @@ +@echo off + +set MSBUILD=%WINDIR%\Microsoft.NET\Framework\v2.0.50727\msbuild + +echo Compiling debug dynamic libraries... +%MSBUILD% ..\CSFML.sln /verbosity:q /target:csfml-main,csfml-system,csfml-network,csfml-window,csfml-graphics,csfml-audio /property:Configuration="Debug DLL" + +echo Compiling release dynamic libraries... +%MSBUILD% ..\CSFML.sln /verbosity:q /target:csfml-main,csfml-system,csfml-network,csfml-window,csfml-graphics,csfml-audio /property:Configuration="Release DLL" + +echo Done diff --git a/CSFML/build/VC2005/csfml-audio.vcproj b/CSFML/build/VC2005/csfml-audio.vcproj index 0a4fa4ae..ae00b183 100644 --- a/CSFML/build/VC2005/csfml-audio.vcproj +++ b/CSFML/build/VC2005/csfml-audio.vcproj @@ -17,8 +17,8 @@ @@ -103,8 +103,8 @@ @@ -109,8 +109,8 @@ @@ -102,8 +102,8 @@ @@ -102,8 +102,8 @@ @@ -103,8 +103,8 @@ @@ -103,8 +103,8 @@ @@ -109,8 +109,8 @@ @@ -102,8 +102,8 @@ @@ -102,8 +102,8 @@ @@ -103,8 +103,8 @@