Revision 1347, 0.7 kB
(checked in by pierre2, 14 years ago)
|
trading models, upravene pomocou C-Make, pridany robust
|
Line | |
---|
1 | # Matlab toolbox of functions from BDM |
---|
2 | |
---|
3 | cmake_minimum_required(VERSION 2.6) |
---|
4 | PROJECT(trading_models) |
---|
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 | SET(ROBUST_DIR "${CMAKE_SOURCE_DIR}/../robust") |
---|
10 | |
---|
11 | # Load BDM environment |
---|
12 | INCLUDE(SetBdmEnv) |
---|
13 | |
---|
14 | include_directories (${BDM_SOURCE_DIR}/bdm) |
---|
15 | link_directories (${BDM_SOURCE_DIR}/bdm) |
---|
16 | |
---|
17 | include_directories(${ROBUST_DIR}) |
---|
18 | link_directories(${ROBUST_DIR}) |
---|
19 | |
---|
20 | add_library(trading_models_lib trading_models_lib.cpp trading_models_lib.h) |
---|
21 | add_library(robustlib ../robust/robustlib.cpp ../robust/robustlib.h) |
---|
22 | |
---|
23 | EXEC(trading_models_main trading_models_lib robustlib) |
---|
24 | |
---|
25 | |
---|