1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-12 02:28:11 +02:00

[C::B] test project update

This commit is contained in:
AlexVinS 2017-07-19 08:16:36 +03:00
parent 303a3b670c
commit 2e2642ef7a
2 changed files with 14 additions and 8 deletions

View File

@ -10,4 +10,4 @@
#pragma once #pragma once
#include "gtest/gtest.h" #include "gtest/gtest.h"
#include "gmock/gmock.h" #include "gmock/gmock.h"
#include "Global.h" #include "../Global.h"

View File

@ -51,24 +51,21 @@
<Add option="-D_WIN32" /> <Add option="-D_WIN32" />
<Add directory="$(#zlib.include)" /> <Add directory="$(#zlib.include)" />
<Add directory="$(#boost.include)" /> <Add directory="$(#boost.include)" />
<Add directory="googletest/googlemock/include" />
<Add directory="googletest/googletest/include" />
<Add directory="../include" /> <Add directory="../include" />
<Add directory="googletest/googletest" />
<Add directory="googletest/googlemock" />
</Compiler> </Compiler>
<Linker> <Linker>
<Add option="-lVCMI_lib" /> <Add option="-lVCMI_lib" />
<Add option="-lboost_system$(#boost.libsuffix)" /> <Add option="-lboost_system$(#boost.libsuffix)" />
<Add option="-lboost_test_exec_monitor$(#boost.libsuffix)" />
<Add option="-lboost_unit_test_framework$(#boost.libsuffix)" />
<Add option="-lboost_filesystem$(#boost.libsuffix)" /> <Add option="-lboost_filesystem$(#boost.libsuffix)" />
<Add directory="../" /> <Add directory="../" />
</Linker> </Linker>
<Unit filename="Battlefield.cpp" />
<Unit filename="CMapEditManagerTest.cpp" />
<Unit filename="CMapFormatTest.cpp" />
<Unit filename="CMemoryBufferTest.cpp" /> <Unit filename="CMemoryBufferTest.cpp" />
<Unit filename="CVcmiTestConfig.cpp" /> <Unit filename="CVcmiTestConfig.cpp" />
<Unit filename="CVcmiTestConfig.h" /> <Unit filename="CVcmiTestConfig.h" />
<Unit filename="MapComparer.cpp" />
<Unit filename="MapComparer.h" />
<Unit filename="StdInc.cpp"> <Unit filename="StdInc.cpp">
<Option weight="0" /> <Option weight="0" />
</Unit> </Unit>
@ -76,7 +73,16 @@
<Option compile="1" /> <Option compile="1" />
<Option weight="0" /> <Option weight="0" />
</Unit> </Unit>
<Unit filename="battle/BattleHexTest.cpp" />
<Unit filename="battle/CHealthTest.cpp" /> <Unit filename="battle/CHealthTest.cpp" />
<Unit filename="googletest/googlemock/src/gmock-all.cc" />
<Unit filename="googletest/googletest/src/gtest-all.cc" />
<Unit filename="main.cpp" />
<Unit filename="map/CMapEditManagerTest.cpp" />
<Unit filename="map/CMapFormatTest.cpp" />
<Unit filename="map/MapComparer.cpp" />
<Unit filename="map/MapComparer.h" />
<Unit filename="mock/mock_UnitHealthInfo.h" />
<Extensions> <Extensions>
<code_completion /> <code_completion />
<envvars /> <envvars />