Changeset 208
- Timestamp:
- 11/13/08 15:11:44 (16 years ago)
- Files:
-
- 6 modified
Legend:
- Unmodified
- Added
- Removed
-
CMakeLists.txt
r195 r208 18 18 # THEN IT IS NECESSARY TO CREATE TEXT FILE "\WIN32\LOCAL_PATHS.TXT" WITH 19 19 # COPIES OF THE TWO FOLLOWING LINES AND THEN CORECT ALL INVOLVED PATHS 20 SET(ITPP_DIR "${BDM_SOURCE_DIR}\\win32\\itpp-4.0. 1")20 SET(ITPP_DIR "${BDM_SOURCE_DIR}\\win32\\itpp-4.0.6") 21 21 SET(ACML_DIR "${BDM_SOURCE_DIR}\\win32\\acml3.6.0") 22 22 SET(XERCES_DIR "${BDM_SOURCE_DIR}\\win32\\xerces-c_2_8_0-x86") 23 23 24 24 INCLUDE(\\win32\\local_paths.txt OPTIONAL) 25 ADD_DEFINITIONS(-DHAVE_ACML) 25 26 ELSE() 26 27 #This is for UNIX makefile which does only one release at a time. -
bdm/CMakeLists.txt
r176 r208 6 6 SET(BdmUI userinfo.cpp userinfo.h) 7 7 8 add_library (bdm itpp_ext.cpp osutils.cpp osutils.h ${BdmMath} ${BdmStat} ${BdmEstim} ${BdmUI})8 add_library (bdm itpp_ext.cpp itpp_ext.h osutils.cpp osutils.h ${BdmMath} ${BdmStat} ${BdmEstim} ${BdmUI}) 9 9 -
doprava/CMakeLists.txt
r195 r208 7 7 8 8 ## Save all needed libraries in variable BdmLibs 9 #SET(BdmLibs bdm itpp_debug)10 SET(BdmLibs bdm itpp)11 12 9 IF(WIN32) 13 SET( BdmLibs ${BdmLibs}libacml_dll)10 SET(AddLib libacml_dll) 14 11 ENDIF(WIN32) 15 12 … … 18 15 add_executable (k1 k1.cpp) 19 16 # Link the executable to the Hello library. 20 target_link_libraries (k1 ${BdmLibs}) 17 target_link_libraries (k1 debug itpp_debug) 18 target_link_libraries (k1 optimized itpp) 19 target_link_libraries (k1 bdm ${AddLib}) -
doprava/k1.cpp
r196 r208 57 57 58 58 L.init(); // <<==== allocate memory for results 59 60 59 // Priprava poli pro simulaci 61 60 vec ut(RVut.count()); … … 84 83 L.step(); 85 84 } 86 87 85 L.finalize(); 88 L.itsave("k1.it"); 89 86 L.itsave("k1.it"); 90 87 return 0; 91 88 } -
doprava/model.h
r196 r208 26 26 27 27 xk ( 0 ) = 0.2* x0(1) - 0.1* x0(2)+ u0(0); // vycucane z prstu 28 xk ( 1 ) = x0( 28 xk ( 1 ) = x0(0); 29 29 xk ( 2 ) = x0(1); 30 30 xk ( 3 ) = x0(2); -
tests/CMakeLists.txt
r205 r208 6 6 7 7 ## Save all needed libraries in variable BdmLibs 8 SET(BdmLibs bdm itpp_debug)8 #SET(BdmLibs bdm itpp_debug) 9 9 #SET(BdmLibs bdm itpp) 10 SET(ITppLibs itpp)10 #SET(ITppLibs itpp_debug) 11 11 12 12 IF(WIN32) 13 SET(BdmLibs ${BdmLibs} libacml_dll) 14 SET(ITppLibs ${ITppLibs} libacml_dll) 13 SET(AddLib libacml_dll) 15 14 ENDIF(WIN32) 16 15 … … 18 17 MACRO(TEST FN) 19 18 add_executable (${FN} ${FN}.cpp) 20 target_link_libraries (${FN} ${BdmLibs}) 19 target_link_libraries (${FN} debug itpp_debug) 20 target_link_libraries (${FN} optimized itpp) 21 target_link_libraries (${FN} bdm ${AddLib}) 21 22 ENDMACRO(TEST) 22 23 … … 54 55 55 56 add_executable(blas_test blas_test.cpp) 56 target_link_libraries (blas_test ${ITppLibs}) 57 target_link_libraries (blas_test debug itpp_debug) 58 target_link_libraries (blas_test optimized itpp) 59 target_link_libraries (blas_test ${AddLib}) 57 60 58 add_executable(testUI testUI.cpp)59 target_link_libraries (testUI ${BdmLibs} ${XERCES_LIBRARIES})61 SET(AddLib ${AddLib} ${XERCES_LIBRARIES}) 62 TEST(testUI)