mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-23 18:32:55 +00:00
make the setup of KATIE_COMPONENTS and KATIE_TOOLS dynamic
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
947b385fa6
commit
5de582be65
2 changed files with 9 additions and 3 deletions
|
@ -28,6 +28,10 @@ include(FeatureSummary)
|
|||
include(KatieMacros)
|
||||
include(KatieBuildMacros)
|
||||
|
||||
# components and tools that will be build, changed depending on the requirements availability
|
||||
set(KATIE_COMPONENTS "Core Gui Declarative Designer DesignerComponents Help Multimedia Network Sql Svg Xml XmlPatterns Script ScriptTools Test UiTools")
|
||||
set(KATIE_TOOLS "moc uic rcc qhelpgenerator qcollectiongenerator lupdate lrelease lconvert designer")
|
||||
|
||||
# optional package features
|
||||
option(WITH_THREADS "Build threads support" ON)
|
||||
add_feature_info(threads WITH_THREADS "an open source something")
|
||||
|
@ -472,6 +476,8 @@ endif()
|
|||
|
||||
if(NOT WITH_OPENSSL OR NOT OPENSSL_FOUND)
|
||||
katie_definition(-DQT_NO_OPENSSL)
|
||||
else()
|
||||
set(KATIE_COMPONENTS "${KATIE_COMPONENTS} OpenGL")
|
||||
endif()
|
||||
|
||||
if(NOT WITH_FREETYPE OR NOT FREETYPE_FOUND)
|
||||
|
@ -485,6 +491,9 @@ endif()
|
|||
|
||||
if(NOT WITH_DBUS OR NOT DBUS_FOUND)
|
||||
katie_definition(-DQT_NO_DBUS)
|
||||
else()
|
||||
set(KATIE_COMPONENTS "${KATIE_COMPONENTS} DBus")
|
||||
set(KATIE_TOOLS "${KATIE_TOOLS} qdbusxml2cpp qdbuscpp2xml qdbusviewer")
|
||||
endif()
|
||||
|
||||
if(NOT WITH_GLIB2 OR NOT GLIB2_FOUND)
|
||||
|
|
|
@ -8,9 +8,6 @@ set(KATIE_VERSION "${KATIE_MAJOR}.${KATIE_MINOR}.${KATIE_MICRO}")
|
|||
set(KATIE_STRING "katie ${KATIE_MAJOR}.${KATIE_MINOR}.${KATIE_MICRO}")
|
||||
set(KATIE_BUGREPORT "xakepa10@gmail.com")
|
||||
set(KATIE_URL "http://github.com/fluxer/katie")
|
||||
set(KATIE_COMPONENTS "Core Gui DBus Declarative Designer DesignerComponents Help Multimedia Network OpenGL Sql Svg Xml XmlPatterns Script ScriptTools Test UiTools")
|
||||
# TODO: make dbus tools optional
|
||||
set(KATIE_TOOLS "moc uic rcc qdbusxml2cpp qdbuscpp2xml qdbusviewer qhelpgenerator qcollectiongenerator lupdate lrelease lconvert designer")
|
||||
set(QT_LICENSE "Open Source")
|
||||
set(QT_PRODUCT "AwesomeSauce") # it's not a bug, it's a feature!
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue