project(TKXmlL)

if (WIN32)
  list( APPEND TKXmlL_PRECOMPILED_DEFS "-D__XmlLDrivers_DLL" )
  list( APPEND TKXmlL_PRECOMPILED_DEFS "-D__XmlMDF_DLL" )
  list( APPEND TKXmlL_PRECOMPILED_DEFS "-D__XmlMDataStd_DLL" )
  list( APPEND TKXmlL_PRECOMPILED_DEFS "-D__XmlMDocStd_DLL" )
  list( APPEND TKXmlL_PRECOMPILED_DEFS "-D__XmlMFunction_DLL" )
  list( APPEND TKXmlL_PRECOMPILED_DEFS "-D__XmlObjMgt_DLL" )
  string( REGEX REPLACE ";" " " TKXmlL_PRECOMPILED_DEFS "${TKXmlL_PRECOMPILED_DEFS}")
endif()

  list( APPEND TKXmlL_COMPILER_DIRECTORIES "${WOK_LIB_PATH}" )
  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}/inc")
    list( APPEND TKXmlL_COMPILER_DIRECTORIES "${BUILD_PATCH_DIR}/inc" )
  ENDIF()
  IF(EXISTS "${CMAKE_SOURCE_DIR}/inc")
    list( APPEND TKXmlL_COMPILER_DIRECTORIES "${CMAKE_SOURCE_DIR}/inc" )
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "")
    IF(EXISTS "${BUILD_PATCH_DIR}/drv/XmlLDrivers")
      list( APPEND TKXmlL_COMPILER_DIRECTORIES "${BUILD_PATCH_DIR}/drv/XmlLDrivers" )
    ENDIF()
    IF(EXISTS "${BUILD_PATCH_DIR}/src/XmlLDrivers")
      list( APPEND TKXmlL_COMPILER_DIRECTORIES "${BUILD_PATCH_DIR}/src/XmlLDrivers" )
    ENDIF()

    IF(EXISTS "${BUILD_PATCH_DIR}/drv/XmlMDF")
      list( APPEND TKXmlL_COMPILER_DIRECTORIES "${BUILD_PATCH_DIR}/drv/XmlMDF" )
    ENDIF()
    IF(EXISTS "${BUILD_PATCH_DIR}/src/XmlMDF")
      list( APPEND TKXmlL_COMPILER_DIRECTORIES "${BUILD_PATCH_DIR}/src/XmlMDF" )
    ENDIF()

    IF(EXISTS "${BUILD_PATCH_DIR}/drv/XmlMDataStd")
      list( APPEND TKXmlL_COMPILER_DIRECTORIES "${BUILD_PATCH_DIR}/drv/XmlMDataStd" )
    ENDIF()
    IF(EXISTS "${BUILD_PATCH_DIR}/src/XmlMDataStd")
      list( APPEND TKXmlL_COMPILER_DIRECTORIES "${BUILD_PATCH_DIR}/src/XmlMDataStd" )
    ENDIF()

    IF(EXISTS "${BUILD_PATCH_DIR}/drv/XmlMDocStd")
      list( APPEND TKXmlL_COMPILER_DIRECTORIES "${BUILD_PATCH_DIR}/drv/XmlMDocStd" )
    ENDIF()
    IF(EXISTS "${BUILD_PATCH_DIR}/src/XmlMDocStd")
      list( APPEND TKXmlL_COMPILER_DIRECTORIES "${BUILD_PATCH_DIR}/src/XmlMDocStd" )
    ENDIF()

    IF(EXISTS "${BUILD_PATCH_DIR}/drv/XmlMFunction")
      list( APPEND TKXmlL_COMPILER_DIRECTORIES "${BUILD_PATCH_DIR}/drv/XmlMFunction" )
    ENDIF()
    IF(EXISTS "${BUILD_PATCH_DIR}/src/XmlMFunction")
      list( APPEND TKXmlL_COMPILER_DIRECTORIES "${BUILD_PATCH_DIR}/src/XmlMFunction" )
    ENDIF()

    IF(EXISTS "${BUILD_PATCH_DIR}/drv/XmlObjMgt")
      list( APPEND TKXmlL_COMPILER_DIRECTORIES "${BUILD_PATCH_DIR}/drv/XmlObjMgt" )
    ENDIF()
    IF(EXISTS "${BUILD_PATCH_DIR}/src/XmlObjMgt")
      list( APPEND TKXmlL_COMPILER_DIRECTORIES "${BUILD_PATCH_DIR}/src/XmlObjMgt" )
    ENDIF()

  ENDIF()

  IF(EXISTS "${CMAKE_SOURCE_DIR}/drv/XmlLDrivers")
    list( APPEND TKXmlL_COMPILER_DIRECTORIES "${CMAKE_SOURCE_DIR}/drv/XmlLDrivers" )
  ENDIF()
  IF(EXISTS "${CMAKE_SOURCE_DIR}/src/XmlLDrivers")
    list( APPEND TKXmlL_COMPILER_DIRECTORIES "${CMAKE_SOURCE_DIR}/src/XmlLDrivers" )
  ENDIF()

  IF(EXISTS "${CMAKE_SOURCE_DIR}/drv/XmlMDF")
    list( APPEND TKXmlL_COMPILER_DIRECTORIES "${CMAKE_SOURCE_DIR}/drv/XmlMDF" )
  ENDIF()
  IF(EXISTS "${CMAKE_SOURCE_DIR}/src/XmlMDF")
    list( APPEND TKXmlL_COMPILER_DIRECTORIES "${CMAKE_SOURCE_DIR}/src/XmlMDF" )
  ENDIF()

  IF(EXISTS "${CMAKE_SOURCE_DIR}/drv/XmlMDataStd")
    list( APPEND TKXmlL_COMPILER_DIRECTORIES "${CMAKE_SOURCE_DIR}/drv/XmlMDataStd" )
  ENDIF()
  IF(EXISTS "${CMAKE_SOURCE_DIR}/src/XmlMDataStd")
    list( APPEND TKXmlL_COMPILER_DIRECTORIES "${CMAKE_SOURCE_DIR}/src/XmlMDataStd" )
  ENDIF()

  IF(EXISTS "${CMAKE_SOURCE_DIR}/drv/XmlMDocStd")
    list( APPEND TKXmlL_COMPILER_DIRECTORIES "${CMAKE_SOURCE_DIR}/drv/XmlMDocStd" )
  ENDIF()
  IF(EXISTS "${CMAKE_SOURCE_DIR}/src/XmlMDocStd")
    list( APPEND TKXmlL_COMPILER_DIRECTORIES "${CMAKE_SOURCE_DIR}/src/XmlMDocStd" )
  ENDIF()

  IF(EXISTS "${CMAKE_SOURCE_DIR}/drv/XmlMFunction")
    list( APPEND TKXmlL_COMPILER_DIRECTORIES "${CMAKE_SOURCE_DIR}/drv/XmlMFunction" )
  ENDIF()
  IF(EXISTS "${CMAKE_SOURCE_DIR}/src/XmlMFunction")
    list( APPEND TKXmlL_COMPILER_DIRECTORIES "${CMAKE_SOURCE_DIR}/src/XmlMFunction" )
  ENDIF()

  IF(EXISTS "${CMAKE_SOURCE_DIR}/drv/XmlObjMgt")
    list( APPEND TKXmlL_COMPILER_DIRECTORIES "${CMAKE_SOURCE_DIR}/drv/XmlObjMgt" )
  ENDIF()
  IF(EXISTS "${CMAKE_SOURCE_DIR}/src/XmlObjMgt")
    list( APPEND TKXmlL_COMPILER_DIRECTORIES "${CMAKE_SOURCE_DIR}/src/XmlObjMgt" )
  ENDIF()

