VCMI_server.cbp 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
  2. <CodeBlocks_project_file>
  3. <FileVersion major="1" minor="6" />
  4. <Project>
  5. <Option title="VCMI_server" />
  6. <Option pch_mode="0" />
  7. <Option compiler="gcc" />
  8. <Build>
  9. <Target title="Debug-win32">
  10. <Option platforms="Windows;" />
  11. <Option output="../VCMI_server" prefix_auto="1" extension_auto="1" />
  12. <Option working_dir="../" />
  13. <Option object_output="../obj/Server/Debug/x86" />
  14. <Option type="1" />
  15. <Option compiler="gcc" />
  16. <Option use_console_runner="0" />
  17. <Compiler>
  18. <Add option="-g" />
  19. <Add option="-Og" />
  20. </Compiler>
  21. <Linker>
  22. <Add directory="$(#boost.lib32)" />
  23. </Linker>
  24. </Target>
  25. <Target title="Release-win32">
  26. <Option platforms="Windows;" />
  27. <Option output="../VCMI_server" prefix_auto="1" extension_auto="1" />
  28. <Option working_dir="../" />
  29. <Option object_output="../obj/Server/Release/x86" />
  30. <Option type="1" />
  31. <Option compiler="gcc" />
  32. <Option use_console_runner="0" />
  33. <Compiler>
  34. <Add option="-fomit-frame-pointer" />
  35. <Add option="-O2" />
  36. </Compiler>
  37. <Linker>
  38. <Add option="-s" />
  39. <Add directory="$(#boost.lib32)" />
  40. </Linker>
  41. </Target>
  42. <Target title="Debug-win64">
  43. <Option platforms="Windows;" />
  44. <Option output="../VCMI_server" prefix_auto="1" extension_auto="1" />
  45. <Option working_dir="../" />
  46. <Option object_output="../obj/Server/Debug/x86" />
  47. <Option type="1" />
  48. <Option compiler="gnu_gcc_compiler_x64" />
  49. <Option use_console_runner="0" />
  50. <Compiler>
  51. <Add option="-Og" />
  52. <Add option="-ggdb" />
  53. <Add directory="$(#zlib64.include)" />
  54. </Compiler>
  55. <Linker>
  56. <Add directory="$(#boost.lib64)" />
  57. </Linker>
  58. </Target>
  59. </Build>
  60. <Compiler>
  61. <Add option="-Wextra" />
  62. <Add option="-Wall" />
  63. <Add option="-std=gnu++11" />
  64. <Add option="-fexceptions" />
  65. <Add option="-Wpointer-arith" />
  66. <Add option="-Wno-switch" />
  67. <Add option="-Wno-sign-compare" />
  68. <Add option="-Wno-unused-parameter" />
  69. <Add option="-Wno-overloaded-virtual" />
  70. <Add option="-isystem $(#boost.include)" />
  71. <Add option="-D_WIN32_WINNT=0x0501" />
  72. <Add option="-DBOOST_THREAD_USE_LIB" />
  73. <Add option="-DBOOST_SYSTEM_NO_DEPRECATED" />
  74. <Add option="-D_WIN32" />
  75. <Add directory="$(#sdl2.include)" />
  76. <Add directory="$(#zlib.include)" />
  77. </Compiler>
  78. <Linker>
  79. <Add option="-lole32" />
  80. <Add option="-loleaut32" />
  81. <Add option="-lws2_32" />
  82. <Add option="-lmswsock" />
  83. <Add option="-lboost_program_options$(#boost.libsuffix)" />
  84. <Add option="-lboost_filesystem$(#boost.libsuffix)" />
  85. <Add option="-lboost_system$(#boost.libsuffix)" />
  86. <Add option="-lboost_thread$(#boost.libsuffix)" />
  87. <Add option="-lboost_chrono$(#boost.libsuffix)" />
  88. <Add option="-lVCMI_lib" />
  89. <Add directory="../" />
  90. </Linker>
  91. <Unit filename="CGameHandler.cpp" />
  92. <Unit filename="CGameHandler.h" />
  93. <Unit filename="CQuery.cpp" />
  94. <Unit filename="CQuery.h" />
  95. <Unit filename="CVCMIServer.cpp" />
  96. <Unit filename="CVCMIServer.h" />
  97. <Unit filename="NetPacksServer.cpp" />
  98. <Unit filename="StdInc.h">
  99. <Option weight="0" />
  100. </Unit>
  101. <Extensions>
  102. <code_completion />
  103. <envvars />
  104. <debugger />
  105. <lib_finder disable_auto="1" />
  106. <DoxyBlocks>
  107. <comment_style block="0" line="0" />
  108. <doxyfile_project />
  109. <doxyfile_build />
  110. <doxyfile_warnings />
  111. <doxyfile_output />
  112. <doxyfile_dot />
  113. <general />
  114. </DoxyBlocks>
  115. </Extensions>
  116. </Project>
  117. </CodeBlocks_project_file>