Changeset 320
- Timestamp:
- 04/23/09 15:00:26 (16 years ago)
- Files:
-
- 3 added
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
CMakeLists.txt
r319 r320 38 38 SET(CMAKE_CXX_FLAGS_DEBUG "-g -O0") 39 39 #ADD_DEFINITIONS(-DNDEBUG) 40 INCLUDE(CMakeLocal.txt OPTIONAL) 40 41 SET(MATLAB_ROOT ~/bin/matlab2008a) 42 # MATLAB_ROOT can be setup in Local 41 43 ENDIF(UNIX) 44 45 # Local ettings should be written to file called CMakeLists.local 46 # Use this option for machine-specific options, such as prallel architectures 47 INCLUDE(CMakeLists.local OPTIONAL) 42 48 43 49 FIND_PACKAGE(ITPP REQUIRED) 44 50 FIND_PACKAGE(ACML COMPONENTS) 45 #FIND_PACKAGE(XERCES COMPONENTS) 51 FIND_PACKAGE(Matlab COMPONENTS) 52 FIND_PROGRAM(MEX_COMPILER mex) 46 53 47 54 IF(ITPP_FOUND) … … 74 81 target_link_libraries (${FN} ${ARGN}) ## Additional libraries can be added to a macro 75 82 ENDMACRO(EXEC) 83 76 84 77 78 # Local ettings should be written to file called CMakeLists.local79 # Use this option for machine-specific options, such as prallel architectures80 INCLUDE(CMakeLists.local OPTIONAL)81 85 82 86 # Recurse into the "dbm" and "tests" subdirectories. This does not actually -
bdm/CMakeLists.txt
r277 r320 7 7 SET(BdmUI libconfig/libconfigcpp.cc libconfig/grammar.c libconfig/libconfig.c libconfig/scanner.c uibuilder.cpp uibuilder.h ) 8 8 9 # IF(${XERCES_FOUND})9 # Normal BDM library 10 10 add_library (bdm STATIC itpp_ext.cpp itpp_ext.h osutils.cpp osutils.h ${BdmMath} ${BdmStat} ${BdmEstim} ${BdmUI}) 11 #set_target_properties(bdm PROPERTIES DEFINE_SYMBOL LIBCONFIG_STATIC)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})