mirror of
https://github.com/SFML/SFML.git
synced 2024-11-25 21:01:05 +08:00
914db8bce0
Fixed linker settings for Code::Blocks projects so that libgcc_s_dw2-1.dll is not required when compiling with gcc 4 git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1432 4e206d99-4929-0410-ac5d-dfc041789085
146 lines
5.4 KiB
XML
146 lines
5.4 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
|
<CodeBlocks_project_file>
|
|
<FileVersion major="1" minor="6" />
|
|
<Project>
|
|
<Option title="sfml-window" />
|
|
<Option pch_mode="2" />
|
|
<Option compiler="gcc" />
|
|
<Build>
|
|
<Target title="Debug DLL_Win32">
|
|
<Option output="..\..\lib\mingw\sfml-window-d" prefix_auto="1" extension_auto="1" />
|
|
<Option object_output="..\..\Temp\codeblocks\sfml-window\Debug DLL_Win32" />
|
|
<Option external_deps="..\..\lib\mingw\libsfml-system-d.a;" />
|
|
<Option type="3" />
|
|
<Option compiler="gcc" />
|
|
<Option createStaticLib="1" />
|
|
<Compiler>
|
|
<Add option="-Wall" />
|
|
<Add option="-g" />
|
|
<Add option="-O0" />
|
|
<Add option="-DWIN32" />
|
|
<Add option="-D_DEBUG" />
|
|
<Add option="-D_LIB" />
|
|
<Add option="-DSFML_EXPORTS" />
|
|
<Add option="-DSFML_DYNAMIC" />
|
|
<Add option="-DGLEW_BUILD" />
|
|
</Compiler>
|
|
<ResourceCompiler>
|
|
<Add directory="..\..\src" />
|
|
</ResourceCompiler>
|
|
<Linker>
|
|
<Add library="..\..\lib\mingw\libsfml-system-d.a" />
|
|
<Add library="libopengl32.a" />
|
|
<Add library="libwinmm.a" />
|
|
</Linker>
|
|
</Target>
|
|
<Target title="Release DLL_Win32">
|
|
<Option output="..\..\lib\mingw\sfml-window" prefix_auto="1" extension_auto="1" />
|
|
<Option object_output="..\..\Temp\codeblocks\sfml-window\Release DLL_Win32" />
|
|
<Option external_deps="..\..\lib\mingw\libsfml-system.a;" />
|
|
<Option type="3" />
|
|
<Option compiler="gcc" />
|
|
<Option createStaticLib="1" />
|
|
<Compiler>
|
|
<Add option="-O3" />
|
|
<Add option="-Wall" />
|
|
<Add option="-DWIN32" />
|
|
<Add option="-DNDEBUG" />
|
|
<Add option="-D_LIB" />
|
|
<Add option="-DSFML_EXPORTS" />
|
|
<Add option="-DSFML_DYNAMIC" />
|
|
<Add option="-DGLEW_BUILD" />
|
|
</Compiler>
|
|
<ResourceCompiler>
|
|
<Add directory="..\..\src" />
|
|
</ResourceCompiler>
|
|
<Linker>
|
|
<Add library="..\..\lib\mingw\libsfml-system.a" />
|
|
<Add library="libopengl32.a" />
|
|
<Add library="libwinmm.a" />
|
|
</Linker>
|
|
</Target>
|
|
<Target title="Debug static_Win32">
|
|
<Option output="..\..\lib\mingw\libsfml-window-s-d" prefix_auto="1" extension_auto="1" />
|
|
<Option working_dir="" />
|
|
<Option object_output="..\..\Temp\codeblocks\sfml-window\Debug static_Win32" />
|
|
<Option external_deps="..\..\lib\mingw\libsfml-system-s-d.a;" />
|
|
<Option type="2" />
|
|
<Option compiler="gcc" />
|
|
<Option createDefFile="1" />
|
|
<Compiler>
|
|
<Add option="-Wall" />
|
|
<Add option="-g" />
|
|
<Add option="-O0" />
|
|
<Add option="-DWIN32" />
|
|
<Add option="-D_DEBUG" />
|
|
<Add option="-D_LIB" />
|
|
<Add option="-DSFML_EXPORTS" />
|
|
</Compiler>
|
|
<ResourceCompiler>
|
|
<Add directory="..\..\src" />
|
|
</ResourceCompiler>
|
|
</Target>
|
|
<Target title="Release static_Win32">
|
|
<Option output="..\..\lib\mingw\libsfml-window-s" prefix_auto="1" extension_auto="1" />
|
|
<Option working_dir="" />
|
|
<Option object_output="..\..\Temp\codeblocks\sfml-window\Release static_Win32" />
|
|
<Option external_deps="..\..\lib\mingw\libsfml-system-s.a;" />
|
|
<Option type="2" />
|
|
<Option compiler="gcc" />
|
|
<Option createDefFile="1" />
|
|
<Compiler>
|
|
<Add option="-O3" />
|
|
<Add option="-Wall" />
|
|
<Add option="-DWIN32" />
|
|
<Add option="-DNDEBUG" />
|
|
<Add option="-D_LIB" />
|
|
<Add option="-DSFML_EXPORTS" />
|
|
</Compiler>
|
|
<ResourceCompiler>
|
|
<Add directory="..\..\src" />
|
|
</ResourceCompiler>
|
|
</Target>
|
|
</Build>
|
|
<Compiler>
|
|
<Add directory="..\..\src" />
|
|
<Add directory="..\..\include" />
|
|
</Compiler>
|
|
<Linker>
|
|
<Add option="-static-libgcc" />
|
|
<Add library="libgdi32.a" />
|
|
</Linker>
|
|
<Unit filename="..\..\include\SFML\Window\Context.hpp" />
|
|
<Unit filename="..\..\include\SFML\Window\ContextSettings.hpp" />
|
|
<Unit filename="..\..\include\SFML\Window\Event.hpp" />
|
|
<Unit filename="..\..\include\SFML\Window\Input.hpp" />
|
|
<Unit filename="..\..\include\SFML\Window\VideoMode.hpp" />
|
|
<Unit filename="..\..\include\SFML\Window\Window.hpp" />
|
|
<Unit filename="..\..\include\SFML\Window\WindowHandle.hpp" />
|
|
<Unit filename="..\..\include\SFML\Window\WindowStyle.hpp" />
|
|
<Unit filename="..\..\include\SFML\Window\glew\glew.h" />
|
|
<Unit filename="..\..\src\SFML\Window\Context.cpp" />
|
|
<Unit filename="..\..\src\SFML\Window\ContextGL.cpp" />
|
|
<Unit filename="..\..\src\SFML\Window\ContextGL.hpp" />
|
|
<Unit filename="..\..\src\SFML\Window\Input.cpp" />
|
|
<Unit filename="..\..\src\SFML\Window\Joystick.hpp" />
|
|
<Unit filename="..\..\src\SFML\Window\VideoMode.cpp" />
|
|
<Unit filename="..\..\src\SFML\Window\VideoModeSupport.hpp" />
|
|
<Unit filename="..\..\src\SFML\Window\Win32\ContextWGL.cpp" />
|
|
<Unit filename="..\..\src\SFML\Window\Win32\ContextWGL.hpp" />
|
|
<Unit filename="..\..\src\SFML\Window\Win32\Joystick.cpp" />
|
|
<Unit filename="..\..\src\SFML\Window\Win32\Joystick.hpp" />
|
|
<Unit filename="..\..\src\SFML\Window\Win32\VideoModeSupport.cpp" />
|
|
<Unit filename="..\..\src\SFML\Window\Win32\VideoModeSupport.hpp" />
|
|
<Unit filename="..\..\src\SFML\Window\Win32\WindowImplWin32.cpp" />
|
|
<Unit filename="..\..\src\SFML\Window\Win32\WindowImplWin32.hpp" />
|
|
<Unit filename="..\..\src\SFML\Window\Window.cpp" />
|
|
<Unit filename="..\..\src\SFML\Window\WindowImpl.cpp" />
|
|
<Unit filename="..\..\src\SFML\Window\WindowImpl.hpp" />
|
|
<Extensions>
|
|
<code_completion />
|
|
<envvars />
|
|
<debugger />
|
|
</Extensions>
|
|
</Project>
|
|
</CodeBlocks_project_file>
|