mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
[c::b] update projects, disable PHC for now, +few fixes (still wip)
This commit is contained in:
@@ -50,7 +50,6 @@
|
||||
<Unit filename="BattleAI.cpp" />
|
||||
<Unit filename="BattleAI.h" />
|
||||
<Unit filename="StdInc.h">
|
||||
<Option compile="1" />
|
||||
<Option weight="0" />
|
||||
</Unit>
|
||||
<Unit filename="main.cpp" />
|
||||
|
@@ -51,7 +51,6 @@
|
||||
<Unit filename="CEmptyAI.cpp" />
|
||||
<Unit filename="CEmptyAI.h" />
|
||||
<Unit filename="StdInc.h">
|
||||
<Option compile="1" />
|
||||
<Option weight="0" />
|
||||
</Unit>
|
||||
<Unit filename="exp_funcs.cpp" />
|
||||
|
@@ -51,7 +51,6 @@
|
||||
<Add directory="../.." />
|
||||
</Linker>
|
||||
<Unit filename="StdInc.h">
|
||||
<Option compile="1" />
|
||||
<Option weight="0" />
|
||||
</Unit>
|
||||
<Unit filename="StupidAI.cpp" />
|
||||
|
@@ -60,7 +60,6 @@
|
||||
<Unit filename="Fuzzy.cpp" />
|
||||
<Unit filename="Fuzzy.h" />
|
||||
<Unit filename="StdInc.h">
|
||||
<Option compile="1" />
|
||||
<Option weight="0" />
|
||||
</Unit>
|
||||
<Unit filename="VCAI.cpp" />
|
||||
|
@@ -193,7 +193,7 @@ static void prog_help(const po::options_description &opts)
|
||||
void OSX_checkForUpdates();
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#if defined(_WIN32) && !defined (__GNUC__)
|
||||
int wmain(int argc, wchar_t* argv[])
|
||||
#elif defined(__APPLE__)
|
||||
int SDL_main(int argc, char *argv[])
|
||||
|
@@ -116,7 +116,6 @@
|
||||
<Unit filename="NetPacksClient.cpp" />
|
||||
<Unit filename="SDLMain.h" />
|
||||
<Unit filename="StdInc.h">
|
||||
<Option compile="1" />
|
||||
<Option weight="0" />
|
||||
</Unit>
|
||||
<Unit filename="VCMI_client.rc">
|
||||
|
@@ -46,6 +46,7 @@
|
||||
<Add option="-Wno-sign-compare" />
|
||||
<Add option="-Wno-unused-parameter" />
|
||||
<Add option="-Wno-overloaded-virtual" />
|
||||
<Add option="-Wno-unused-local-typedefs" />
|
||||
<Add option="-DVCMI_DLL" />
|
||||
<Add option="-DBOOST_THREAD_USE_LIB" />
|
||||
<Add option="-D_WIN32_WINNT=0x0501" />
|
||||
@@ -62,8 +63,10 @@
|
||||
<Add option="-lboost_system$(#boost.libsuffix)" />
|
||||
<Add option="-lboost_thread$(#boost.libsuffix)" />
|
||||
<Add option="-lboost_chrono$(#boost.libsuffix)" />
|
||||
<Add option="-lboost_locale$(#boost.libsuffix)" />
|
||||
<Add directory="$(#boost.lib)" />
|
||||
<Add directory="$(#sdl.lib)" />
|
||||
<Add directory="../" />
|
||||
</Linker>
|
||||
<Unit filename="AI_Base.h" />
|
||||
<Unit filename="BattleAction.cpp" />
|
||||
@@ -143,7 +146,6 @@
|
||||
<Unit filename="ScopeGuard.h" />
|
||||
<Unit filename="StartInfo.h" />
|
||||
<Unit filename="StdInc.h">
|
||||
<Option compile="1" />
|
||||
<Option weight="0" />
|
||||
</Unit>
|
||||
<Unit filename="StringConstants.h" />
|
||||
@@ -169,7 +171,6 @@
|
||||
<Unit filename="filesystem/CInputStream.h" />
|
||||
<Unit filename="filesystem/CMemoryStream.cpp" />
|
||||
<Unit filename="filesystem/CMemoryStream.h" />
|
||||
<Unit filename="filesystem/CResourceLoader.cpp" />
|
||||
<Unit filename="filesystem/CZipLoader.cpp" />
|
||||
<Unit filename="filesystem/CZipLoader.h" />
|
||||
<Unit filename="filesystem/Filesystem.cpp" />
|
||||
|
@@ -7,6 +7,7 @@
|
||||
<Option compiler="gcc" />
|
||||
<Build>
|
||||
<Target title="Debug">
|
||||
<Option platforms="Windows;" />
|
||||
<Option output="../../minizip" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="obj/Debug/" />
|
||||
<Option type="3" />
|
||||
@@ -19,11 +20,10 @@
|
||||
</Compiler>
|
||||
</Target>
|
||||
<Target title="Release">
|
||||
<Option output="bin/Release/minizip" prefix_auto="1" extension_auto="1" />
|
||||
<Option output="../../minizip" prefix_auto="1" extension_auto="1" />
|
||||
<Option object_output="obj/Release/" />
|
||||
<Option type="3" />
|
||||
<Option compiler="gcc" />
|
||||
<Option createDefFile="1" />
|
||||
<Option createStaticLib="1" />
|
||||
<Compiler>
|
||||
<Add option="-O2" />
|
||||
|
@@ -32,7 +32,7 @@
|
||||
|
||||
#include "../lib/UnlockGuard.h"
|
||||
|
||||
#ifdef __GNUC__
|
||||
#if defined(__GNUC__) && !defined (__MINGW32__)
|
||||
#include <execinfo.h>
|
||||
#endif
|
||||
|
||||
@@ -535,7 +535,7 @@ static void handleCommandOptions(int argc, char *argv[])
|
||||
po::notify(cmdLineOptions);
|
||||
}
|
||||
|
||||
#ifdef __GNUC__
|
||||
#if defined(__GNUC__) && !defined (__MINGW32__)
|
||||
void handleLinuxSignal(int sig)
|
||||
{
|
||||
const int STACKTRACE_SIZE = 100;
|
||||
@@ -566,7 +566,7 @@ int main(int argc, char** argv)
|
||||
{
|
||||
// Installs a sig sev segmentation violation handler
|
||||
// to log stacktrace
|
||||
#ifdef __GNUC__
|
||||
#if defined(__GNUC__) && !defined (__MINGW32__)
|
||||
signal(SIGSEGV, handleLinuxSignal);
|
||||
#endif
|
||||
|
||||
|
@@ -67,7 +67,6 @@
|
||||
<Unit filename="CVCMIServer.h" />
|
||||
<Unit filename="NetPacksServer.cpp" />
|
||||
<Unit filename="StdInc.h">
|
||||
<Option compile="1" />
|
||||
<Option weight="0" />
|
||||
</Unit>
|
||||
<Extensions>
|
||||
|
@@ -2,7 +2,9 @@
|
||||
<CodeBlocks_workspace_file>
|
||||
<Workspace title="vcmi">
|
||||
<Project filename="lib/minizip/minizip.cbp" />
|
||||
<Project filename="lib/VCMI_lib.cbp" />
|
||||
<Project filename="lib/VCMI_lib.cbp">
|
||||
<Depends filename="lib/minizip/minizip.cbp" />
|
||||
</Project>
|
||||
<Project filename="client/VCMI_client.cbp">
|
||||
<Depends filename="lib/VCMI_lib.cbp" />
|
||||
</Project>
|
||||
|
Reference in New Issue
Block a user