~ppsspp/ppsspp/ppsspp-1.1.1

« back to all changes in this revision

Viewing changes to Qt/Native.pro

  • Committer: Sérgio Benjamim
  • Date: 2015-10-17 01:37:55 UTC
  • Revision ID: sergio_br2@yahoo.com.br-20151017013755-avrlz2pt37kwt43x
PPSSPP 1.1.1 source.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
QT += opengl
 
2
QT -= gui
 
3
TARGET = Native
 
4
TEMPLATE = lib
 
5
CONFIG += staticlib
 
6
 
 
7
include(Settings.pri)
 
8
 
 
9
# To support Sailfish which is stuck on GCC 4.6
 
10
linux-g++:system($$QMAKE_CXX --version | grep "4.6."): DEFINES+=override
 
11
 
 
12
INCLUDEPATH += $$P/ext/native
 
13
 
 
14
!exists( /usr/include/GL/glew.h ) {
 
15
        !contains(DEFINES,USING_GLES2) {
 
16
                SOURCES += $$P/ext/native/ext/glew/glew.c
 
17
                HEADERS += $$P/ext/native/ext/glew/GL/*.h
 
18
                INCLUDEPATH += $$P/ext/native/ext/glew
 
19
        }
 
20
}
 
21
 
 
22
# RG_ETC1
 
23
 
 
24
SOURCES += $$P/ext/native/ext/rg_etc1/rg_etc1.cpp
 
25
HEADERS += $$P/ext/native/ext/rg_etc1/rg_etc1.h
 
26
INCLUDEPATH += $$P/ext/native/ext/rg_etc1
 
27
 
 
28
# Cityhash
 
29
 
 
30
SOURCES += ../ext/native/ext/cityhash/city.cpp
 
31
HEADERS += ../ext/native/ext/cityhash/*.h
 
32
INCLUDEPATH += ../ext/native/ext/cityhash
 
33
 
 
34
# JPGE
 
35
SOURCES += $$P/ext/native/ext/jpge/*.cpp
 
36
HEADERS += $$P/ext/native/ext/jpge/*.h
 
37
INCLUDEPATH += $$P/ext/native/ext/jpge
 
38
 
 
39
# Snappy
 
40
!exists( /usr/include/snappy-c.h ) {
 
41
        SOURCES += $$P/ext/snappy/*.cpp
 
42
        HEADERS += $$P/ext/snappy/*.h
 
43
        INCLUDEPATH += $$P/ext/snappy
 
44
}
 
45
 
 
46
# udis86
 
47
 
 
48
SOURCES += $$P/ext/udis86/*.c
 
49
HEADERS += $$P/ext/udis86/*.h
 
50
INCLUDEPATH += $$P/ext/udis86
 
51
 
 
52
# VJSON
 
53
 
 
54
SOURCES += $$P/ext/native/ext/vjson/json.cpp \
 
55
        $$P/ext/native/ext/vjson/block_allocator.cpp
 
56
HEADERS += $$P/ext/native/ext/vjson/json.h \
 
57
        $$P/ext/native/ext/vjson/block_allocator.h
 
58
INCLUDEPATH += $$P/ext/native/ext/vjson
 
59
 
 
60
# Zlib
 
61
win32|contains(QT_CONFIG, no-zlib) {
 
62
        SOURCES += $$P/ext/zlib/*.c
 
63
        HEADERS += $$P/ext/zlib/*.h
 
64
}
 
65
 
 
66
# Libzip
 
67
!exists( /usr/include/zip.h ) {
 
68
        SOURCES += $$P/ext/native/ext/libzip/*.c
 
69
        HEADERS += $$P/ext/native/ext/libzip/*.h
 
70
}
 
71
 
 
72
# Native
 
73
 
 
74
SOURCES += \
 
75
        $$P/ext/native/base/backtrace.cpp \
 
76
        $$P/ext/native/base/buffer.cpp \
 
77
        $$P/ext/native/base/colorutil.cpp \
 
78
        $$P/ext/native/base/compat.cpp \
 
79
        $$P/ext/native/base/display.cpp \
 
80
        $$P/ext/native/base/stringutil.cpp \
 
81
        $$P/ext/native/base/timeutil.cpp \
 
82
        $$P/ext/native/data/compression.cpp \
 
83
        $$P/ext/native/file/*.cpp \
 
84
        $$P/ext/native/gfx/gl_debug_log.cpp \
 
85
        $$P/ext/native/gfx/gl_lost_manager.cpp \
 
86
        $$P/ext/native/gfx/texture_atlas.cpp \
 
87
        $$P/ext/native/gfx_es2/*.cpp \
 
88
        $$P/ext/native/gfx_es2/*.c \
 
89
        $$P/ext/native/i18n/*.cpp \
 
90
        $$P/ext/native/image/*.cpp \
 
91
        $$P/ext/native/input/*.cpp \
 
92
        $$P/ext/native/math/curves.cpp \
 
93
        $$P/ext/native/math/expression_parser.cpp \
 
94
        $$P/ext/native/math/math_util.cpp \
 
95
        $$P/ext/native/math/lin/*.cpp \
 
96
        $$P/ext/native/math/fast/*.c \
 
97
        $$P/ext/native/net/*.cpp \
 
98
        $$P/ext/native/profiler/profiler.cpp \
 
99
        $$P/ext/native/thin3d/thin3d.cpp \
 
100
        $$P/ext/native/thin3d/thin3d_gl.cpp \
 
101
        $$P/ext/native/thread/*.cpp \
 
102
        $$P/ext/native/ui/*.cpp \
 
103
        $$P/ext/native/util/hash/hash.cpp \
 
104
        $$P/ext/native/util/text/utf8.cpp \
 
105
        $$P/ext/native/util/text/parsers.cpp
 
106
 
 
107
armv7: SOURCES += $$files($$P/ext/native/math/fast/fast_matrix_neon.S)
 
108
 
 
109
 
 
110
HEADERS += \
 
111
        $$P/ext/native/base/backtrace.h \
 
112
        $$P/ext/native/base/basictypes.h \
 
113
        $$P/ext/native/base/buffer.h \
 
114
        $$P/ext/native/base/colorutil.h \
 
115
        $$P/ext/native/base/display.h \
 
116
        $$P/ext/native/base/linked_ptr.h \
 
117
        $$P/ext/native/base/logging.h \
 
118
        $$P/ext/native/base/mutex.h \
 
119
        $$P/ext/native/base/stringutil.h \
 
120
        $$P/ext/native/base/timeutil.h \
 
121
        $$P/ext/native/data/compression.h \
 
122
        $$P/ext/native/file/*.h \
 
123
        $$P/ext/native/gfx/*.h \
 
124
        $$P/ext/native/gfx_es2/*.h \
 
125
        $$P/ext/native/i18n/*.h \
 
126
        $$P/ext/native/image/*.h \
 
127
        $$P/ext/native/input/*.h \
 
128
        $$P/ext/native/math/*.h \
 
129
        $$P/ext/native/math/lin/*.h \
 
130
        $$P/ext/native/math/fast/*.h \
 
131
        $$P/ext/native/net/*.h \
 
132
        $$P/ext/native/profiler/profiler.h \
 
133
        $$P/ext/native/thread/*.h \
 
134
        $$P/ext/native/ui/*.h \
 
135
        $$P/ext/native/util/hash/hash.h \
 
136
        $$P/ext/native/util/random/*.h \
 
137
        $$P/ext/native/util/text/utf8.h \
 
138
        $$P/ext/native/util/text/parsers.h