QAD and PIQt overall messages (as at recent PIP)
This commit is contained in:
@@ -23,6 +23,8 @@ macro(_qt_plugin NAME _MODULES _LIBS)
|
||||
else()
|
||||
qt_install(TARGETS ${PROJ_NAME} DESTINATION QtPlugins/designer)
|
||||
endif()
|
||||
list(APPEND _qt_plugs ${NAME})
|
||||
copy_to_parent("")
|
||||
endif()
|
||||
endif()
|
||||
endmacro()
|
||||
@@ -35,12 +37,14 @@ macro(_qt_project NAME IS_APP DOMAIN _MODULES _LIBS)
|
||||
import_version(${PROJ_NAME} ${DOMAIN})
|
||||
import_deploy_properties(${PROJ_NAME} ${DOMAIN})
|
||||
if (${IS_APP})
|
||||
list(APPEND _qt_apps ${PROJ_NAME})
|
||||
set_deploy_property(${PROJ_NAME}
|
||||
LABEL ${PROJ_NAME}
|
||||
FULLNAME "${_${DOMAIN}_DOMAIN}.${PROJ_NAME}"
|
||||
INFO "${APP_INFO}"
|
||||
ICON "${APP_ICON}")
|
||||
else()
|
||||
list(APPEND _qt_libs ${PROJ_NAME})
|
||||
set_deploy_property(${PROJ_NAME} SHARED
|
||||
LABEL ${PROJ_NAME}
|
||||
FULLNAME "${_${DOMAIN}_DOMAIN}.${PROJ_NAME}"
|
||||
@@ -60,12 +64,12 @@ macro(_qt_project NAME IS_APP DOMAIN _MODULES _LIBS)
|
||||
endif()
|
||||
qt_target_link_libraries(${PROJ_NAME} ${_LIBS})
|
||||
list(APPEND QT_MULTILIB_LIST ${PROJ_NAME})
|
||||
set(QT_MULTILIB_LIST ${QT_MULTILIB_LIST} PARENT_SCOPE)
|
||||
message(STATUS "Building ${PROJ_NAME}")
|
||||
#message(STATUS "Building ${PROJ_NAME}")
|
||||
if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/plugin")
|
||||
set(_${NAME}_PLUGIN_LIBS "${_LIBS}")
|
||||
add_subdirectory(plugin)
|
||||
endif()
|
||||
copy_to_parent("")
|
||||
endmacro()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user