forked from amorilia/nifskope
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathNifSkope.pro
76 lines (58 loc) · 1.47 KB
/
NifSkope.pro
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
TEMPLATE = app
LANGUAGE = C++
TARGET = NifSkope
QT += xml opengl network
CONFIG += qt release thread warn_on
CONFIG += fsengine
# uncomment this if you want all the messages to be logged to stdout
#CONFIG += console
# uncomment this if you want the text stats gl option
#DEFINES += USE_GL_QPAINTER
# On Windows this builds Release in release/ and Debug in debug/
# On Linux you may need CONFIG += debug_and_release debug_and_release_target
DESTDIR = .
HEADERS += \
*.h \
gl/*.h \
gl/marker/*.h \
gl/dds/*.h \
widgets/*.h \
spells/*.h \
importex/*.h \
NvTriStrip/qtwrapper.h
SOURCES += \
*.cpp \
gl/*.cpp \
gl/dds/*.cpp \
widgets/*.cpp \
spells/*.cpp \
importex/*.cpp \
NvTriStrip/*.cpp
RESOURCES += \
nifskope.qrc
fsengine {
DEFINES += FSENGINE
HEADERS += fsengine/*.h
SOURCES += fsengine/*.cpp
}
win32 {
# useful for MSVC2005
CONFIG += embed_manifest_exe
CONFIG -= flat
RC_FILE = icon.rc
DEFINES += EDIT_ON_ACTIVATE
# Ignore specific errors that are very common in the code
# CFLAGS += /Zc:wchar_t-
# QMAKE_CFLAGS += /Zc:wchar_t- /wd4305
# QMAKE_CXXFLAGS += /Zc:forScope- /Zc:wchar_t- /wd4305
# add specific libraries to msvc builds
MSVCPROJ_LIBS += winmm.lib Ws2_32.lib imm32.lib
}
win32:console {
LIBS += -lqtmain
}
console {
DEFINES += NO_MESSAGEHANDLER
}
TRANSLATIONS += lang/NifSkope_de.ts lang/NifSkope_fr.ts
# vim: set filetype=config :