|
@@ -121,29 +121,35 @@ ExternalProject_Add(${proj}
|
|
|
#-----------------------------------------------------------------------------
|
|
|
# QtMobility
|
|
|
#
|
|
|
-#SET(qtmobility_modules "serviceframework")
|
|
|
-#SET(qtmobility_build_type "release")
|
|
|
-#IF(UNIX)
|
|
|
-# IF(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
|
|
-# SET(qtmobility_build_type "debug")
|
|
|
-# ENDIF()
|
|
|
-#ELSEIF(NOT ${CMAKE_CFG_INTDIR} STREQUAL "Release")
|
|
|
-# SET(qtmobility_build_type "debug")
|
|
|
-#ENDIf()
|
|
|
-#
|
|
|
-#SET(qtmobility_patchcmd )
|
|
|
-#IF(UNIX)
|
|
|
-# SET(qtmobility_patchcmd patch -p0 < ${CTK_SOURCE_DIR}/Utilities/QtMobility/QtMobilityBeta1-Linux.patch)
|
|
|
-#ENDIF(UNIX)
|
|
|
-#
|
|
|
-#SET(proj QtMobility)
|
|
|
-#ExternalProject_Add(${proj}
|
|
|
-# URL "http://get.qt.nokia.com/qt/solutions/qt-mobility-src-1.0.0-beta1.tar.gz"
|
|
|
-# CONFIGURE_COMMAND <SOURCE_DIR>/configure -${qtmobility_build_type} -libdir ${CMAKE_BINARY_DIR}/CTK-build/bin -no-docs -modules ${qtmobility_modules}
|
|
|
-# PATCH_COMMAND ${qtmobility_patchcmd}
|
|
|
-# BUILD_IN_SOURCE 1
|
|
|
-# )
|
|
|
-
|
|
|
+SET(proj QtMobility)
|
|
|
+
|
|
|
+# Configure patch script
|
|
|
+SET(qtmobility_src_dir ${ep_source_dir}/${proj})
|
|
|
+SET(qtmobility_patch_dir ${CTK_SOURCE_DIR}/Utilities/QtMobility/)
|
|
|
+SET(qtmobility_configured_patch_dir ${CTK_BINARY_DIR}/Utilities/QtMobility/)
|
|
|
+SET(qtmobility_patchscript
|
|
|
+ ${CTK_BINARY_DIR}/Utilities/QtMobility/QtMobilityBeta1-patch.cmake)
|
|
|
+CONFIGURE_FILE(
|
|
|
+ ${CTK_SOURCE_DIR}/Utilities/QtMobility/QtMobilityBeta1-patch.cmake.in
|
|
|
+ ${qtmobility_patchscript} @ONLY)
|
|
|
+
|
|
|
+# Define configure options
|
|
|
+SET(qtmobility_modules "serviceframework")
|
|
|
+SET(qtmobility_build_type "release")
|
|
|
+IF(UNIX)
|
|
|
+ IF(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
|
|
+ SET(qtmobility_build_type "debug")
|
|
|
+ ENDIF()
|
|
|
+ELSEIF(NOT ${CMAKE_CFG_INTDIR} STREQUAL "Release")
|
|
|
+ SET(qtmobility_build_type "debug")
|
|
|
+ENDIf()
|
|
|
+
|
|
|
+ExternalProject_Add(${proj}
|
|
|
+ URL "http://get.qt.nokia.com/qt/solutions/qt-mobility-src-1.0.0-beta1.tar.gz"
|
|
|
+ CONFIGURE_COMMAND <SOURCE_DIR>/configure -${qtmobility_build_type} -libdir ${CMAKE_BINARY_DIR}/CTK-build/bin -no-docs -modules ${qtmobility_modules}
|
|
|
+ PATCH_COMMAND ${CMAKE_COMMAND} -P ${qtmobility_patchscript}
|
|
|
+ BUILD_IN_SOURCE 1
|
|
|
+ )
|
|
|
|
|
|
#-----------------------------------------------------------------------------
|
|
|
# Utilities/OpenIGTLink
|
|
@@ -185,10 +191,10 @@ ExternalProject_Add(${proj}
|
|
|
${kwstyle_DEPENDS}
|
|
|
${DCMTK_DEPENDS}
|
|
|
${PythonQt_DEPENDS}
|
|
|
- "ZMQ"
|
|
|
- "OpenIGTLink"
|
|
|
-# "XIP"
|
|
|
-# "QtMobility"
|
|
|
+ ZMQ
|
|
|
+ OpenIGTLink
|
|
|
+# XIP
|
|
|
+ QtMobility
|
|
|
)
|
|
|
|
|
|
#-----------------------------------------------------------------------------
|