root/applications/example_application/CMakeLists.txt @ 1271

Revision 982, 464 bytes (checked in by smidl, 14 years ago)

Example application using bdm in C++

Line 
1# Matlab toolbox of functions from BDM
2
3cmake_minimum_required(VERSION 2.6)
4PROJECT(example_name)
5
6# Link it to BDM
7SET(BDM_SOURCE_DIR "${CMAKE_SOURCE_DIR}/../../library")
8SET(CMAKE_MODULE_PATH "${BDM_SOURCE_DIR}/system")
9
10# Load BDM environment
11INCLUDE(SetBdmEnv)
12
13include_directories (${BDM_SOURCE_DIR}/bdm)
14link_directories (${BDM_SOURCE_DIR}/bdm)
15
16add_library(example_lib example_lib.cpp example_lib.h)
17
18EXEC(example_main example_lib )
19
20
Note: See TracBrowser for help on using the browser.