IF (WIN32)
  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "")
  ENDIF()

ELSE()
  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "")
  ENDIF()

ENDIF()

  list( APPEND TKXmlL_USED_LIBS TKCDF )
  list( APPEND TKXmlL_USED_LIBS TKernel )
  list( APPEND TKXmlL_USED_LIBS TKMath )
  list( APPEND TKXmlL_USED_LIBS TKLCAF )

if (WIN32)
elseif(APPLE)
elseif(ANDROID)
else()
endif()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//drv/XmlLDrivers/XmlLDrivers_SequenceNodeOfSequenceOfNamespaceDef_0.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//drv/XmlLDrivers/XmlLDrivers_SequenceNodeOfSequenceOfNamespaceDef_0.cxx" )
    SOURCE_GROUP (XmlLDrivers FILES "${BUILD_PATCH_DIR}//drv/XmlLDrivers/XmlLDrivers_SequenceNodeOfSequenceOfNamespaceDef_0.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//drv/XmlLDrivers/XmlLDrivers_SequenceNodeOfSequenceOfNamespaceDef_0.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//drv/XmlLDrivers/XmlLDrivers_SequenceNodeOfSequenceOfNamespaceDef_0.cxx" )
      SOURCE_GROUP (XmlLDrivers FILES "${CMAKE_SOURCE_DIR}//drv/XmlLDrivers/XmlLDrivers_SequenceNodeOfSequenceOfNamespaceDef_0.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//drv/XmlLDrivers/XmlLDrivers_SequenceOfNamespaceDef_0.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//drv/XmlLDrivers/XmlLDrivers_SequenceOfNamespaceDef_0.cxx" )
    SOURCE_GROUP (XmlLDrivers FILES "${BUILD_PATCH_DIR}//drv/XmlLDrivers/XmlLDrivers_SequenceOfNamespaceDef_0.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//drv/XmlLDrivers/XmlLDrivers_SequenceOfNamespaceDef_0.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//drv/XmlLDrivers/XmlLDrivers_SequenceOfNamespaceDef_0.cxx" )
      SOURCE_GROUP (XmlLDrivers FILES "${CMAKE_SOURCE_DIR}//drv/XmlLDrivers/XmlLDrivers_SequenceOfNamespaceDef_0.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlLDrivers/XmlLDrivers.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlLDrivers/XmlLDrivers.cxx" )
    SOURCE_GROUP (XmlLDrivers FILES "${BUILD_PATCH_DIR}//src/XmlLDrivers/XmlLDrivers.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlLDrivers/XmlLDrivers.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlLDrivers/XmlLDrivers.cxx" )
      SOURCE_GROUP (XmlLDrivers FILES "${CMAKE_SOURCE_DIR}//src/XmlLDrivers/XmlLDrivers.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlLDrivers/XmlLDrivers_DocumentRetrievalDriver.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlLDrivers/XmlLDrivers_DocumentRetrievalDriver.cxx" )
    SOURCE_GROUP (XmlLDrivers FILES "${BUILD_PATCH_DIR}//src/XmlLDrivers/XmlLDrivers_DocumentRetrievalDriver.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlLDrivers/XmlLDrivers_DocumentRetrievalDriver.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlLDrivers/XmlLDrivers_DocumentRetrievalDriver.cxx" )
      SOURCE_GROUP (XmlLDrivers FILES "${CMAKE_SOURCE_DIR}//src/XmlLDrivers/XmlLDrivers_DocumentRetrievalDriver.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlLDrivers/XmlLDrivers_DocumentStorageDriver.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlLDrivers/XmlLDrivers_DocumentStorageDriver.cxx" )
    SOURCE_GROUP (XmlLDrivers FILES "${BUILD_PATCH_DIR}//src/XmlLDrivers/XmlLDrivers_DocumentStorageDriver.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlLDrivers/XmlLDrivers_DocumentStorageDriver.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlLDrivers/XmlLDrivers_DocumentStorageDriver.cxx" )
      SOURCE_GROUP (XmlLDrivers FILES "${CMAKE_SOURCE_DIR}//src/XmlLDrivers/XmlLDrivers_DocumentStorageDriver.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlLDrivers/XmlLDrivers_NamespaceDef.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlLDrivers/XmlLDrivers_NamespaceDef.cxx" )
    SOURCE_GROUP (XmlLDrivers FILES "${BUILD_PATCH_DIR}//src/XmlLDrivers/XmlLDrivers_NamespaceDef.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlLDrivers/XmlLDrivers_NamespaceDef.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlLDrivers/XmlLDrivers_NamespaceDef.cxx" )
      SOURCE_GROUP (XmlLDrivers FILES "${CMAKE_SOURCE_DIR}//src/XmlLDrivers/XmlLDrivers_NamespaceDef.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//drv/XmlMDF/XmlMDF_DataMapIteratorOfMapOfDriver_0.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//drv/XmlMDF/XmlMDF_DataMapIteratorOfMapOfDriver_0.cxx" )
    SOURCE_GROUP (XmlMDF FILES "${BUILD_PATCH_DIR}//drv/XmlMDF/XmlMDF_DataMapIteratorOfMapOfDriver_0.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//drv/XmlMDF/XmlMDF_DataMapIteratorOfMapOfDriver_0.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//drv/XmlMDF/XmlMDF_DataMapIteratorOfMapOfDriver_0.cxx" )
      SOURCE_GROUP (XmlMDF FILES "${CMAKE_SOURCE_DIR}//drv/XmlMDF/XmlMDF_DataMapIteratorOfMapOfDriver_0.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//drv/XmlMDF/XmlMDF_DataMapIteratorOfTypeADriverMap_0.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//drv/XmlMDF/XmlMDF_DataMapIteratorOfTypeADriverMap_0.cxx" )
    SOURCE_GROUP (XmlMDF FILES "${BUILD_PATCH_DIR}//drv/XmlMDF/XmlMDF_DataMapIteratorOfTypeADriverMap_0.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//drv/XmlMDF/XmlMDF_DataMapIteratorOfTypeADriverMap_0.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//drv/XmlMDF/XmlMDF_DataMapIteratorOfTypeADriverMap_0.cxx" )
      SOURCE_GROUP (XmlMDF FILES "${CMAKE_SOURCE_DIR}//drv/XmlMDF/XmlMDF_DataMapIteratorOfTypeADriverMap_0.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//drv/XmlMDF/XmlMDF_DataMapNodeOfMapOfDriver_0.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//drv/XmlMDF/XmlMDF_DataMapNodeOfMapOfDriver_0.cxx" )
    SOURCE_GROUP (XmlMDF FILES "${BUILD_PATCH_DIR}//drv/XmlMDF/XmlMDF_DataMapNodeOfMapOfDriver_0.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//drv/XmlMDF/XmlMDF_DataMapNodeOfMapOfDriver_0.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//drv/XmlMDF/XmlMDF_DataMapNodeOfMapOfDriver_0.cxx" )
      SOURCE_GROUP (XmlMDF FILES "${CMAKE_SOURCE_DIR}//drv/XmlMDF/XmlMDF_DataMapNodeOfMapOfDriver_0.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//drv/XmlMDF/XmlMDF_DataMapNodeOfTypeADriverMap_0.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//drv/XmlMDF/XmlMDF_DataMapNodeOfTypeADriverMap_0.cxx" )
    SOURCE_GROUP (XmlMDF FILES "${BUILD_PATCH_DIR}//drv/XmlMDF/XmlMDF_DataMapNodeOfTypeADriverMap_0.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//drv/XmlMDF/XmlMDF_DataMapNodeOfTypeADriverMap_0.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//drv/XmlMDF/XmlMDF_DataMapNodeOfTypeADriverMap_0.cxx" )
      SOURCE_GROUP (XmlMDF FILES "${CMAKE_SOURCE_DIR}//drv/XmlMDF/XmlMDF_DataMapNodeOfTypeADriverMap_0.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//drv/XmlMDF/XmlMDF_MapOfDriver_0.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//drv/XmlMDF/XmlMDF_MapOfDriver_0.cxx" )
    SOURCE_GROUP (XmlMDF FILES "${BUILD_PATCH_DIR}//drv/XmlMDF/XmlMDF_MapOfDriver_0.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//drv/XmlMDF/XmlMDF_MapOfDriver_0.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//drv/XmlMDF/XmlMDF_MapOfDriver_0.cxx" )
      SOURCE_GROUP (XmlMDF FILES "${CMAKE_SOURCE_DIR}//drv/XmlMDF/XmlMDF_MapOfDriver_0.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//drv/XmlMDF/XmlMDF_TypeADriverMap_0.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//drv/XmlMDF/XmlMDF_TypeADriverMap_0.cxx" )
    SOURCE_GROUP (XmlMDF FILES "${BUILD_PATCH_DIR}//drv/XmlMDF/XmlMDF_TypeADriverMap_0.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//drv/XmlMDF/XmlMDF_TypeADriverMap_0.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//drv/XmlMDF/XmlMDF_TypeADriverMap_0.cxx" )
      SOURCE_GROUP (XmlMDF FILES "${CMAKE_SOURCE_DIR}//drv/XmlMDF/XmlMDF_TypeADriverMap_0.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlMDF/XmlMDF.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlMDF/XmlMDF.cxx" )
    SOURCE_GROUP (XmlMDF FILES "${BUILD_PATCH_DIR}//src/XmlMDF/XmlMDF.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlMDF/XmlMDF.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlMDF/XmlMDF.cxx" )
      SOURCE_GROUP (XmlMDF FILES "${CMAKE_SOURCE_DIR}//src/XmlMDF/XmlMDF.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlMDF/XmlMDF_ADriver.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlMDF/XmlMDF_ADriver.cxx" )
    SOURCE_GROUP (XmlMDF FILES "${BUILD_PATCH_DIR}//src/XmlMDF/XmlMDF_ADriver.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlMDF/XmlMDF_ADriver.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlMDF/XmlMDF_ADriver.cxx" )
      SOURCE_GROUP (XmlMDF FILES "${CMAKE_SOURCE_DIR}//src/XmlMDF/XmlMDF_ADriver.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlMDF/XmlMDF_ADriverTable.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlMDF/XmlMDF_ADriverTable.cxx" )
    SOURCE_GROUP (XmlMDF FILES "${BUILD_PATCH_DIR}//src/XmlMDF/XmlMDF_ADriverTable.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlMDF/XmlMDF_ADriverTable.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlMDF/XmlMDF_ADriverTable.cxx" )
      SOURCE_GROUP (XmlMDF FILES "${CMAKE_SOURCE_DIR}//src/XmlMDF/XmlMDF_ADriverTable.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlMDF/XmlMDF_ReferenceDriver.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlMDF/XmlMDF_ReferenceDriver.cxx" )
    SOURCE_GROUP (XmlMDF FILES "${BUILD_PATCH_DIR}//src/XmlMDF/XmlMDF_ReferenceDriver.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlMDF/XmlMDF_ReferenceDriver.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlMDF/XmlMDF_ReferenceDriver.cxx" )
      SOURCE_GROUP (XmlMDF FILES "${CMAKE_SOURCE_DIR}//src/XmlMDF/XmlMDF_ReferenceDriver.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlMDF/XmlMDF_TagSourceDriver.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlMDF/XmlMDF_TagSourceDriver.cxx" )
    SOURCE_GROUP (XmlMDF FILES "${BUILD_PATCH_DIR}//src/XmlMDF/XmlMDF_TagSourceDriver.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlMDF/XmlMDF_TagSourceDriver.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlMDF/XmlMDF_TagSourceDriver.cxx" )
      SOURCE_GROUP (XmlMDF FILES "${CMAKE_SOURCE_DIR}//src/XmlMDF/XmlMDF_TagSourceDriver.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd.cxx" )
    SOURCE_GROUP (XmlMDataStd FILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd.cxx" )
      SOURCE_GROUP (XmlMDataStd FILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_AsciiStringDriver.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_AsciiStringDriver.cxx" )
    SOURCE_GROUP (XmlMDataStd FILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_AsciiStringDriver.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_AsciiStringDriver.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_AsciiStringDriver.cxx" )
      SOURCE_GROUP (XmlMDataStd FILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_AsciiStringDriver.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_BooleanArrayDriver.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_BooleanArrayDriver.cxx" )
    SOURCE_GROUP (XmlMDataStd FILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_BooleanArrayDriver.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_BooleanArrayDriver.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_BooleanArrayDriver.cxx" )
      SOURCE_GROUP (XmlMDataStd FILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_BooleanArrayDriver.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_BooleanListDriver.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_BooleanListDriver.cxx" )
    SOURCE_GROUP (XmlMDataStd FILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_BooleanListDriver.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_BooleanListDriver.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_BooleanListDriver.cxx" )
      SOURCE_GROUP (XmlMDataStd FILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_BooleanListDriver.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_ByteArrayDriver.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_ByteArrayDriver.cxx" )
    SOURCE_GROUP (XmlMDataStd FILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_ByteArrayDriver.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_ByteArrayDriver.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_ByteArrayDriver.cxx" )
      SOURCE_GROUP (XmlMDataStd FILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_ByteArrayDriver.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_CommentDriver.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_CommentDriver.cxx" )
    SOURCE_GROUP (XmlMDataStd FILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_CommentDriver.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_CommentDriver.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_CommentDriver.cxx" )
      SOURCE_GROUP (XmlMDataStd FILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_CommentDriver.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_DirectoryDriver.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_DirectoryDriver.cxx" )
    SOURCE_GROUP (XmlMDataStd FILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_DirectoryDriver.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_DirectoryDriver.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_DirectoryDriver.cxx" )
      SOURCE_GROUP (XmlMDataStd FILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_DirectoryDriver.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_ExpressionDriver.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_ExpressionDriver.cxx" )
    SOURCE_GROUP (XmlMDataStd FILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_ExpressionDriver.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_ExpressionDriver.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_ExpressionDriver.cxx" )
      SOURCE_GROUP (XmlMDataStd FILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_ExpressionDriver.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_ExtStringArrayDriver.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_ExtStringArrayDriver.cxx" )
    SOURCE_GROUP (XmlMDataStd FILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_ExtStringArrayDriver.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_ExtStringArrayDriver.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_ExtStringArrayDriver.cxx" )
      SOURCE_GROUP (XmlMDataStd FILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_ExtStringArrayDriver.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_ExtStringListDriver.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_ExtStringListDriver.cxx" )
    SOURCE_GROUP (XmlMDataStd FILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_ExtStringListDriver.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_ExtStringListDriver.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_ExtStringListDriver.cxx" )
      SOURCE_GROUP (XmlMDataStd FILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_ExtStringListDriver.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_IntPackedMapDriver.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_IntPackedMapDriver.cxx" )
    SOURCE_GROUP (XmlMDataStd FILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_IntPackedMapDriver.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_IntPackedMapDriver.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_IntPackedMapDriver.cxx" )
      SOURCE_GROUP (XmlMDataStd FILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_IntPackedMapDriver.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_IntegerArrayDriver.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_IntegerArrayDriver.cxx" )
    SOURCE_GROUP (XmlMDataStd FILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_IntegerArrayDriver.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_IntegerArrayDriver.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_IntegerArrayDriver.cxx" )
      SOURCE_GROUP (XmlMDataStd FILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_IntegerArrayDriver.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_IntegerDriver.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_IntegerDriver.cxx" )
    SOURCE_GROUP (XmlMDataStd FILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_IntegerDriver.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_IntegerDriver.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_IntegerDriver.cxx" )
      SOURCE_GROUP (XmlMDataStd FILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_IntegerDriver.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_IntegerListDriver.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_IntegerListDriver.cxx" )
    SOURCE_GROUP (XmlMDataStd FILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_IntegerListDriver.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_IntegerListDriver.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_IntegerListDriver.cxx" )
      SOURCE_GROUP (XmlMDataStd FILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_IntegerListDriver.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_NameDriver.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_NameDriver.cxx" )
    SOURCE_GROUP (XmlMDataStd FILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_NameDriver.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_NameDriver.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_NameDriver.cxx" )
      SOURCE_GROUP (XmlMDataStd FILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_NameDriver.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_NamedDataDriver.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_NamedDataDriver.cxx" )
    SOURCE_GROUP (XmlMDataStd FILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_NamedDataDriver.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_NamedDataDriver.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_NamedDataDriver.cxx" )
      SOURCE_GROUP (XmlMDataStd FILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_NamedDataDriver.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_NoteBookDriver.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_NoteBookDriver.cxx" )
    SOURCE_GROUP (XmlMDataStd FILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_NoteBookDriver.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_NoteBookDriver.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_NoteBookDriver.cxx" )
      SOURCE_GROUP (XmlMDataStd FILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_NoteBookDriver.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_RealArrayDriver.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_RealArrayDriver.cxx" )
    SOURCE_GROUP (XmlMDataStd FILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_RealArrayDriver.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_RealArrayDriver.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_RealArrayDriver.cxx" )
      SOURCE_GROUP (XmlMDataStd FILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_RealArrayDriver.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_RealDriver.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_RealDriver.cxx" )
    SOURCE_GROUP (XmlMDataStd FILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_RealDriver.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_RealDriver.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_RealDriver.cxx" )
      SOURCE_GROUP (XmlMDataStd FILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_RealDriver.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_RealListDriver.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_RealListDriver.cxx" )
    SOURCE_GROUP (XmlMDataStd FILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_RealListDriver.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_RealListDriver.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_RealListDriver.cxx" )
      SOURCE_GROUP (XmlMDataStd FILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_RealListDriver.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_ReferenceArrayDriver.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_ReferenceArrayDriver.cxx" )
    SOURCE_GROUP (XmlMDataStd FILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_ReferenceArrayDriver.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_ReferenceArrayDriver.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_ReferenceArrayDriver.cxx" )
      SOURCE_GROUP (XmlMDataStd FILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_ReferenceArrayDriver.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_ReferenceListDriver.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_ReferenceListDriver.cxx" )
    SOURCE_GROUP (XmlMDataStd FILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_ReferenceListDriver.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_ReferenceListDriver.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_ReferenceListDriver.cxx" )
      SOURCE_GROUP (XmlMDataStd FILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_ReferenceListDriver.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_RelationDriver.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_RelationDriver.cxx" )
    SOURCE_GROUP (XmlMDataStd FILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_RelationDriver.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_RelationDriver.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_RelationDriver.cxx" )
      SOURCE_GROUP (XmlMDataStd FILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_RelationDriver.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_TickDriver.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_TickDriver.cxx" )
    SOURCE_GROUP (XmlMDataStd FILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_TickDriver.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_TickDriver.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_TickDriver.cxx" )
      SOURCE_GROUP (XmlMDataStd FILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_TickDriver.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_TreeNodeDriver.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_TreeNodeDriver.cxx" )
    SOURCE_GROUP (XmlMDataStd FILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_TreeNodeDriver.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_TreeNodeDriver.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_TreeNodeDriver.cxx" )
      SOURCE_GROUP (XmlMDataStd FILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_TreeNodeDriver.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_UAttributeDriver.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_UAttributeDriver.cxx" )
    SOURCE_GROUP (XmlMDataStd FILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_UAttributeDriver.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_UAttributeDriver.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_UAttributeDriver.cxx" )
      SOURCE_GROUP (XmlMDataStd FILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_UAttributeDriver.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_VariableDriver.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_VariableDriver.cxx" )
    SOURCE_GROUP (XmlMDataStd FILES "${BUILD_PATCH_DIR}//src/XmlMDataStd/XmlMDataStd_VariableDriver.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_VariableDriver.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_VariableDriver.cxx" )
      SOURCE_GROUP (XmlMDataStd FILES "${CMAKE_SOURCE_DIR}//src/XmlMDataStd/XmlMDataStd_VariableDriver.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlMDocStd/XmlMDocStd.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlMDocStd/XmlMDocStd.cxx" )
    SOURCE_GROUP (XmlMDocStd FILES "${BUILD_PATCH_DIR}//src/XmlMDocStd/XmlMDocStd.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlMDocStd/XmlMDocStd.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlMDocStd/XmlMDocStd.cxx" )
      SOURCE_GROUP (XmlMDocStd FILES "${CMAKE_SOURCE_DIR}//src/XmlMDocStd/XmlMDocStd.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlMDocStd/XmlMDocStd_XLinkDriver.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlMDocStd/XmlMDocStd_XLinkDriver.cxx" )
    SOURCE_GROUP (XmlMDocStd FILES "${BUILD_PATCH_DIR}//src/XmlMDocStd/XmlMDocStd_XLinkDriver.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlMDocStd/XmlMDocStd_XLinkDriver.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlMDocStd/XmlMDocStd_XLinkDriver.cxx" )
      SOURCE_GROUP (XmlMDocStd FILES "${CMAKE_SOURCE_DIR}//src/XmlMDocStd/XmlMDocStd_XLinkDriver.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlMFunction/XmlMFunction.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlMFunction/XmlMFunction.cxx" )
    SOURCE_GROUP (XmlMFunction FILES "${BUILD_PATCH_DIR}//src/XmlMFunction/XmlMFunction.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlMFunction/XmlMFunction.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlMFunction/XmlMFunction.cxx" )
      SOURCE_GROUP (XmlMFunction FILES "${CMAKE_SOURCE_DIR}//src/XmlMFunction/XmlMFunction.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlMFunction/XmlMFunction_FunctionDriver.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlMFunction/XmlMFunction_FunctionDriver.cxx" )
    SOURCE_GROUP (XmlMFunction FILES "${BUILD_PATCH_DIR}//src/XmlMFunction/XmlMFunction_FunctionDriver.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlMFunction/XmlMFunction_FunctionDriver.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlMFunction/XmlMFunction_FunctionDriver.cxx" )
      SOURCE_GROUP (XmlMFunction FILES "${CMAKE_SOURCE_DIR}//src/XmlMFunction/XmlMFunction_FunctionDriver.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlMFunction/XmlMFunction_GraphNodeDriver.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlMFunction/XmlMFunction_GraphNodeDriver.cxx" )
    SOURCE_GROUP (XmlMFunction FILES "${BUILD_PATCH_DIR}//src/XmlMFunction/XmlMFunction_GraphNodeDriver.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlMFunction/XmlMFunction_GraphNodeDriver.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlMFunction/XmlMFunction_GraphNodeDriver.cxx" )
      SOURCE_GROUP (XmlMFunction FILES "${CMAKE_SOURCE_DIR}//src/XmlMFunction/XmlMFunction_GraphNodeDriver.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlMFunction/XmlMFunction_ScopeDriver.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlMFunction/XmlMFunction_ScopeDriver.cxx" )
    SOURCE_GROUP (XmlMFunction FILES "${BUILD_PATCH_DIR}//src/XmlMFunction/XmlMFunction_ScopeDriver.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlMFunction/XmlMFunction_ScopeDriver.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlMFunction/XmlMFunction_ScopeDriver.cxx" )
      SOURCE_GROUP (XmlMFunction FILES "${CMAKE_SOURCE_DIR}//src/XmlMFunction/XmlMFunction_ScopeDriver.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlObjMgt/XmlObjMgt.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlObjMgt/XmlObjMgt.cxx" )
    SOURCE_GROUP (XmlObjMgt FILES "${BUILD_PATCH_DIR}//src/XmlObjMgt/XmlObjMgt.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlObjMgt/XmlObjMgt.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlObjMgt/XmlObjMgt.cxx" )
      SOURCE_GROUP (XmlObjMgt FILES "${CMAKE_SOURCE_DIR}//src/XmlObjMgt/XmlObjMgt.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlObjMgt/XmlObjMgt_Array1.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlObjMgt/XmlObjMgt_Array1.cxx" )
    SOURCE_GROUP (XmlObjMgt FILES "${BUILD_PATCH_DIR}//src/XmlObjMgt/XmlObjMgt_Array1.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlObjMgt/XmlObjMgt_Array1.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlObjMgt/XmlObjMgt_Array1.cxx" )
      SOURCE_GROUP (XmlObjMgt FILES "${CMAKE_SOURCE_DIR}//src/XmlObjMgt/XmlObjMgt_Array1.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlObjMgt/XmlObjMgt_GP.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlObjMgt/XmlObjMgt_GP.cxx" )
    SOURCE_GROUP (XmlObjMgt FILES "${BUILD_PATCH_DIR}//src/XmlObjMgt/XmlObjMgt_GP.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlObjMgt/XmlObjMgt_GP.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlObjMgt/XmlObjMgt_GP.cxx" )
      SOURCE_GROUP (XmlObjMgt FILES "${CMAKE_SOURCE_DIR}//src/XmlObjMgt/XmlObjMgt_GP.cxx")
    ENDIF()
  ENDIF()

  IF(NOT "${BUILD_PATCH_DIR}" STREQUAL "" AND EXISTS "${BUILD_PATCH_DIR}//src/XmlObjMgt/XmlObjMgt_Persistent.cxx")
    list( APPEND TKXmlL_USED_SRCFILES "${BUILD_PATCH_DIR}//src/XmlObjMgt/XmlObjMgt_Persistent.cxx" )
    SOURCE_GROUP (XmlObjMgt FILES "${BUILD_PATCH_DIR}//src/XmlObjMgt/XmlObjMgt_Persistent.cxx")
  ELSE()
    IF(EXISTS "${CMAKE_SOURCE_DIR}//src/XmlObjMgt/XmlObjMgt_Persistent.cxx")
      list( APPEND TKXmlL_USED_SRCFILES "${CMAKE_SOURCE_DIR}//src/XmlObjMgt/XmlObjMgt_Persistent.cxx" )
      SOURCE_GROUP (XmlObjMgt FILES "${CMAKE_SOURCE_DIR}//src/XmlObjMgt/XmlObjMgt_Persistent.cxx")
    ENDIF()
  ENDIF()


IF (WIN32)
ELSE()

  IF (APPLE)

  ENDIF()

ENDIF()

if ("${USED_TOOLKITS}" STREQUAL "" OR DEFINED TurnONtheTKXmlL)
 add_library( TKXmlL SHARED ${TKXmlL_USED_SRCFILES} )

 set_property(TARGET TKXmlL PROPERTY FOLDER ApplicationFramework)

 install( TARGETS TKXmlL
                                 RUNTIME DESTINATION "${INSTALL_DIR}/${OS_WITH_BIT}/${COMPILER}/bin${BUILD_POSTFIX}"
                                 ARCHIVE DESTINATION "${INSTALL_DIR}/${OS_WITH_BIT}/${COMPILER}/lib${BUILD_POSTFIX}"
                                 LIBRARY DESTINATION "${INSTALL_DIR}/${OS_WITH_BIT}/${COMPILER}/lib${BUILD_POSTFIX}")

 if (MSVC)
  install( FILES  ${CMAKE_BINARY_DIR}/out/bind/Debug/TKXmlL.pdb CONFIGURATIONS Debug
                                  DESTINATION "${INSTALL_DIR}/${OS_WITH_BIT}/${COMPILER}/bin${BUILD_POSTFIX}")
 endif()


 set_target_properties( TKXmlL PROPERTIES COMPILE_FLAGS "${TKXmlL_PRECOMPILED_DEFS}" )
 include_directories( ${TKXmlL_COMPILER_DIRECTORIES} )
 target_link_libraries( TKXmlL ${TKXmlL_USED_LIBS} )
endif()
