Changeset 249

Show
Ignore:
Timestamp:
01/26/09 20:28:49 (16 years ago)
Author:
smidl
Message:

libconfig refactorization

Files:
3 modified

Legend:

Unmodified
Added
Removed
  • bdm/CMakeLists.txt

    r242 r249  
    11# Create a library called "bdm" which includes sources from all directories 
    22 
    3 add_subdirectory(config) 
     3#add_subdirectory(config) 
    44 
    55SET(BdmMath math/libDC.cpp math/libDC.h math/chmat.cpp math/chmat.h) 
    66SET(BdmStat stat/libDS.cpp stat/libDS.h stat/libFN.cpp stat/libFN.h stat/libBM.cpp stat/libBM.h stat/libEF.cpp stat/libEF.h stat/loggers.cpp stat/loggers.h stat/emix.cpp stat/emix.h) 
    77SET(BdmEstim estim/libKF.cpp estim/libKF.h estim/libPF.cpp estim/libPF.h estim/arx.cpp estim/arx.h estim/mixef.cpp estim/mixef.h estim/merger.cpp) 
    8 SET(BdmUI userinfo.cpp userinfo.h) 
     8#SET(BdmUI userinfo.cpp userinfo.h) 
     9SET(BdmUI uibuilder.cpp uibuilder.h libconfig/libconfigcpp.c++ libconfig/grammar.c libconfig/libconfig.c libconfig/scanner.c) 
    910 
    10 IF(${XERCES_FOUND}) 
     11#IF(${XERCES_FOUND}) 
    1112add_library (bdm itpp_ext.cpp itpp_ext.h osutils.cpp osutils.h ${BdmMath} ${BdmStat} ${BdmEstim} ${BdmUI}) 
    12 ELSE(${XERCES_FOUND}) 
    13 add_library (bdm itpp_ext.cpp itpp_ext.h osutils.cpp osutils.h ${BdmMath} ${BdmStat} ${BdmEstim}) 
    14 ENDIF(${XERCES_FOUND}) 
     13#ELSE(${XERCES_FOUND}) 
     14#add_library (bdm itpp_ext.cpp itpp_ext.h osutils.cpp osutils.h ${BdmMath} ${BdmStat} ${BdmEstim}) 
     15#ENDIF(${XERCES_FOUND}) 
  • tests/CMakeLists.txt

    r247 r249  
    5151  target_link_libraries (testUI ${XERCES_LIBRARIES}) 
    5252ENDIF(${XERCES_FOUND}) 
     53 
     54add_subdirectory(UI) 
  • tests/UI/UIbuilder_test.cpp

    r248 r249  
    1 #include <libconfig.h++> 
    2 #include <fstream> 
    3 #include <iostream> 
    4 #include <sstream> 
    5  
    6 #include "uibuilder.h" 
     1#include <uibuilder.h> 
    72 
    83using namespace libconfig;