i0mapmon.pro 1.91 KB
Newer Older
Giacomo Strangolino's avatar
Giacomo Strangolino committed
1
2
3
4
5
isEmpty(CUMBIA_ROOT) {
    CUMBIA_ROOT=/usr/local/cumbia-libs
}
include($${CUMBIA_ROOT}/include/quapps/quapps.pri)

6
CONFIG += debug
Giacomo Strangolino's avatar
Giacomo Strangolino committed
7

8
# DEFINES -= QT_NO_DEBUG_OUTPUT
Giacomo Strangolino's avatar
Giacomo Strangolino committed
9
10
11
12

# RESOURCES +=

SOURCES += src/main.cpp \
Giacomo Strangolino's avatar
Giacomo Strangolino committed
13
                src/checkablecomboboxmodel.cpp \
Giacomo Strangolino's avatar
Giacomo Strangolino committed
14
15
                src/i0mapmon.cpp \
    src/i0mmonplot.cpp
Giacomo Strangolino's avatar
Giacomo Strangolino committed
16

Giacomo Strangolino's avatar
Giacomo Strangolino committed
17
HEADERS += src/i0mapmon.h \
Giacomo Strangolino's avatar
Giacomo Strangolino committed
18
19
    src/checkablecomboboxmodel.h \
    src/i0mmonplot.h
Giacomo Strangolino's avatar
Giacomo Strangolino committed
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36

# cuuimake runs uic
# FORMS    = src/i0mapmon.ui
# but we need to include ui_xxxx.h file amongst the headers
# in order to be recompiled when it changes
#
HEADERS += \
    ui/ui_i0mapmon.h

# - ui: where to find cuuimake ui_*.h files
#   since FORMS is not used
# - src: where to find headers included by
#   ui_*.h (e.g. for custom widget promoted
#   from the Qt designer)
#
INCLUDEPATH += ui src

delleceste's avatar
delleceste committed
37
TARGET = i0mapmon-gui
Giacomo Strangolino's avatar
Giacomo Strangolino committed
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

!wasm-emscripten {
    TARGET   = bin/$${TARGET}
} else {
    TARGET = wasm/$${TARGET}
}

#
# make install works if INSTALL_DIR is given to qmake
#
!isEmpty(INSTALL_DIR) {
    wasm-emscripten {
        inst.files = wasm/*
    } else {
        inst.files = $${TARGET}
    }
    inst.path = $${INSTALL_DIR}
    INSTALLS += inst
    message("-")
    message("INSTALLATION")
    message("       execute `make install` to install 'i0mapmon' under $${INSTALL_DIR} ")
    message("-")
} else {
    message("-")
    message("INSTALLATION")
    message("       call qmake INSTALL_DIR=/usr/local/bin to install i0mapmon later with `make install` ")
    message("-")
}

# unix:LIBS += -L. -lmylib

# unix:INCLUDEPATH +=  . ../../src

message("-")
message("NOTE")
message("You need to run cuuimake in order to build the project")
message("-")
message("        cuuimake --show-config to see cuuimake configuration options")
message("        cuuimake --configure to configure cuuimake")
message("        cuuimake -jN to execute cuuimake and then make -jN")
message("        cuuimake --make to run cuuimake and then make")
message("-")

DISTFILES +=