# Matlab toolbox of functions from BDM cmake_minimum_required(VERSION 2.6) PROJECT(doprava) # Link it to BDM SET(BDM_SOURCE_DIR "${CMAKE_SOURCE_DIR}/../../library") SET(CMAKE_MODULE_PATH "${BDM_SOURCE_DIR}/system") # Load BDM environment INCLUDE(SetBdmEnv) include_directories (${BDM_SOURCE_DIR}/bdm) link_directories (${BDM_SOURCE_DIR}/bdm) add_subdirectory (aimsun_bdm) link_directories (./aimsun_bdm) add_library(traffic_agents traffic_agent.cpp traffic_agent.h) # executable EXEC(main_loop traffic_agents aimsun_bdm)