mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Configure github actions
This commit is contained in:
committed by
Arseniy Shestakov
parent
2669aa446e
commit
6d8373a473
@@ -56,10 +56,6 @@ set(test_SRCS
|
||||
spells/targetConditions/ReceptiveFeatureConditionTest.cpp
|
||||
spells/targetConditions/SpellEffectConditionTest.cpp
|
||||
spells/targetConditions/TargetConditionItemFixture.cpp
|
||||
|
||||
vcai/mock_ResourceManager.cpp
|
||||
vcai/mock_VCAI.cpp
|
||||
vcai/ResurceManagerTest.cpp
|
||||
|
||||
mock/mock_IGameCallback.cpp
|
||||
mock/mock_MapService.cpp
|
||||
@@ -100,16 +96,12 @@ set(mock_HEADERS
|
||||
mock/mock_spells_Spell.h
|
||||
mock/mock_vstd_RNG.h
|
||||
mock/mock_CPSICallback.h
|
||||
|
||||
vcai/mock_ResourceManager.h
|
||||
vcai/mock_VCAI.h
|
||||
vcai/mock_VCAI_CGoal.h
|
||||
)
|
||||
|
||||
add_subdirectory_with_folder("3rdparty" googletest EXCLUDE_FROM_ALL)
|
||||
|
||||
add_executable(vcmitest ${test_SRCS} ${test_HEADERS} ${mock_HEADERS})
|
||||
target_link_libraries(vcmitest PRIVATE gtest gmock vcmi ${SYSTEM_LIBS} VCAI)
|
||||
target_link_libraries(vcmitest PRIVATE gtest gmock vcmi ${SYSTEM_LIBS})
|
||||
|
||||
target_include_directories(vcmitest
|
||||
PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
|
||||
Reference in New Issue
Block a user