summaryrefslogtreecommitdiff
path: root/RealtimeSync/RealtimeSync.cbp
diff options
context:
space:
mode:
authorDaniel Wilhelm <daniel@wili.li>2014-04-18 17:07:15 +0200
committerDaniel Wilhelm <daniel@wili.li>2014-04-18 17:07:15 +0200
commit8318453bf9d4fd50b137ff6c6fc8d1fd22aa6395 (patch)
tree975c6e590c31e56007006a23e7b15d0245d75b08 /RealtimeSync/RealtimeSync.cbp
parent3.6 (diff)
downloadFreeFileSync-8318453bf9d4fd50b137ff6c6fc8d1fd22aa6395.tar.gz
FreeFileSync-8318453bf9d4fd50b137ff6c6fc8d1fd22aa6395.tar.bz2
FreeFileSync-8318453bf9d4fd50b137ff6c6fc8d1fd22aa6395.zip
3.7
Diffstat (limited to 'RealtimeSync/RealtimeSync.cbp')
-rw-r--r--RealtimeSync/RealtimeSync.cbp62
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 &quot;pch.h&quot;' />
- <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 &quot;pch.h&quot;' />
+ <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 &amp;&amp; (GetCompilerFactory().GetCompilerVersionString(_T(&quot;gcc&quot;)) &gt;= _T(&quot;4.0.0&quot;))) print(_T(&quot;-Wno-attributes&quot;));]]' />
<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" />
bgstack15