- Force use of dwarf-2 debugging information
- Fix an age-old problem of not being able to find -lpcsound, the debug target was looking for it rather than -lpcsound-dbg Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1233
This commit is contained in:
parent
8980e849e5
commit
303f94ed49
5 changed files with 20 additions and 6 deletions
|
|
@ -13,10 +13,14 @@
|
|||
<Option type="0" />
|
||||
<Option compiler="gcc" />
|
||||
<Option parameters="-iwad d:\russell\games\doom2\iwad\doom2.wad" />
|
||||
<Option projectLinkerOptionsRelation="2" />
|
||||
<Compiler>
|
||||
<Add option="-W" />
|
||||
<Add option="-g" />
|
||||
<Add option="-gdwarf-2" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-lpcsound-dbg -ltextscreen-dbg" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Release">
|
||||
<Option output="..\bin\$(PROJECT_NAME).exe" prefix_auto="0" extension_auto="0" />
|
||||
|
|
@ -24,11 +28,13 @@
|
|||
<Option object_output="..\obj\rel" />
|
||||
<Option type="0" />
|
||||
<Option compiler="gcc" />
|
||||
<Option projectLinkerOptionsRelation="2" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
<Add option="-lpcsound -ltextscreen" />
|
||||
</Linker>
|
||||
</Target>
|
||||
</Build>
|
||||
|
|
@ -42,7 +48,7 @@
|
|||
<Add directory="..\pcsound" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-lpcsound -ltextscreen -lmingw32 -lSDLmain -lSDL -lSDL_mixer -lSDL_net -mwindows" />
|
||||
<Add option="-lmingw32 -lSDLmain -lSDL -lSDL_mixer -lSDL_net -mwindows" />
|
||||
<Add directory="..\lib" />
|
||||
</Linker>
|
||||
<Unit filename="config.h" />
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
<Option type="2" />
|
||||
<Option compiler="gcc" />
|
||||
<Compiler>
|
||||
<Add option="-g" />
|
||||
<Add option="-gdwarf-2" />
|
||||
</Compiler>
|
||||
</Target>
|
||||
<Target title="Release">
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
<Option compiler="gcc" />
|
||||
<Compiler>
|
||||
<Add option="-W" />
|
||||
<Add option="-g" />
|
||||
<Add option="-gdwarf-2" />
|
||||
</Compiler>
|
||||
</Target>
|
||||
<Target title="Release">
|
||||
|
|
|
|||
|
|
@ -12,10 +12,15 @@
|
|||
<Option object_output="..\obj\dbg\" />
|
||||
<Option type="0" />
|
||||
<Option compiler="gcc" />
|
||||
<Option projectLinkerOptionsRelation="2" />
|
||||
<Compiler>
|
||||
<Add option="-W" />
|
||||
<Add option="-g" />
|
||||
<Add option="-gdwarf-2" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-ltextscreen-dbg" />
|
||||
</Linker>
|
||||
</Target>
|
||||
<Target title="Release">
|
||||
<Option output="..\bin\$(PROJECT_NAME).exe" prefix_auto="0" extension_auto="0" />
|
||||
|
|
@ -23,11 +28,13 @@
|
|||
<Option object_output="..\obj\rel\" />
|
||||
<Option type="0" />
|
||||
<Option compiler="gcc" />
|
||||
<Option projectLinkerOptionsRelation="2" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
</Compiler>
|
||||
<Linker>
|
||||
<Add option="-s" />
|
||||
<Add option="-ltextscreen" />
|
||||
</Linker>
|
||||
</Target>
|
||||
</Build>
|
||||
|
|
@ -45,7 +52,7 @@
|
|||
<Add directory="..\setup" />
|
||||
</ResourceCompiler>
|
||||
<Linker>
|
||||
<Add option="-ltextscreen -lmingw32 -lSDLmain -lSDL -mwindows" />
|
||||
<Add option="-lmingw32 -lSDLmain -lSDL -mwindows" />
|
||||
<Add directory="..\lib" />
|
||||
</Linker>
|
||||
<Unit filename="setup-res.rc">
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
<Option createDefFile="1" />
|
||||
<Compiler>
|
||||
<Add option="-W" />
|
||||
<Add option="-g" />
|
||||
<Add option="-gdwarf-2" />
|
||||
</Compiler>
|
||||
</Target>
|
||||
<Target title="Release">
|
||||
|
|
@ -116,6 +116,7 @@
|
|||
<Extensions>
|
||||
<code_completion />
|
||||
<envvars />
|
||||
<debugger />
|
||||
</Extensions>
|
||||
</Project>
|
||||
</CodeBlocks_project_file>
|
||||
|
|
|
|||
Loading…
Reference in a new issue