summaryrefslogtreecommitdiff
path: root/src/tools/3rdparty/iossim/iossim.pro
blob: 25f185cb0f117829f07d324d8334422db0dab228 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
CONFIG   += console

QT       -= core
QT       -= gui
QT       -= test

CONFIG -= app_bundle

include(../../../../qtcreator.pri)

# Prevent from popping up in the dock when launched.
# We embed the Info.plist file, so the application doesn't need to
# be a bundle.
QMAKE_LFLAGS += -sectcreate __TEXT __info_plist \"$$PWD/Info.plist\" \
  -fobjc-link-runtime

LIBS += \
  -framework Foundation \
  -framework CoreServices \
  -framework ApplicationServices \
  -framework CoreFoundation \
  -F/System/Library/PrivateFrameworks \
  -framework IOKit -framework AppKit

iPhoneSimulatorRemoteClientDirectLinking {
  LIBS += \
    -F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks \
    -F/Applications/Xcode.app/Contents/OtherFrameworks
  LIBS += \
    -framework DTViPhoneSimulatorRemoteClient
  QMAKE_RPATHDIR += /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks \
    /Applications/Xcode.app/Contents/OtherFrameworks \
    /System/Library/PrivateFrameworks
}

TEMPLATE = app

# put into a subdir, so we can deploy a separate qt.conf for it
DESTDIR = $$IDE_LIBEXEC_PATH/ios
include(../../../rpath.pri)

OBJECTIVE_SOURCES += \
  main.mm \
  nsprintf.mm \
  nsstringexpandPath.mm \
  iphonesimulator.mm

HEADERS += \
  iphonesimulator.h \
  nsprintf.h \
  nsstringexpandpath.h \
  version.h \
  dvtiphonesimulatorremoteclient/dvtiphonesimulatorremoteclient.h

OTHER_FILES = IOSSIM_LICENSE \
  Info.plist