annotate test-svcore-system.pro @ 2265:d33dff02b39b sandbox-notarize

Work on sandboxing (possibly) and using the hardened runtime for notarization. Supply appropriate bundle ID for helpers as well as main application, and request inherited sandbox entitlements. Currently works with sandboxing (apparently) but not yet with the hardened runtime, where we can't load plugins signed by third parties even with the com.apple.security.cs.disable-library-validation entitlement because their team IDs don't match the host. Possibly that exception is supposed to be requested some other way?
author Chris Cannam
date Thu, 25 Apr 2019 16:46:02 +0100
parents a86168d1ba68
children
rev   line source
Chris@1332 1
Chris@1332 2 TEMPLATE = app
Chris@1332 3
Chris@1332 4 exists(config.pri) {
Chris@1332 5 include(config.pri)
Chris@1332 6 }
Chris@1332 7
Chris@1332 8 !exists(config.pri) {
Chris@1332 9 include(noconfig.pri)
Chris@1332 10 }
Chris@1332 11
Chris@1332 12 include(base.pri)
Chris@1332 13
Chris@1332 14 CONFIG += console
Chris@1332 15 QT += network xml testlib
Chris@1332 16 QT -= gui
Chris@1332 17
Chris@1344 18 win32-x-g++:QMAKE_LFLAGS += -Wl,-subsystem,console
Chris@1344 19 macx*: CONFIG -= app_bundle
Chris@1344 20
Chris@1852 21 TARGET = test-svcore-system
Chris@1332 22
Chris@1332 23 OBJECTS_DIR = o
Chris@1332 24 MOC_DIR = o
Chris@1332 25
Chris@1852 26 include(svcore/system/test/files.pri)
Chris@1332 27
Chris@1852 28 for (file, TEST_SOURCES) { SOURCES += $$sprintf("svcore/system/test/%1", $$file) }
Chris@1852 29 for (file, TEST_HEADERS) { HEADERS += $$sprintf("svcore/system/test/%1", $$file) }
Chris@1332 30
Chris@1490 31 !win32* {
Chris@2221 32 POST_TARGETDEPS += $$PWD/libbase.a
Chris@1490 33 QMAKE_POST_LINK = ./$${TARGET}
Chris@1490 34 }