mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-12 02:28:11 +02:00
22 lines
524 B
CMake
22 lines
524 B
CMake
project(AI)
|
|
cmake_minimum_required(VERSION 2.8)
|
|
|
|
option(FORCE_BUNDLED_FL "Force to use FuzzyLite included into VCMI's source tree" OFF)
|
|
|
|
if (NOT FORCE_BUNDLED_FL)
|
|
find_package(FuzzyLite)
|
|
else()
|
|
set(FL_FOUND FALSE)
|
|
endif()
|
|
|
|
if (NOT FL_FOUND)
|
|
set(FL_BUILD_BINARY OFF CACHE BOOL "")
|
|
set(FL_BUILD_SHARED OFF CACHE BOOL "")
|
|
set(FL_BUILD_TESTS OFF CACHE BOOL "")
|
|
add_subdirectory(FuzzyLite/fuzzylite)
|
|
endif()
|
|
add_subdirectory(BattleAI)
|
|
add_subdirectory(StupidAI)
|
|
add_subdirectory(EmptyAI)
|
|
add_subdirectory(VCAI)
|