Revision 406, 428 bytes
(checked in by smidl, 15 years ago)
|
Build system restructuring
|
Line | |
---|
1 | # Matlab toolbox of functions from BDM |
---|
2 | |
---|
3 | cmake_minimum_required(VERSION 2.6) |
---|
4 | PROJECT(bdmtoolbox) |
---|
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_BINARY_DIR}/bdm) |
---|
15 | |
---|
16 | #EXEC(estimator) |
---|
17 | |
---|
18 | IF(MATLAB_FOUND) |
---|
19 | add_subdirectory (mex) |
---|
20 | ENDIF(MATLAB_FOUND) |
---|