+
+
+macro (QT4_EXTRACT_OPTIONS _qt4_files _qt4_options)
+ set(${_qt4_files})
+ set(${_qt4_options})
+ set(_QT4_DOING_OPTIONS FALSE)
+ foreach (_currentArg ${ARGN})
+ if ("${_currentArg}" STREQUAL "OPTIONS")
+ set(_QT4_DOING_OPTIONS TRUE)
+ else ()
+ if (_QT4_DOING_OPTIONS)
+ list(APPEND ${_qt4_options} "${_currentArg}")
+ else()
+ list(APPEND ${_qt4_files} "${_currentArg}")
+ endif()
+ endif()
+ endforeach()
+endmacro()
+