Added support for the CMake build system
git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1550 4e206d99-4929-0410-ac5d-dfc041789085
This commit is contained in:
parent
aa612ec63a
commit
a991fe8e4d
144 changed files with 2086 additions and 7033 deletions
110
examples/build/codeblocks/sound.cbp
Normal file
110
examples/build/codeblocks/sound.cbp
Normal file
|
@ -0,0 +1,110 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||
<CodeBlocks_project_file>
|
||||
<FileVersion major="1" minor="6" />
|
||||
<Project>
|
||||
<Option title="sound" />
|
||||
<Option pch_mode="2" />
|
||||
<Option compiler="gcc" />
|
||||
<Build>
|
||||
<Target title="Debug static_Win32">
|
||||
<Option output="..\..\sound\sound-d" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="..\..\..\Temp\codeblocks\sound\Debug static_Win32" />
|
||||
<Option type="1" />
|
||||
<Option compiler="gcc" />
|
||||
<Compiler>
|
||||
<Add option="-Wall" />
|
||||
<Add option="-g" />
|
||||
<Add option="-O0" />
|
||||
<Add option="-DWIN32" />
|
||||
<Add option="-D_DEBUG" />
|
||||
<Add option="-D_WINDOWS" />
|
||||
</Compiler>
|
||||
<ResourceCompiler>
|
||||
<Add directory="..\..\..\include" />
|
||||
<Add directory="..\..\..\extlibs" />
|
||||
</ResourceCompiler>
|
||||
<Linker>
|
||||
<Add option="-static-libgcc" />
|
||||
<Add library="..\..\..\lib\mingw\libsfml-audio-s-d.a" />
|
||||
<Add library="..\..\..\lib\mingw\libsfml-system-s-d.a" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Release static_Win32">
|
||||
<Option output="..\..\sound\sound" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="..\..\..\Temp\codeblocks\sound\Release static_Win32" />
|
||||
<Option type="1" />
|
||||
<Option compiler="gcc" />
|
||||
<Compiler>
|
||||
<Add option="-O3" />
|
||||
<Add option="-Wall" />
|
||||
<Add option="-DWIN32" />
|
||||
<Add option="-DNDEBUG" />
|
||||
<Add option="-D_WINDOWS" />
|
||||
</Compiler>
|
||||
<ResourceCompiler>
|
||||
<Add directory="..\..\..\include" />
|
||||
<Add directory="..\..\..\extlibs" />
|
||||
</ResourceCompiler>
|
||||
<Linker>
|
||||
<Add library="..\..\..\lib\mingw\libsfml-audio-s.a" />
|
||||
<Add library="..\..\..\lib\mingw\libsfml-system-s.a" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Debug DLL_Win32">
|
||||
<Option output="..\..\sound\sound-d" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="..\..\..\Temp\codeblocks\sound\Debug DLL_Win32" />
|
||||
<Option type="1" />
|
||||
<Option compiler="gcc" />
|
||||
<Compiler>
|
||||
<Add option="-Wall" />
|
||||
<Add option="-g" />
|
||||
<Add option="-O0" />
|
||||
<Add option="-DWIN32" />
|
||||
<Add option="-D_DEBUG" />
|
||||
<Add option="-D_WINDOWS" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
</Compiler>
|
||||
<ResourceCompiler>
|
||||
<Add directory="..\..\..\include" />
|
||||
<Add directory="..\..\..\extlibs" />
|
||||
</ResourceCompiler>
|
||||
<Linker>
|
||||
<Add option="-static-libgcc" />
|
||||
<Add library="..\..\..\lib\mingw\libsfml-audio-d.a" />
|
||||
<Add library="..\..\..\lib\mingw\libsfml-system-d.a" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Release DLL_Win32">
|
||||
<Option output="..\..\sound\sound" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="..\..\..\Temp\codeblocks\sound\Release DLL_Win32" />
|
||||
<Option type="1" />
|
||||
<Option compiler="gcc" />
|
||||
<Compiler>
|
||||
<Add option="-O3" />
|
||||
<Add option="-Wall" />
|
||||
<Add option="-DWIN32" />
|
||||
<Add option="-DNDEBUG" />
|
||||
<Add option="-D_WINDOWS" />
|
||||
<Add option="-DSFML_DYNAMIC" />
|
||||
</Compiler>
|
||||
<ResourceCompiler>
|
||||
<Add directory="..\..\..\include" />
|
||||
<Add directory="..\..\..\extlibs" />
|
||||
</ResourceCompiler>
|
||||
<Linker>
|
||||
<Add library="..\..\..\lib\mingw\libsfml-audio.a" />
|
||||
<Add library="..\..\..\lib\mingw\libsfml-system.a" />
|
||||
</Linker>
|
||||
</Target>
|
||||
</Build>
|
||||
<Compiler>
|
||||
<Add directory="..\..\..\include" />
|
||||
</Compiler>
|
||||
<Unit filename="..\..\sound\Sound.cpp" />
|
||||
<Extensions>
|
||||
<code_completion />
|
||||
<envvars />
|
||||
<debugger />
|
||||
</Extensions>
|
||||
</Project>
|
||||
</CodeBlocks_project_file>
|
Loading…
Add table
Add a link
Reference in a new issue