git-svn-id: svn://db.shs.com.ru/libs@256 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2017-08-04 14:46:06 +00:00
parent 89b3f90131
commit f144f6ea7f
8 changed files with 99 additions and 4 deletions

View File

@@ -70,8 +70,8 @@ macro(qad_plugin NAME _MODULES _LIBS)
add_definitions(-DQT_NO_DEBUG)
add_definitions(-DQT_SHARED)
add_definitions(-DQDESIGNER_EXPORT_WIDGETS)
file(GLOB SRC "*.h" "*.cpp" "*.ui" "*.qrc" "lang/*.ts")
find_qt(${QtVersions} Core Designer ${_MODULES})
qt_sources(SRC)
qt_wrap(${SRC} CPPS out_CPP QMS out_QM)
qt_add_library(${PROJ_NAME} SHARED out_CPP)
qt_target_link_libraries(${PROJ_NAME} ${_LIBS} qad_${NAME} ${_${NAME}_PLUGIN_LIBS})
@@ -80,8 +80,8 @@ endmacro()
macro(qad_project NAME _MODULES _LIBS)
set(PROJ_NAME qad_${NAME})
file(GLOB SRC "*.h" "*.cpp" "*.ui" "*.qrc" "lang/*.ts")
find_qt(${QtVersions} Core ${_MODULES})
qt_sources(SRC)
qt_wrap(${SRC} HDRS out_HDR CPPS out_CPP QMS out_QM)
qt_add_library(${PROJ_NAME} SHARED out_CPP)
qt_target_link_libraries(${PROJ_NAME} ${_LIBS})