Changeset 111
- Timestamp:
- 05/19/08 11:12:05 (17 years ago)
- Files:
-
- 802 added
- 3 modified
Legend:
- Unmodified
- Added
- Removed
-
CMakeLists.txt
r108 r111 13 13 IF(WIN32) 14 14 15 # IF YOU WANT TO USE YOUR OWN INSTALLATION OF ITTP AND/OR ACML LIBRARIES,15 # IF YOU WANT TO USE YOUR OWN INSTALLATION OF THE NEXT EXTERNAL LIBRARIES, 16 16 # THEN IT IS NECESSARY TO CREATE TEXT FILE "\WIN32\LOCAL_PATHS.TXT" WITH 17 17 # COPIES OF THE TWO FOLLOWING LINES AND THEN CORECT BOTH INVOLVED PATHS 18 18 SET(ITPP_DIR "${BDM_SOURCE_DIR}\\win32\\itpp-4.0.1") 19 19 SET(ACML_DIR "${BDM_SOURCE_DIR}\\win32\\acml3.6.0") 20 SET(XSD_DIR "${BDM_SOURCE_DIR}\\win32\\xsd-3.1.0-i686") 21 SET(XERCES_DIR "${BDM_SOURCE_DIR}\\win32\\xerces-c_2_8_0-x86") 20 22 21 23 INCLUDE(\\win32\\local_paths.txt OPTIONAL) … … 23 25 FIND_PACKAGE(ITPP REQUIRED) 24 26 FIND_PACKAGE(ACML REQUIRED) 27 FIND_PACKAGE(XSD REQUIRED) 28 FIND_PACKAGE(XERCES REQUIRED) 25 29 26 30 IF(ITPP_FOUND) … … 33 37 LINK_DIRECTORIES(${NATIVE_ACML_LIB_PATH}) 34 38 ENDIF(ACML_FOUND) 39 40 IF(XSD_FOUND) 41 INCLUDE_DIRECTORIES(${XSD_INCLUDE_DIR}) 42 ENDIF(XSD_FOUND) 43 44 IF(XERCES_FOUND) 45 INCLUDE_DIRECTORIES(${XERCES_INCLUDE_DIR}) 46 LINK_DIRECTORIES(${NATIVE_XERCES_LIB_PATH}) 47 ENDIF(XERCES_FOUND) 35 48 36 49 ELSE(WIN32) -
tests/CMakeLists.txt
r100 r111 52 52 target_link_libraries (testUI ${BdmLibs}) 53 53 54 55 # experimental lines building an XSD's hello example 56 57 add_executable (test_xsd_hello test_xsd_hello.cxx hello-pskel.hxx hello-pskel.cxx) 58 target_link_libraries (test_xsd_hello ${BdmLibs} ${XERCES_LIBRARIES} ) 59 SET(XSD_ARGS "cxx-parser") 60 ADD_CUSTOM_COMMAND( 61 OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/hello-pskel.hxx ${CMAKE_CURRENT_BINARY_DIR}/hello-pskel.cxx 62 COMMAND ${XSD_EXECUTABLE} 63 ARGS ${XSD_ARGS} ${CMAKE_CURRENT_SOURCE_DIR}/hello.xsd 64 DEPENDS test_xsd_hello 65 MAIN_DEPENDENCY ${CMAKE_CURRENT_SOURCE_DIR}/hello.xsd 66 ) 67 68 -
win32/INSTALL.txt
r110 r111 9 9 * ACML 10 10 * ITPP 11 * XSD 12 * XERCES 11 13 When these are available, please make sure that the 12 14 CMake_module/FindACML and CMake_module/FindITPP can find it.