summaryrefslogtreecommitdiff
path: root/src/tools/3rdparty/iossim/iossim.pro
blob: c880da3f4e1ddd5b18fa774e9b5852262a671da9 (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
57
CONFIG   += console

QT       += core
QT       += gui

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

    QMAKE_LFLAGS += -Wl,-rpath,/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks \
    -Wl,-rpath,/Applications/Xcode.app/Contents/OtherFrameworks \
  LIBS += \
    -framework iPhoneSimulatorRemoteClient
  QMAKE_RPATHDIR += /Applications/Xcode5-DP5.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 \
  iphonesimulatorremoteclient/iphonesimulatorremoteclient.h

OTHER_FILES = LICENSE