2012-07-01 17:27:41 +03:00
|
|
|
project(AI)
|
2014-11-02 22:43:10 +02:00
|
|
|
cmake_minimum_required(VERSION 2.8)
|
2012-07-01 17:27:41 +03:00
|
|
|
|
2014-11-02 22:43:10 +02:00
|
|
|
find_package(Fuzzylite)
|
2014-09-02 16:29:28 +03:00
|
|
|
|
2014-11-17 12:42:22 +02:00
|
|
|
if(NOT MSVC)
|
|
|
|
add_definitions(-DFL_CPP11)
|
|
|
|
set(FL_CPP11 ON CACHE BOOL "")
|
|
|
|
endif()
|
|
|
|
|
2014-11-02 22:43:10 +02:00
|
|
|
if (NOT FL_FOUND)
|
|
|
|
set(FL_BUILD_BINARY OFF CACHE BOOL "")
|
|
|
|
set(FL_BUILD_SHARED OFF CACHE BOOL "")
|
2014-09-02 16:29:28 +03:00
|
|
|
add_subdirectory(FuzzyLite/fuzzylite)
|
|
|
|
endif()
|
2012-09-22 18:10:15 +03:00
|
|
|
add_subdirectory(BattleAI)
|
2012-07-01 17:27:41 +03:00
|
|
|
add_subdirectory(StupidAI)
|
|
|
|
add_subdirectory(EmptyAI)
|
2014-11-02 22:43:10 +02:00
|
|
|
add_subdirectory(VCAI)
|