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
This commit is contained in:
parent
f044d80f09
commit
ec524788c9
71 changed files with 309 additions and 244 deletions
25
CSFML/build/codeblocks/batch-build/build.bat
Normal file
25
CSFML/build/codeblocks/batch-build/build.bat
Normal file
|
@ -0,0 +1,25 @@
|
|||
@echo off
|
||||
|
||||
cd ..
|
||||
|
||||
echo Compiling csfml-main...
|
||||
codeblocks -na -nd -ns --build csfml-main.cbp --target="Debug_Win32"
|
||||
codeblocks -na -nd -ns --build csfml-main.cbp --target="Release_Win32"
|
||||
|
||||
echo Compiling debug dynamic libraries...
|
||||
codeblocks -na -nd -ns --build csfml-system.cbp --target="Debug DLL_Win32"
|
||||
codeblocks -na -nd -ns --build csfml-window.cbp --target="Debug DLL_Win32"
|
||||
codeblocks -na -nd -ns --build csfml-graphics.cbp --target="Debug DLL_Win32"
|
||||
codeblocks -na -nd -ns --build csfml-audio.cbp --target="Debug DLL_Win32"
|
||||
codeblocks -na -nd -ns --build csfml-network.cbp --target="Debug DLL_Win32"
|
||||
|
||||
echo Compiling release dynamic libraries...
|
||||
codeblocks -na -nd -ns --build csfml-system.cbp --target="Release DLL_Win32"
|
||||
codeblocks -na -nd -ns --build csfml-window.cbp --target="Release DLL_Win32"
|
||||
codeblocks -na -nd -ns --build csfml-graphics.cbp --target="Release DLL_Win32"
|
||||
codeblocks -na -nd -ns --build csfml-network.cbp --target="Release DLL_Win32"
|
||||
codeblocks -na -nd -ns --build csfml-audio.cbp --target="Release DLL_Win32"
|
||||
|
||||
cd batch-build
|
||||
|
||||
echo Done
|
|
@ -8,7 +8,7 @@
|
|||
<Build>
|
||||
<Target title="Debug DLL_Win32">
|
||||
<Option output="..\..\lib\mingw\csfml-audio-d" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="..\..\Temp\csfml-audio\Debug DLL_Win32" />
|
||||
<Option object_output="..\..\Temp\codeblocks\csfml-audio\Debug DLL_Win32" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
|
@ -27,7 +27,7 @@
|
|||
</Target>
|
||||
<Target title="Release DLL_Win32">
|
||||
<Option output="..\..\lib\mingw\csfml-audio" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="..\..\Temp\csfml-audio\Release DLL_Win32" />
|
||||
<Option object_output="..\..\Temp\codeblocks\csfml-audio\Release DLL_Win32" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<Build>
|
||||
<Target title="Debug DLL_Win32">
|
||||
<Option output="..\..\lib\mingw\csfml-graphics-d" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="..\..\Temp\csfml-graphics\Debug DLL_Win32" />
|
||||
<Option object_output="..\..\Temp\codeblocks\csfml-graphics\Debug DLL_Win32" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
|
@ -28,7 +28,7 @@
|
|||
</Target>
|
||||
<Target title="Release DLL_Win32">
|
||||
<Option output="..\..\lib\mingw\csfml-graphics" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="..\..\Temp\csfml-graphics\Release DLL_Win32" />
|
||||
<Option object_output="..\..\Temp\codeblocks\csfml-graphics\Release DLL_Win32" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<Target title="Debug_Win32">
|
||||
<Option output="..\..\lib\mingw\libcsfml-main-d.a" prefix_auto="1" extension_auto="1" />
|
||||
<Option working_dir="" />
|
||||
<Option object_output="..\..\Temp\csfml-main\Debug_Win32" />
|
||||
<Option object_output="..\..\Temp\codeblocks\csfml-main\Debug_Win32" />
|
||||
<Option type="2" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createDefFile="1" />
|
||||
|
@ -25,7 +25,7 @@
|
|||
<Target title="Release_Win32">
|
||||
<Option output="..\..\lib\mingw\libcsfml-main.a" prefix_auto="1" extension_auto="1" />
|
||||
<Option working_dir="" />
|
||||
<Option object_output="..\..\Temp\csfml-main\Release_Win32" />
|
||||
<Option object_output="..\..\Temp\codeblocks\csfml-main\Release_Win32" />
|
||||
<Option type="2" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createDefFile="1" />
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<Build>
|
||||
<Target title="Debug DLL_Win32">
|
||||
<Option output="..\..\lib\mingw\csfml-network-d" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="..\..\Temp\csfml-network\Debug DLL_Win32" />
|
||||
<Option object_output="..\..\Temp\codeblocks\csfml-network\Debug DLL_Win32" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
|
@ -27,7 +27,7 @@
|
|||
</Target>
|
||||
<Target title="Release DLL_Win32">
|
||||
<Option output="..\..\lib\mingw\csfml-network" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="..\..\Temp\csfml-network\Release DLL_Win32" />
|
||||
<Option object_output="..\..\Temp\codeblocks\csfml-network\Release DLL_Win32" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<Build>
|
||||
<Target title="Debug DLL_Win32">
|
||||
<Option output="..\..\lib\mingw\csfml-system-d" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="..\..\Temp\csfml-system\Debug DLL_Win32" />
|
||||
<Option object_output="..\..\Temp\codeblocks\csfml-system\Debug DLL_Win32" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
|
@ -26,7 +26,7 @@
|
|||
</Target>
|
||||
<Target title="Release DLL_Win32">
|
||||
<Option output="..\..\lib\mingw\csfml-system" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="..\..\Temp\csfml-system\Release DLL_Win32" />
|
||||
<Option object_output="..\..\Temp\codeblocks\csfml-system\Release DLL_Win32" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<Build>
|
||||
<Target title="Debug DLL_Win32">
|
||||
<Option output="..\..\lib\mingw\csfml-window-d" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="..\..\Temp\csfml-window\Debug DLL_Win32" />
|
||||
<Option object_output="..\..\Temp\codeblocks\csfml-window\Debug DLL_Win32" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
|
@ -28,7 +28,7 @@
|
|||
</Target>
|
||||
<Target title="Release DLL_Win32">
|
||||
<Option output="..\..\lib\mingw\csfml-window" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="..\..\Temp\csfml-window\Release DLL_Win32" />
|
||||
<Option object_output="..\..\Temp\codeblocks\csfml-window\Release DLL_Win32" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createStaticLib="1" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue