| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153 | 
							- set(Nullkiller_SRCS
 
- 		Pathfinding/AIPathfinderConfig.cpp
 
- 		Pathfinding/AIPathfinder.cpp
 
- 		Pathfinding/AINodeStorage.cpp
 
- 		Pathfinding/Actors.cpp
 
- 		Pathfinding/Actions/SpecialAction.cpp
 
- 		Pathfinding/Actions/BattleAction.cpp
 
- 		Pathfinding/Actions/QuestAction.cpp
 
- 		Pathfinding/Actions/BuyArmyAction.cpp
 
- 		Pathfinding/Actions/BoatActions.cpp
 
- 		Pathfinding/Actions/TownPortalAction.cpp
 
- 		Pathfinding/Actions/AdventureSpellCastMovementActions.cpp
 
- 		Pathfinding/Rules/AILayerTransitionRule.cpp
 
- 		Pathfinding/Rules/AIMovementAfterDestinationRule.cpp
 
- 		Pathfinding/Rules/AIMovementToDestinationRule.cpp
 
- 		Pathfinding/Rules/AIPreviousNodeRule.cpp
 
- 		Pathfinding/ObjectGraph.cpp
 
- 		AIUtility.cpp
 
- 		Analyzers/ArmyManager.cpp
 
- 		Analyzers/HeroManager.cpp
 
- 		Engine/Settings.cpp
 
- 		Engine/FuzzyEngines.cpp
 
- 		Engine/FuzzyHelper.cpp
 
- 		Engine/AIMemory.cpp
 
- 		Goals/AbstractGoal.cpp
 
- 		Goals/Composition.cpp
 
- 		Goals/SaveResources.cpp
 
- 		Goals/BuildBoat.cpp
 
- 		Goals/BuildThis.cpp
 
- 		Goals/DismissHero.cpp
 
- 		Goals/BuyArmy.cpp
 
- 		Goals/AdventureSpellCast.cpp
 
- 		Goals/Trade.cpp
 
- 		Goals/CaptureObject.cpp
 
- 		Goals/RecruitHero.cpp
 
- 		Goals/DigAtTile.cpp
 
- 		Goals/ExecuteHeroChain.cpp
 
- 		Goals/ExchangeSwapTownHeroes.cpp
 
- 		Goals/CompleteQuest.cpp
 
- 		Goals/StayAtTown.cpp
 
- 		Markers/ArmyUpgrade.cpp
 
- 		Markers/HeroExchange.cpp
 
- 		Markers/UnlockCluster.cpp
 
- 		Markers/DefendTown.cpp
 
- 		Engine/Nullkiller.cpp
 
- 		Engine/DeepDecomposer.cpp
 
- 		Engine/PriorityEvaluator.cpp
 
- 		Analyzers/DangerHitMapAnalyzer.cpp
 
- 		Analyzers/BuildAnalyzer.cpp
 
- 		Analyzers/ObjectClusterizer.cpp
 
- 		Behaviors/CaptureObjectsBehavior.cpp
 
- 		Behaviors/RecruitHeroBehavior.cpp
 
- 		Behaviors/BuyArmyBehavior.cpp
 
- 		Behaviors/DefenceBehavior.cpp
 
- 		Behaviors/StartupBehavior.cpp
 
- 		Behaviors/BuildingBehavior.cpp
 
- 		Behaviors/GatherArmyBehavior.cpp
 
- 		Behaviors/ClusterBehavior.cpp
 
- 		Behaviors/StayAtTownBehavior.cpp
 
- 		Helpers/ArmyFormation.cpp
 
- 		AIGateway.cpp
 
- )
 
- set(Nullkiller_HEADERS
 
- 		StdInc.h
 
- 		
 
- 		Pathfinding/AIPathfinderConfig.h
 
- 		Pathfinding/AIPathfinder.h
 
- 		Pathfinding/AINodeStorage.h
 
- 		Pathfinding/Actors.h
 
- 		Pathfinding/Actions/SpecialAction.h
 
- 		Pathfinding/Actions/BattleAction.h
 
- 		Pathfinding/Actions/QuestAction.h
 
- 		Pathfinding/Actions/BuyArmyAction.h
 
- 		Pathfinding/Actions/BoatActions.h
 
- 		Pathfinding/Actions/TownPortalAction.h
 
- 		Pathfinding/Actions/AdventureSpellCastMovementActions.h
 
- 		Pathfinding/Rules/AILayerTransitionRule.h
 
- 		Pathfinding/Rules/AIMovementAfterDestinationRule.h
 
- 		Pathfinding/Rules/AIMovementToDestinationRule.h
 
- 		Pathfinding/Rules/AIPreviousNodeRule.h
 
- 		Pathfinding/ObjectGraph.h
 
- 		AIUtility.h
 
- 		pforeach.h
 
- 		Analyzers/ArmyManager.h
 
- 		Analyzers/HeroManager.h
 
- 		Engine/Settings.h
 
- 		Engine/FuzzyEngines.h
 
- 		Engine/FuzzyHelper.h
 
- 		Engine/AIMemory.h
 
- 		Goals/AbstractGoal.h
 
- 		Goals/CGoal.h
 
- 		Goals/Composition.h
 
- 		Goals/Invalid.h
 
- 		Goals/BuildBoat.h
 
- 		Goals/SaveResources.h
 
- 		Goals/BuildThis.h
 
- 		Goals/DismissHero.h
 
- 		Goals/BuyArmy.h
 
- 		Goals/AdventureSpellCast.h
 
- 		Goals/Trade.h
 
- 		Goals/CaptureObject.h
 
- 		Goals/RecruitHero.h
 
- 		Goals/DigAtTile.h
 
- 		Goals/ExecuteHeroChain.h
 
- 		Goals/ExchangeSwapTownHeroes.h
 
- 		Goals/CompleteQuest.h
 
- 		Goals/Goals.h
 
- 		Goals/StayAtTown.h
 
- 		Markers/ArmyUpgrade.h
 
- 		Markers/HeroExchange.h
 
- 		Markers/UnlockCluster.h
 
- 		Markers/DefendTown.h
 
- 		Engine/Nullkiller.h
 
- 		Engine/DeepDecomposer.h
 
- 		Engine/PriorityEvaluator.h
 
- 		Analyzers/DangerHitMapAnalyzer.h
 
- 		Analyzers/BuildAnalyzer.h
 
- 		Analyzers/ObjectClusterizer.h
 
- 		Behaviors/CaptureObjectsBehavior.h
 
- 		Behaviors/RecruitHeroBehavior.h
 
- 		Behaviors/BuyArmyBehavior.h
 
- 		Behaviors/DefenceBehavior.h
 
- 		Behaviors/StartupBehavior.h
 
- 		Behaviors/BuildingBehavior.h
 
- 		Behaviors/GatherArmyBehavior.h
 
- 		Behaviors/ClusterBehavior.h
 
- 		Behaviors/StayAtTownBehavior.h
 
- 		Helpers/ArmyFormation.h
 
- 		AIGateway.h
 
- )
 
- if(NOT ENABLE_STATIC_LIBS)
 
- 	list(APPEND Nullkiller_SRCS main.cpp StdInc.cpp)
 
- endif()
 
- assign_source_group(${Nullkiller_SRCS} ${Nullkiller_HEADERS})
 
- if(ENABLE_STATIC_LIBS)
 
- 	add_library(Nullkiller STATIC ${Nullkiller_SRCS} ${Nullkiller_HEADERS})
 
- else()
 
- 	add_library(Nullkiller SHARED ${Nullkiller_SRCS} ${Nullkiller_HEADERS})
 
- 	install(TARGETS Nullkiller RUNTIME DESTINATION ${AI_LIB_DIR} LIBRARY DESTINATION ${AI_LIB_DIR})
 
- endif()
 
- target_include_directories(Nullkiller PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
 
- target_link_libraries(Nullkiller PUBLIC vcmi fuzzylite::fuzzylite TBB::tbb)
 
- vcmi_set_output_dir(Nullkiller "AI")
 
- enable_pch(Nullkiller)
 
- if(APPLE_IOS AND NOT USING_CONAN)
 
- 	install(IMPORTED_RUNTIME_ARTIFACTS TBB::tbb LIBRARY DESTINATION ${LIB_DIR}) # CMake 3.21+
 
- endif()
 
 
  |