-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathqfract.pro
73 lines (66 loc) · 2.39 KB
/
qfract.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
TEMPLATE = app
TARGET = qfract
CONFIG += qt warn_on release
#CONFIG += qt warn_on release debug
QT += widgets printsupport
QMAKE_CXXFLAGS_RELEASE += -O3
QMAKE_LFLAGS_RELEASE += -O3
CONFIG += link_prl
# icons
win32:RC_FILE = qfract.rc
macx:ICON = qfract.icns
# for Win
# win32:QMAKE_CXXFLAGS_RELEASE += -march=i686
# Boost
win32:QMAKE_CXXFLAGS_RELEASE += -Ic:/Users/inou/Downloads/boost_1_81_0 -ffast-math
win32:QMAKE_LFLAGS_RELEASE += -Lc:/Users/inou/Downloads/boost_1_81_0/stage/lib
win32:LIBS += -lboost_thread-mgw11-mt-x64-1_81 -lboost_system-mgw11-mt-x64-1_81
# dlfcn (from http://code.google.com/p/dlfcn-win32/)
win32:QMAKE_CXXFLAGS_RELEASE += -Ic:/Users/inou/Downloads/dlfcn-win32/src
win32:LIBS += c:/Users/inou/Downloads/dlfcn-win32/libdl.a -lpsapi
#win32:LIBS += -ldl
# for Mac
# -stdlib=libc++ is required because boost libraries are
# linked to libc++.1.dylib and not libstdc++.6.dylib
macx:QMAKE_CXXFLAGS_RELEASE += -I/Users/inou/work/boost_1_81_0 -stdlib=libc++
macx:QMAKE_LFLAGS_RELEASE += -L/Users/inou/work/boost_1_81_0/stage/lib -stdlib=libc++
macx:QMAKE_CXXFLAGS_DEBUG += -I/Users/inou/work/boost_1_81_0 -stdlib=libc++
macx:QMAKE_LFLAGS_DEBUG += -L/opt/homebrew/lib -stdlib=libc++
# for homebrew
#macx:QMAKE_CXXFLAGS_RELEASE += -I/opt/homebrew/include -stdlib=libc++
#macx:QMAKE_LFLAGS_RELEASE += -L/opt/homebrew/lib -stdlib=libc++
#macx:QMAKE_CXXFLAGS_DEBUG += -I/opt/homebrew/include -stdlib=libc++
#macx:QMAKE_LFLAGS_DEBUG += -L/opt/homebrew/lib -stdlib=libc++
#macx:QMAKE_CXXFLAGS_RELEASE += -I/usr/local/include -stdlib=libc++
#macx:QMAKE_LFLAGS_RELEASE += -L/usr/local/lib -stdlib=libc++
#macx:QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.11
#macx:QMAKE_MAC_SDK = macosx10.11
# for Intel (x86_64) binary
macx:QMAKE_CXXFLAGS_RELEASE += -arch x86_64
macx:QMAKE_LFLAGS_RELEASE += -arch x86_64
# for Boost (Mac, Linux)
#macx:LIBS += -lboost_thread-mt -lboost_system-mt
macx:LIBS += -lboost_thread -lboost_system
# for universal binary for Mac
#QMAKE_MAC_SDK = /Developer/SDKs/MacOSX10.4u.sdk
#macx:CONFIG += x86 ppc
macx:LIBS += -framework CoreFoundation
HEADERS = canvas.h \
config.h \
colormap.h \
double.h \
pixmap.h \
plugin.h \
plugindialog.h \
setparam.h \
window.h
SOURCES = canvas.cpp \
colormap.cpp \
main.cpp \
pixmap.cpp \
plugin.cpp \
plugindialog.cpp \
pluginlist.c \
setparam.cpp \
window.cpp
TRANSLATIONS = qfract-ja_JP.ts