1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00

[c::b] re-enabled PCH, tested with GCC 5.3. (Older versions may not work)

This commit is contained in:
AlexVinS 2016-08-18 13:40:35 +03:00
parent 9250d16016
commit 439aeecc8b
9 changed files with 16 additions and 6 deletions

View File

@ -69,6 +69,7 @@
<Unit filename="BattleAI.cpp" /> <Unit filename="BattleAI.cpp" />
<Unit filename="BattleAI.h" /> <Unit filename="BattleAI.h" />
<Unit filename="StdInc.h"> <Unit filename="StdInc.h">
<Option compile="1" />
<Option weight="0" /> <Option weight="0" />
</Unit> </Unit>
<Unit filename="main.cpp" /> <Unit filename="main.cpp" />

View File

@ -68,6 +68,7 @@
<Unit filename="CEmptyAI.cpp" /> <Unit filename="CEmptyAI.cpp" />
<Unit filename="CEmptyAI.h" /> <Unit filename="CEmptyAI.h" />
<Unit filename="StdInc.h"> <Unit filename="StdInc.h">
<Option compile="1" />
<Option weight="0" /> <Option weight="0" />
</Unit> </Unit>
<Unit filename="exp_funcs.cpp" /> <Unit filename="exp_funcs.cpp" />

View File

@ -54,6 +54,7 @@
<Add directory="../.." /> <Add directory="../.." />
</Linker> </Linker>
<Unit filename="StdInc.h"> <Unit filename="StdInc.h">
<Option compile="1" />
<Option weight="0" /> <Option weight="0" />
</Unit> </Unit>
<Unit filename="StupidAI.cpp" /> <Unit filename="StupidAI.cpp" />

View File

@ -3,7 +3,7 @@
<FileVersion major="1" minor="6" /> <FileVersion major="1" minor="6" />
<Project> <Project>
<Option title="VCAI" /> <Option title="VCAI" />
<Option pch_mode="0" /> <Option pch_mode="2" />
<Option compiler="gcc" /> <Option compiler="gcc" />
<Build> <Build>
<Target title="Debug-win32"> <Target title="Debug-win32">
@ -86,6 +86,7 @@
<Unit filename="Goals.cpp" /> <Unit filename="Goals.cpp" />
<Unit filename="Goals.h" /> <Unit filename="Goals.h" />
<Unit filename="StdInc.h"> <Unit filename="StdInc.h">
<Option compile="1" />
<Option weight="0" /> <Option weight="0" />
</Unit> </Unit>
<Unit filename="VCAI.cpp" /> <Unit filename="VCAI.cpp" />

View File

@ -3,7 +3,7 @@
<FileVersion major="1" minor="6" /> <FileVersion major="1" minor="6" />
<Project> <Project>
<Option title="VCMI_client" /> <Option title="VCMI_client" />
<Option pch_mode="0" /> <Option pch_mode="2" />
<Option compiler="gcc" /> <Option compiler="gcc" />
<Build> <Build>
<Target title="Debug-win32"> <Target title="Debug-win32">
@ -128,6 +128,7 @@
<Unit filename="SDLRWwrapper.cpp" /> <Unit filename="SDLRWwrapper.cpp" />
<Unit filename="SDLRWwrapper.h" /> <Unit filename="SDLRWwrapper.h" />
<Unit filename="StdInc.h"> <Unit filename="StdInc.h">
<Option compile="1" />
<Option weight="0" /> <Option weight="0" />
</Unit> </Unit>
<Unit filename="VCMI_client.rc"> <Unit filename="VCMI_client.rc">

View File

@ -4,7 +4,7 @@
<Project> <Project>
<Option title="VCMI_lib" /> <Option title="VCMI_lib" />
<Option execution_dir="D:/projects/vcmi/engine/VCMI_lib/" /> <Option execution_dir="D:/projects/vcmi/engine/VCMI_lib/" />
<Option pch_mode="0" /> <Option pch_mode="2" />
<Option compiler="gcc" /> <Option compiler="gcc" />
<Build> <Build>
<Target title="Debug-win32"> <Target title="Debug-win32">
@ -198,6 +198,7 @@
<Unit filename="ScopeGuard.h" /> <Unit filename="ScopeGuard.h" />
<Unit filename="StartInfo.h" /> <Unit filename="StartInfo.h" />
<Unit filename="StdInc.h"> <Unit filename="StdInc.h">
<Option compile="1" />
<Option weight="0" /> <Option weight="0" />
</Unit> </Unit>
<Unit filename="StringConstants.h" /> <Unit filename="StringConstants.h" />

View File

@ -79,6 +79,7 @@
<Unit filename="ERMScriptModule.cpp" /> <Unit filename="ERMScriptModule.cpp" />
<Unit filename="ERMScriptModule.h" /> <Unit filename="ERMScriptModule.h" />
<Unit filename="StdInc.h"> <Unit filename="StdInc.h">
<Option compile="1" />
<Option weight="0" /> <Option weight="0" />
</Unit> </Unit>
<Extensions> <Extensions>

View File

@ -3,7 +3,7 @@
<FileVersion major="1" minor="6" /> <FileVersion major="1" minor="6" />
<Project> <Project>
<Option title="VCMI_server" /> <Option title="VCMI_server" />
<Option pch_mode="0" /> <Option pch_mode="2" />
<Option compiler="gcc" /> <Option compiler="gcc" />
<Build> <Build>
<Target title="Debug-win32"> <Target title="Debug-win32">
@ -96,6 +96,7 @@
<Unit filename="CVCMIServer.h" /> <Unit filename="CVCMIServer.h" />
<Unit filename="NetPacksServer.cpp" /> <Unit filename="NetPacksServer.cpp" />
<Unit filename="StdInc.h"> <Unit filename="StdInc.h">
<Option compile="1" />
<Option weight="0" /> <Option weight="0" />
</Unit> </Unit>
<Extensions> <Extensions>

View File

@ -9,8 +9,8 @@
<Target title="Debug-win32"> <Target title="Debug-win32">
<Option platforms="Windows;" /> <Option platforms="Windows;" />
<Option output="../Test" prefix_auto="1" extension_auto="1" /> <Option output="../Test" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug/x86/" />
<Option working_dir="../." /> <Option working_dir="../." />
<Option object_output="obj/Debug/x86/" />
<Option type="1" /> <Option type="1" />
<Option compiler="gcc" /> <Option compiler="gcc" />
<Compiler> <Compiler>
@ -68,7 +68,9 @@
<Unit filename="StdInc.cpp"> <Unit filename="StdInc.cpp">
<Option weight="0" /> <Option weight="0" />
</Unit> </Unit>
<Unit filename="StdInc.h" /> <Unit filename="StdInc.h">
<Option compile="1" />
</Unit>
<Extensions> <Extensions>
<code_completion /> <code_completion />
<envvars /> <envvars />