Revision 406, 428 bytes
(checked in by smidl, 15 years ago)
|
Build system restructuring
|
Rev | Line | |
---|
[406] | 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 | |
---|
[320] | 13 | include_directories (${BDM_SOURCE_DIR}/bdm) |
---|
| 14 | link_directories (${BDM_BINARY_DIR}/bdm) |
---|
| 15 | |
---|
[391] | 16 | #EXEC(estimator) |
---|
[320] | 17 | |
---|
| 18 | IF(MATLAB_FOUND) |
---|
| 19 | add_subdirectory (mex) |
---|
| 20 | ENDIF(MATLAB_FOUND) |
---|