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 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152
|
# Note: this project file currently only implements building on Windows with Mingw-w64
# See the INSTALL file for building instructions
TEMPLATE = app
CONFIG += console
CONFIG -= app_bundle
CONFIG -= qt
DEFINES -= UNICODE
CONFIG += c++11
CONFIG += object_parallel_to_source
gcc {
QMAKE_CXXFLAGS_WARN_ON = -Wall -Wno-unused-variable -Wno-sign-compare -Wno-unused-parameter -Wno-reorder
QMAKE_CXXFLAGS_DEBUG += -DASSERTS_ENABLED
}
mingw {
QMAKE_CXXFLAGS += -Dmain=SDL_main
QMAKE_LFLAGS += -mconsole
INCLUDEPATH += C:\msys64\mingw64\include\SDL2
INCLUDEPATH += C:\msys64\mingw64\include\freetype2
LIBS += -lmingw32 -lSDL2main -lSDL2.dll
LIBS += -lSDL2_image.dll -lfreetype.dll -lpcre2-8.dll -lpng.dll -lglew32.dll -lboost_system-mt -lboost_filesystem-mt -lopengl32 -lglu32
LIBS += -static-libgcc -static-libstdc++
LIBS += -lcomdlg32
}
VPATH += ./src
SOURCES += \
action.cpp \
bloom.cpp \
caption.cpp \
dirnode.cpp \
file.cpp \
gource.cpp \
gource_settings.cpp \
gource_shell.cpp \
key.cpp \
logmill.cpp \
main.cpp \
pawn.cpp \
slider.cpp \
spline.cpp \
textbox.cpp \
user.cpp \
zoomcamera.cpp \
formats/apache.cpp \
formats/bzr.cpp \
formats/commitlog.cpp \
formats/custom.cpp \
formats/cvs-exp.cpp \
formats/cvs2cl.cpp \
formats/git.cpp \
formats/gitraw.cpp \
formats/hg.cpp \
formats/svn.cpp \
tinyxml/tinystr.cpp \
tinyxml/tinyxml.cpp \
tinyxml/tinyxmlerror.cpp \
tinyxml/tinyxmlparser.cpp \
core/conffile.cpp \
core/display.cpp \
core/frustum.cpp \
core/fxfont.cpp \
core/logger.cpp \
core/mousecursor.cpp \
core/plane.cpp \
core/png_writer.cpp \
core/ppm.cpp \
core/quadtree.cpp \
core/regex.cpp \
core/resource.cpp \
core/sdlapp.cpp \
core/seeklog.cpp \
core/settings.cpp \
core/shader.cpp \
core/shader_common.cpp \
core/stringhash.cpp \
core/texture.cpp \
core/tga.cpp \
core/timezone.cpp \
core/vbo.cpp \
core/vectors.cpp
HEADERS += \
action.h \
bloom.h \
caption.h \
dirnode.h \
file.h \
gource.h \
gource_settings.h \
gource_shell.h \
key.h \
logmill.h \
main.h \
pawn.h \
slider.h \
spline.h \
textbox.h \
user.h \
zoomcamera.h \
formats/apache.h \
formats/bzr.h \
formats/commitlog.h \
formats/custom.h \
formats/cvs-exp.h \
formats/cvs2cl.h \
formats/git.h \
formats/gitraw.h \
formats/hg.h \
formats/svn.h \
tinyxml/tinystr.h \
tinyxml/tinyxml.h \
core/bounds.h \
core/conffile.h \
core/display.h \
core/frustum.h \
core/fxfont.h \
core/gl.h \
core/logger.h \
core/mousecursor.h \
core/pi.h \
core/plane.h \
core/png_writer.h \
core/ppm.h \
core/quadtree.h \
core/regex.h \
core/resource.h \
core/sdlapp.h \
core/seeklog.h \
core/settings.h \
core/shader.h \
core/shader_common.h \
core/stringhash.h \
core/texture.h \
core/tga.h \
core/timezone.h \
core/vbo.h \
core/vectors.h
DISTFILES += \
data/shaders/bloom.frag \
data/shaders/shadow.frag \
data/shaders/text.frag \
data/shaders/bloom.vert \
data/shaders/shadow.vert \
data/shaders/text.vert
|