Added new configurations to differentiate between cygwin-gcc and gnu-gcc.

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1036 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
rich_sposato 2009-10-10 23:51:27 +00:00
parent 840a40dce1
commit 9d86b1d4aa
3 changed files with 100 additions and 20 deletions

View file

@ -6,9 +6,31 @@
<Option pch_mode="2" /> <Option pch_mode="2" />
<Option compiler="cygwin" /> <Option compiler="cygwin" />
<Build> <Build>
<Target title="Debug"> <Target title="Debug_GCC">
<Option output="obj\Debug\SafeBits" prefix_auto="1" extension_auto="1" /> <Option output="obj\Debug_GCC\SafeBits" prefix_auto="1" extension_auto="1" />
<Option object_output="obj\Debug\" /> <Option object_output="obj\Debug_GCC\" />
<Option type="1" />
<Option compiler="gcc" />
<Compiler>
<Add option="-Wall" />
<Add option="-g" />
<Add directory="..\..\include" />
</Compiler>
</Target>
<Target title="Release_GCC">
<Option output="obj\Release_GCC\SafeBits" prefix_auto="1" extension_auto="1" />
<Option object_output="obj\Release_GCC\" />
<Option type="1" />
<Option compiler="gcc" />
<Compiler>
<Add option="-Os" />
<Add option="-Wall" />
<Add directory="..\..\include" />
</Compiler>
</Target>
<Target title="Debug_Cygwin">
<Option output="obj\Debug_Cygwin\SafeBits" prefix_auto="1" extension_auto="1" />
<Option object_output="obj\Debug_Cygwin\" />
<Option type="1" /> <Option type="1" />
<Option compiler="cygwin" /> <Option compiler="cygwin" />
<Compiler> <Compiler>
@ -17,9 +39,9 @@
<Add directory="..\..\include" /> <Add directory="..\..\include" />
</Compiler> </Compiler>
</Target> </Target>
<Target title="Release"> <Target title="Release_Cygwin">
<Option output="obj\Release\SafeBits" prefix_auto="1" extension_auto="1" /> <Option output="obj\Release_Cygwin\SafeBits" prefix_auto="1" extension_auto="1" />
<Option object_output="obj\Release\" /> <Option object_output="obj\Release_Cygwin\" />
<Option type="1" /> <Option type="1" />
<Option compiler="cygwin" /> <Option compiler="cygwin" />
<Compiler> <Compiler>

View file

@ -5,9 +5,41 @@
<Option title="Singleton" /> <Option title="Singleton" />
<Option compiler="cygwin" /> <Option compiler="cygwin" />
<Build> <Build>
<Target title="Debug"> <Target title="Debug_GCC">
<Option output="bin\Debug\Singleton" prefix_auto="1" extension_auto="1" /> <Option output="bin\Debug_GCC\Singleton" prefix_auto="1" extension_auto="1" />
<Option object_output="obj\Debug\" /> <Option object_output="obj\Debug_GCC\" />
<Option type="1" />
<Option compiler="gcc" />
<Compiler>
<Add option="-W" />
<Add option="-g" />
<Add directory="..\..\include\loki" />
<Add directory="..\..\include" />
</Compiler>
<Linker>
<Add library="..\..\lib\GCC\Loki_D.a" />
</Linker>
</Target>
<Target title="Release_GCC">
<Option output="bin\Release_GCC\Singleton" prefix_auto="1" extension_auto="1" />
<Option object_output="obj\Release_GCC\" />
<Option type="1" />
<Option compiler="gcc" />
<Compiler>
<Add option="-fexpensive-optimizations" />
<Add option="-Os" />
<Add option="-O3" />
<Add option="-W" />
<Add directory="..\..\include\loki" />
<Add directory="..\..\include" />
</Compiler>
<Linker>
<Add library="..\..\lib\GCC\Loki.a" />
</Linker>
</Target>
<Target title="Debug_Cygwin">
<Option output="bin\Debug_Cygwin\Singleton" prefix_auto="1" extension_auto="1" />
<Option object_output="obj\Debug_Cygwin\" />
<Option type="1" /> <Option type="1" />
<Option compiler="cygwin" /> <Option compiler="cygwin" />
<Compiler> <Compiler>
@ -17,12 +49,12 @@
<Add directory="..\..\include" /> <Add directory="..\..\include" />
</Compiler> </Compiler>
<Linker> <Linker>
<Add library="..\..\lib\Loki_D.a" /> <Add library="..\..\lib\Cygwin\Loki_D.a" />
</Linker> </Linker>
</Target> </Target>
<Target title="Release"> <Target title="Release_Cygwin">
<Option output="bin\Release\Singleton" prefix_auto="1" extension_auto="1" /> <Option output="bin\Release_Cygwin\Singleton" prefix_auto="1" extension_auto="1" />
<Option object_output="obj\Release\" /> <Option object_output="obj\Release_Cygwin\" />
<Option type="1" /> <Option type="1" />
<Option compiler="cygwin" /> <Option compiler="cygwin" />
<Compiler> <Compiler>
@ -34,7 +66,7 @@
<Add directory="..\..\include" /> <Add directory="..\..\include" />
</Compiler> </Compiler>
<Linker> <Linker>
<Add library="..\..\lib\Loki.a" /> <Add library="..\..\lib\Cygwin\Loki.a" />
</Linker> </Linker>
</Target> </Target>
</Build> </Build>

View file

@ -5,9 +5,35 @@
<Option title="Visitor" /> <Option title="Visitor" />
<Option compiler="cygwin" /> <Option compiler="cygwin" />
<Build> <Build>
<Target title="Debug"> <Target title="Debug_GCC">
<Option output="bin\Debug\Visitor" prefix_auto="1" extension_auto="1" /> <Option output="bin\Debug_GCC\Visitor" prefix_auto="1" extension_auto="1" />
<Option object_output="obj\Debug\" /> <Option object_output="obj\Debug_GCC\" />
<Option type="1" />
<Option compiler="gcc" />
<Compiler>
<Add option="-W" />
<Add option="-g" />
<Add directory="..\..\include\loki" />
<Add directory="..\..\include" />
</Compiler>
</Target>
<Target title="Release_GCC">
<Option output="bin\Release_GCC\Visitor" prefix_auto="1" extension_auto="1" />
<Option object_output="obj\Release_GCC\" />
<Option type="1" />
<Option compiler="gcc" />
<Compiler>
<Add option="-fexpensive-optimizations" />
<Add option="-Os" />
<Add option="-O3" />
<Add option="-W" />
<Add directory="..\..\include\loki" />
<Add directory="..\..\include" />
</Compiler>
</Target>
<Target title="Debug_Cygwin">
<Option output="bin\Debug_Cygwin\Visitor" prefix_auto="1" extension_auto="1" />
<Option object_output="obj\Debug_Cygwin\" />
<Option type="1" /> <Option type="1" />
<Option compiler="cygwin" /> <Option compiler="cygwin" />
<Compiler> <Compiler>
@ -17,9 +43,9 @@
<Add directory="..\..\include" /> <Add directory="..\..\include" />
</Compiler> </Compiler>
</Target> </Target>
<Target title="Release"> <Target title="Release_Cygwin">
<Option output="bin\Release\Visitor" prefix_auto="1" extension_auto="1" /> <Option output="bin\Release_Cygwin\Visitor" prefix_auto="1" extension_auto="1" />
<Option object_output="obj\Release\" /> <Option object_output="obj\Release_Cygwin\" />
<Option type="1" /> <Option type="1" />
<Option compiler="cygwin" /> <Option compiler="cygwin" />
<Compiler> <Compiler>