Changeset 111 for tests

Show
Ignore:
Timestamp:
05/19/08 11:12:05 (16 years ago)
Author:
mido
Message:

pridana knihovna XSD (a jeji chlebodarkyne XERCES), v ramci Win32 zprovoznen priklad tests/test_xsd_hello.cxx

Location:
tests
Files:
3 added
1 modified

Legend:

Unmodified
Added
Removed
  • tests/CMakeLists.txt

    r100 r111  
    5252target_link_libraries (testUI ${BdmLibs}) 
    5353 
     54 
     55# experimental lines building an XSD's hello example  
     56 
     57add_executable (test_xsd_hello test_xsd_hello.cxx hello-pskel.hxx hello-pskel.cxx) 
     58target_link_libraries (test_xsd_hello ${BdmLibs} ${XERCES_LIBRARIES} ) 
     59SET(XSD_ARGS "cxx-parser") 
     60ADD_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