Revision 831, 0.7 kB
(checked in by prikryl, 15 years ago)
|
Link with eh_api and vgs_api.
|
-
Property svn:eol-style set to
native
|
Line | |
---|
1 | # Matlab toolbox of functions from BDM |
---|
2 | |
---|
3 | cmake_minimum_required(VERSION 2.6) |
---|
4 | PROJECT(doprava) |
---|
5 | |
---|
6 | # Link it to BDM |
---|
7 | SET(BDM_SOURCE_DIR "${CMAKE_SOURCE_DIR}/../../library") |
---|
8 | SET(CMAKE_MODULE_PATH "${BDM_SOURCE_DIR}/system") |
---|
9 | |
---|
10 | # Load BDM environment |
---|
11 | INCLUDE(SetBdmEnv) |
---|
12 | |
---|
13 | include_directories (${BDM_SOURCE_DIR}/bdm) |
---|
14 | link_directories (${BDM_SOURCE_DIR}/bdm) |
---|
15 | |
---|
16 | add_subdirectory (aimsun_bdm) |
---|
17 | link_directories (./aimsun_bdm ./aimsun_bdm/eh_api ./aimsun_bdm/vgs_api) |
---|
18 | |
---|
19 | add_library(traffic_agents traffic_agent.cpp traffic_agent.h) |
---|
20 | |
---|
21 | include_directories ( aimsun_bdm/eh_api aimsun_bdm/els3/include aimsun_bdm/vgs_api ) |
---|
22 | # executable |
---|
23 | EXEC(main_loop traffic_agents aimsun_bdm eh_api vgs_api) |
---|