libqxt / libqxt.pro

#
#
#
#
#
#
#      !!!!!
#
#      keep your hands of
#      configuration is in config.pro 
#
#      !!!!!
#
#
#
#
#
#
#
#
include (config.pri)
TEMPLATE = subdirs



unix :  docs.path = $${QXTINSTALLDIR}/doc/libqxt
win32:  docs.path = $${QXTINSTALLDIR}/docs
macx :  docs.path = $${QXTINSTALLDIR}/docs
        docs.files = deploy/docs/*


unix :  lib.path = $${QXTINSTALLDIR}/lib
win32:  lib.path = $${QXTINSTALLDIR}/lib
macx :  lib.path = $${QXTINSTALLDIR}/lib
        lib.files = deploy/libs/*


unix :  include.path = $${QXTINSTALLDIR}/include/Qxt
win32:  include.path = $${QXTINSTALLDIR}/include/Qxt
macx :  include.path =  $${QXTINSTALLDIR}/include/Qxt

qxtincludes.path = $${include.path}/Qxt
qxtincludes.files= deploy/include/Qxt/*




unix :  bin.path  = $${QXTINSTALLDIR}/bin
win32:  bin.path  = $${QXTINSTALLDIR}/bin
macx :  bin.path  =  $${QXTINSTALLDIR}/bin
        bin.files =


#write the paths to prf file
unix :system((echo QXTbase=$${QXTINSTALLDIR}; echo QXTinclude=$${include.path}; echo QXTbin=$${bin.path}; echo QXTlib=$${lib.path}; cat deploy/qt/qxt.prf.m) > deploy/qt/qxt.prf)
win32:system(move deploy/qt/qxt.prf.m deploy/qt/qxt.prf)  #TODO HANDLE IT!





features.path = $$[QT_INSTALL_DATA]/mkspecs/features
features.files = deploy/qt/*.prf        








INSTALLS = lib docs bin qxtincludes features 




contains( QXT, core ){
        message( building the core )
        SUBDIRS += src/core     
        core.files +=  src/core/*.h
        core.files +=  deploy/include/QxtCore/*
        core.path  =  $${include.path}/QxtCore
        INSTALLS += core
        }

contains( QXT, kit ){
        message( building kit module )
        SUBDIRS += src/kit
        kit.files +=  src/kit/*.h
        kit.files +=  deploy/include/QxtKit/*
        kit.path  =  $${include.path}/QxtKit
        INSTALLS += kit
        }

contains( QXT, gui ){
        message( building gui module )
        SUBDIRS += src/gui
        gui.files +=  src/gui/*.h
        gui.files +=  deploy/include/QxtGui/*
        gui.path  =  $${include.path}/QxtGui
        INSTALLS += gui


        SUBDIRS += designer
        designer.path = $$[QT_INSTALL_PLUGINS]/designer
        designer.files = designer/libQxtDesignerPlugins.*
        INSTALLS += designer
        }

contains( QXT, network ){
        message( building network module )
        SUBDIRS += src/network
        network.files +=  src/network/*.h
        network.files +=  deploy/include/QxtNetwork/*
        network.path  =  $${include.path}/QxtNetwork
        INSTALLS += network
        }

contains( QXT, sql ){
        message( building sql module )
        SUBDIRS += src/sql
        sql.files +=  src/sql/*.h
        sql.files +=  deploy/include/QxtSql/*
        sql.path  =  $${include.path}/QxtSql
        INSTALLS += sql
        }

contains( QXT, media ){
        message( building media module )
        SUBDIRS += src/media
        media.files +=  src/media/*.h
        media.files +=  deploy/include/QxtMedia/*       
        media.path  =  $${include.path}/QxtMedia
        INSTALLS += media
        }

contains( QXT, curses ){
        message( building curses module )
        SUBDIRS += src/curses
        curses.files +=  src/curses/*.h
        curses.files +=  deploy/include/QxtCurses/*     
        curses.path  =  $${include.path}/QxtCurses
        INSTALLS += curses
        }

contains( QXT, mox ){
        message( building mox )
        SUBDIRS += mox
        unix:mox.files +=  deploy/bin/mox
        win32:mox.files += deploy/bin/mox.exe
        mox.path  =  $${bin.path}
        INSTALLS += mox
        }
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.