diff options
Diffstat (limited to 'RealtimeSync/RealtimeSync.cbp')
-rw-r--r-- | RealtimeSync/RealtimeSync.cbp | 62 |
1 files changed, 29 insertions, 33 deletions
diff --git a/RealtimeSync/RealtimeSync.cbp b/RealtimeSync/RealtimeSync.cbp index 9a5d9f93..24b6d859 100644 --- a/RealtimeSync/RealtimeSync.cbp +++ b/RealtimeSync/RealtimeSync.cbp @@ -7,32 +7,6 @@ <Option pch_mode="2" /> <Option compiler="gcc" /> <Build> - <Target title="Debug"> - <Option output="..\BUILD\RealtimeSync" prefix_auto="1" extension_auto="1" /> - <Option working_dir="..\BUILD" /> - <Option object_output="..\OBJ\Debug_RTS_GCC" /> - <Option type="0" /> - <Option compiler="gcc" /> - <Option projectLinkerOptionsRelation="2" /> - <Compiler> - <Add option="-g" /> - <Add option="-Winvalid-pch" /> - <Add option='-include "pch.h"' /> - <Add option="-D__WXDEBUG__" /> - <Add directory="C:\Programme\C++\wxWidgets\lib\gcc_lib\mswud" /> - </Compiler> - <ResourceCompiler> - <Add directory="C:\Programme\C++\wxWidgets\lib\gcc_lib\mswud" /> - </ResourceCompiler> - <Linker> - <Add library="libwxmsw28ud_core.a" /> - <Add library="libwxmsw28ud_adv.a" /> - <Add library="libwxbase28ud.a" /> - <Add library="libwxpngd.a" /> - <Add library="libwxzlibd.a" /> - <Add directory="C:\Programme\C++\wxWidgets\lib\gcc_lib" /> - </Linker> - </Target> <Target title="Release"> <Option output="..\BUILD\RealtimeSync" prefix_auto="1" extension_auto="1" /> <Option working_dir="..\BUILD" /> @@ -45,9 +19,6 @@ <Add option="-DNDEBUG" /> <Add directory="C:\Programme\C++\wxWidgets\lib\gcc_lib\mswu" /> </Compiler> - <ResourceCompiler> - <Add directory="C:\Programme\C++\wxWidgets\lib\gcc_lib\mswu" /> - </ResourceCompiler> <Linker> <Add option="-s" /> <Add library="libwxmsw28u_core.a" /> @@ -58,12 +29,38 @@ <Add directory="C:\Programme\C++\wxWidgets\lib\gcc_lib" /> </Linker> </Target> + <Target title="Debug-DLL"> + <Option output="..\BUILD\RealtimeSync" prefix_auto="1" extension_auto="1" /> + <Option working_dir="..\BUILD" /> + <Option object_output="..\OBJ\Debug_RTS_GCC" /> + <Option type="0" /> + <Option compiler="gcc" /> + <Option projectLinkerOptionsRelation="2" /> + <Compiler> + <Add option="-g" /> + <Add option="-Winvalid-pch" /> + <Add option='-include "pch.h"' /> + <Add option="-D__WXDEBUG__" /> + <Add directory="C:\Program Files\C++\wxWidgets\lib\gcc_dll\mswud" /> + </Compiler> + <Linker> + <Add library="libwxmsw28ud_core.a" /> + <Add library="libwxmsw28ud_adv.a" /> + <Add library="libwxbase28ud.a" /> + <Add library="libwxpngd.a" /> + <Add library="libwxzlibd.a" /> + <Add directory="C:\Program Files\C++\wxWidgets\lib\gcc_dll" /> + </Linker> + </Target> </Build> <Compiler> + <Add option="-Wshadow" /> + <Add option="-Winit-self" /> + <Add option="-Wswitch-enum" /> + <Add option="-Wmain" /> <Add option="-Wall" /> <Add option="-pipe" /> <Add option="-mthreads" /> - <Add option='[[if (PLATFORM == PLATFORM_MSW && (GetCompilerFactory().GetCompilerVersionString(_T("gcc")) >= _T("4.0.0"))) print(_T("-Wno-attributes"));]]' /> <Add option="-D__GNUWIN32__" /> <Add option="-D__WXMSW__" /> <Add option="-DwxUSE_UNICODE" /> @@ -71,7 +68,6 @@ <Add option="-DZSTRING_WIDE_CHAR" /> <Add option="-DTIXML_USE_STL" /> <Add directory="C:\Programme\C++\wxWidgets\include" /> - <Add directory="C:\Programme\C++\wxWidgets\contrib\include" /> <Add directory="..\shared\boost_1_x" /> </Compiler> <ResourceCompiler> @@ -79,6 +75,7 @@ </ResourceCompiler> <Linker> <Add option="-mthreads" /> + <Add option="-Wl,--enable-auto-import" /> <Add library="libkernel32.a" /> <Add library="libuser32.a" /> <Add library="libuuid.a" /> @@ -101,7 +98,7 @@ <Unit filename="pch.h"> <Option compile="1" /> <Option weight="0" /> - <Option target="Debug" /> + <Option target="Debug-DLL" /> </Unit> <Unit filename="resource.rc"> <Option compilerVar="WINDRES" /> @@ -138,7 +135,6 @@ <Unit filename="..\shared\localization.h" /> <Unit filename="..\shared\longPathPrefix.cpp" /> <Unit filename="..\shared\longPathPrefix.h" /> - <Unit filename="..\shared\recycler.cpp" /> <Unit filename="..\shared\shadow.cpp" /> <Unit filename="..\shared\standardPaths.cpp" /> <Unit filename="..\shared\standardPaths.h" /> |