-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.arch
56 lines (53 loc) · 2.35 KB
/
config.arch
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
# ============================================================================
# Copyright Jean-Charles LAMBERT - 2007-2023
# e-mail: [email protected]
# address: Centre de donneeS Astrophysique de Marseille (CeSAM)
# Laboratoire d'Astrophysique de Marseille
# Pôle de l'Etoile, site de Château-Gombert
# 38, rue Frédéric Joliot-Curie
# 13388 Marseille cedex 13 France
# CNRS U.M.R 7326
# ============================================================================
# See the complete license in LICENSE and/or "http://www.cecill.info".
# ============================================================================
# Specific Win32 config
#GLOBAL = console debug_and_release
#COMPILEMODE = release
COMPILEMODE = debug
macx {
COMPILEMODE = release
}
GLOBAL = console $$COMPILEMODE
win32 {
COMPILEMODE = release
GLOBAL = console $$COMPILEMODE
ARCH = win32
NEMOLIB = ../plugins/nemolight/lib/$$ARCH/$$COMPILEMODE
NEMOINC = ../plugins/nemolight/inc
QMAKE_CFLAGS += -fopenmp -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
QMAKE_CXXFLAGS += -fopenmp
contains(QT_ARCH, i386) {
WEXE = glnemo2-win32
} else {
WEXE = glnemo2-win64
}
}
# specific Unix config
unix {
ARCH = unix
#NEMOLIB = $(NEMOLIB)
#NEMOINC = $(NEMOINC)
NEMOLIB = ../plugins/nemolight/lib/$$ARCH/$$COMPILEMODE
NEMOINC = ../plugins/nemolight/inc
QMAKE_CFLAGS += -fopenmp -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -g
QMAKE_CXXFLAGS_DEBUG += -g -fopenmp
}
# specific Mac Os X config
macx {
ARCH = macx
NEMOLIB = ../plugins/nemolight/lib/$$ARCH/$$COMPILEMODE
NEMOINC = ../plugins/nemolight/inc
INCLUDEPATH += /usr/include/malloc /usr/X11/include
QMAKE_CFLAGS += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.5
}