root/library/bdm/CMakeLists.txt @ 691

Revision 691, 1.4 kB (checked in by mido, 15 years ago)

the real update of libconfig with an addaptation of its directories
all cfg files added directly into VS solution (this change is actually concerning only the \tests directory)

  • 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 )
12SET(bdm_mex mex/mex_datasource.h mex/mex_parser.h mex/mex_logger.h  )
13
14SET(bdm_support bdmerror.cpp bdmerror.h bdmroot.cpp bdmroot.h itpp_ext.cpp itpp_ext.h osutils.cpp osutils.h shared_ptr.h)
15
16IF(WIN32)
17   SET(bdm_support ${bdm_support} dirent.c dirent.h)
18   ADD_DEFINITIONS(-DLIBCONFIG_STATIC -DLIBCONFIGXX_STATIC)
19ENDIF()
20
21# add BDMLIB compile flag
22ADD_DEFINITIONS(-DBDMLIB)
23
24# Normal BDM library
25add_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.