root/library/bdm/CMakeLists.txt @ 692

Revision 692, 1.6 kB (checked in by mido, 15 years ago)

patch of the previous commit

  • Property svn:eol-style set to native
Line 
1# Create a library called "bdm" which includes sources from all subdirectories
2
3SET(bdm_base base/bdmbase.cpp base/bdmbase.h base/datasources.cpp base/datasources.h base/loggers.cpp base/loggers.h)
4SET(bdm_math math/square_mat.cpp math/square_mat.h
5        math/chmat.cpp math/chmat.h
6        math/functions.cpp math/functions.h)
7SET(bdm_stat stat/exp_family.cpp stat/exp_family.h stat/emix.cpp stat/emix.h stat/merger.h stat/merger.cpp stat/discrete.h stat/discrete.cpp)
8SET(bdm_estim estim/kalman.cpp estim/kalman.h estim/particles.cpp estim/particles.h estim/arx.cpp estim/arx.h estim/arx_straux.cpp estim/mixtures.cpp estim/mixtures.h)
9SET(bdm_ctrl design/ctrlbase.cpp design/ctrlbase.h)
10SET(bdm_user_info base/libconfig/lib/libconfigcpp.cc base/libconfig/lib/grammar.c base/libconfig/lib/libconfig.c
11        base/libconfig/lib/libconfig.h base/libconfig/lib/libconfig.hh base/libconfig/lib/scanner.c  base/user_info.cpp base/user_info.h  base/libconfig/lib/parsectx.h base/libconfig/lib/scanctx.c base/libconfig/lib/scanctx.h  base/libconfig/lib/strbuf.h
12base/libconfig/lib/strbuf.c)
13
14SET(bdm_mex mex/mex_datasource.h mex/mex_parser.h mex/mex_logger.h  )
15
16SET(bdm_support bdmerror.cpp bdmerror.h bdmroot.cpp bdmroot.h itpp_ext.cpp itpp_ext.h osutils.cpp osutils.h shared_ptr.h)
17
18IF(WIN32)
19   SET(bdm_support ${bdm_support} dirent.c dirent.h)
20   ADD_DEFINITIONS(-DLIBCONFIG_STATIC -DLIBCONFIGXX_STATIC)
21ENDIF()
22
23# add BDMLIB compile flag
24ADD_DEFINITIONS(-DBDMLIB)
25
26# Normal BDM library
27add_library (bdm STATIC ${bdm_support} ${bdm_base} ${bdm_math} ${bdm_stat} ${bdm_estim} ${bdm_ctrl} ${bdm_mex} ${bdm_user_info})
Note: See TracBrowser for help on using the browser.