Warning, /education/gcompris/platforms/macosx/gcompris.pro is written in an unsupported language. File is not indexed.
0001 # Minimal .pro file to create an initial xcode project 0002 0003 TEMPLATE = app 0004 TARGET = gcompris 0005 CONFIG += c++11 0006 INCLUDEPATH += . 0007 QT += qml quick gui multimedia network svg core 0008 APPCERT = "3rd Party Mac Developer Application: Bruno Coudoin" 0009 INSTALLERCERT = "3rd Party Mac Developer Installer: Bruno Coudoin" 0010 BUNDLEID = net.gcompris 0011 ENTITLEMENTS = platform/macosx/gcompris.entitlements 0012 0013 QMAKE_CFLAGS_RELEASE = $$QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO 0014 QMAKE_CXXFLAGS_RELEASE = $$QMAKE_CXXFLAGS_RELEASE_WITH_DEBUGINFO 0015 QMAKE_OBJECTIVE_CFLAGS_RELEASE = $$QMAKE_OBJECTIVE_CFLAGS_RELEASE_WITH_DEBUGINFO 0016 QMAKE_LFLAGS_RELEASE = $$QMAKE_LFLAGS_RELEASE_WITH_DEBUGINFO 0017 0018 # Input 0019 HEADERS += src/core/ActivityInfo.h \ 0020 src/core/ActivityInfoTree.h \ 0021 src/core/ApplicationInfo.h \ 0022 src/core/ApplicationSettings.h \ 0023 src/core/DownloadManager.h \ 0024 src/core/File.h 0025 SOURCES += src/core/ActivityInfo.cpp \ 0026 src/core/ApplicationInfoDefault.cpp \ 0027 src/core/ActivityInfoTree.cpp \ 0028 src/core/ApplicationInfo.cpp \ 0029 src/core/ApplicationSettings.cpp \ 0030 src/core/ApplicationSettingsDefault.cpp \ 0031 src/core/DownloadManager.cpp \ 0032 src/core/File.cpp \ 0033 src/core/main.cpp 0034 0035 ICON = gcompris.icns 0036 0037 QMAKE_INFO_PLIST = platforms/macosx/Info.plist 0038 OTHER_FILES += platforms/macosx/Info.plist 0039 $${ENTITLEMENTS} 0040 0041 codesign.depends += all 0042 codesign.commands += macdeployqt $${TARGET}.app; 0043 0044 rccFiles.files = rcc 0045 rccFiles.path = Contents/Resources 0046 translationFiles.files = translations 0047 translationFiles.path = Contents/Resources/ 0048 QMAKE_BUNDLE_DATA += rccFiles translationFiles 0049 0050 QMAKE_CFLAGS += -gdwarf-2 0051 QMAKE_CXXFLAGS += -gdwarf-2 0052 0053 codesign.depends += all 0054 codesign.commands += macdeployqt $${TARGET}.app; 0055 0056 # Sign frameworks and plug-ins (uncomment and change to suit your application) 0057 #codesign -s "$APPCERT" -i $BUNDLEID $${TARGET}.app/Contents/Frameworks/QtCore.framework/Versions/4/QtCore 0058 #codesign -s "$APPCERT" -i $BUNDLEID $${TARGET}.app/Contents/PlugIns/imageformats/libqjpeg.dylib 0059 0060 # Sign the application bundle, using the provided entitlements 0061 codesign.commands += codesign -f -s \"$${APPCERT}\" -v –entitlements $${ENTITLEMENTS} $${TARGET}.app; 0062 0063 product.depends += all 0064 0065 # Build the product package 0066 product.commands += productbuild --component $${TARGET}.app /Applications --sign \"$${INSTALLERCERT}\" $${TARGET}.pkg; 0067 0068 QMAKE_EXTRA_TARGETS += codesign product copyfiles 0069