2009-01-22 10:14:09 +01:00
|
|
|
macx {
|
|
|
|
|
SNIPPETS.path = Contents/Resources
|
|
|
|
|
SNIPPETS.files = $$PWD/qtcreator/snippets
|
|
|
|
|
TEMPLATES.path = Contents/Resources
|
|
|
|
|
TEMPLATES.files = $$PWD/qtcreator/templates
|
|
|
|
|
DESIGNER.path = Contents/Resources
|
|
|
|
|
DESIGNER.files = $$PWD/qtcreator/designer
|
|
|
|
|
SCHEMES.path = Contents/Resources
|
|
|
|
|
SCHEMES.files = $$PWD/qtcreator/schemes
|
|
|
|
|
GDBDEBUGGER.path = Contents/Resources
|
|
|
|
|
GDBDEBUGGER.files = $$PWD/qtcreator/gdbmacros
|
|
|
|
|
LICENSE.path = Contents/Resources
|
|
|
|
|
LICENSE.files = $$PWD/qtcreator/license.txt
|
|
|
|
|
RUNINTERMINAL.path = Contents/Resources
|
|
|
|
|
RUNINTERMINAL.files = $$PWD/qtcreator/runInTerminal.command
|
|
|
|
|
QMAKE_BUNDLE_DATA += SNIPPETS TEMPLATES DESIGNER SCHEMES GDBDEBUGGER LICENSE RUNINTERMINAL
|
2009-01-27 12:24:39 +01:00
|
|
|
QMAKE_INFO_PLIST = $$PWD/qtcreator/Info.plist
|
2009-01-22 10:14:09 +01:00
|
|
|
}
|
|
|
|
|
|
2009-01-28 16:04:20 +01:00
|
|
|
win32|linux-* {
|
2009-01-22 10:14:09 +01:00
|
|
|
# make sure the resources are in place
|
|
|
|
|
!exists($$OUT_PWD/app.pro) {
|
|
|
|
|
unix:SEPARATOR = ;
|
|
|
|
|
win32:SEPARATOR = &
|
|
|
|
|
# we are shadow build
|
|
|
|
|
COPYSRC = snippets \
|
|
|
|
|
templates \
|
|
|
|
|
designer \
|
|
|
|
|
schemes \
|
|
|
|
|
gdbmacros
|
2009-01-28 16:04:20 +01:00
|
|
|
COPYDEST = $${OUT_PWD}/../../share/qtcreator
|
2009-01-22 10:14:09 +01:00
|
|
|
win32:COPYDEST ~= s|/+|\|
|
2009-01-28 16:04:20 +01:00
|
|
|
QMAKE_POST_LINK += $${QMAKE_MKDIR} $$COPYDEST $$SEPARATOR
|
2009-01-22 10:14:09 +01:00
|
|
|
for(tmp,COPYSRC) {
|
2009-01-28 16:04:20 +01:00
|
|
|
REALSRC = $$PWD/qtcreator/$$tmp
|
2009-01-22 10:14:09 +01:00
|
|
|
REALDEST = $$COPYDEST/$$tmp
|
|
|
|
|
win32:tmp ~= s|/+|\|
|
|
|
|
|
win32:REALSRC ~= s|/+|\|
|
|
|
|
|
win32:REALDEST ~= s|/+|\|
|
|
|
|
|
QMAKE_POST_LINK += $${QMAKE_COPY_DIR} $${REALSRC} $${REALDEST} $$SEPARATOR
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
linux-* {
|
|
|
|
|
licenses.files += $$PWD/qtcreator/license.txt
|
|
|
|
|
licenses.path = /share/qtcreator
|
|
|
|
|
|
|
|
|
|
keymaps.files += $$PWD/qtcreator/schemes/MS_Visual_C++.kms
|
|
|
|
|
keymaps.files += $$PWD/qtcreator/schemes/Xcode.kms
|
|
|
|
|
keymaps.path = /share/qtcreator/schemes
|
|
|
|
|
|
|
|
|
|
gdbsupport.files += $$PWD/qtcreator/gdbmacros/GPL_EXCEPTION.TXT
|
|
|
|
|
gdbsupport.files += $$PWD/qtcreator/gdbmacros/gdbmacros.cpp
|
|
|
|
|
gdbsupport.files += $$PWD/qtcreator/gdbmacros/gdbmacros.pro
|
|
|
|
|
gdbsupport.path = /share/qtcreator/gdbmacros
|
|
|
|
|
|
|
|
|
|
designertemplates.files += $$PWD/qtcreator/designer/templates.xml
|
|
|
|
|
designertemplates.files += $$PWD/qtcreator/designer/templates/*
|
|
|
|
|
designertemplates.path = /share/qtcreator/designer/templates
|
|
|
|
|
|
|
|
|
|
snippets.files += $$PWD/qtcreator/snippets/*.snp
|
|
|
|
|
snippets.path = /share/qtcreator/snippets
|
|
|
|
|
|
|
|
|
|
projecttemplates.files += $$PWD/qtcreator/templates/qt4project/mywidget_form.h
|
|
|
|
|
projecttemplates.files += $$PWD/qtcreator/templates/qt4project/main.cpp
|
|
|
|
|
projecttemplates.files += $$PWD/qtcreator/templates/qt4project/mywidget.cpp
|
|
|
|
|
projecttemplates.files += $$PWD/qtcreator/templates/qt4project/mywidget.h
|
|
|
|
|
projecttemplates.files += $$PWD/qtcreator/templates/qt4project/widget.ui
|
|
|
|
|
projecttemplates.files += $$PWD/qtcreator/templates/qt4project/mywidget_form.cpp
|
|
|
|
|
projecttemplates.path = /share/qtcreator/templates/qt4project
|
|
|
|
|
|
|
|
|
|
INSTALLS += \
|
|
|
|
|
licenses \
|
|
|
|
|
keymaps \
|
|
|
|
|
gdbsupport \
|
|
|
|
|
designertemplates \
|
|
|
|
|
snippets \
|
|
|
|
|
projecttemplates
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|