repository for casatablebrowser
Source
1
1
system(scripts/casatablebrowser-config)
2
2
3
3
QMAKE_MOC = $$QMAKE_MOC -DAIPS_HAS_QWT -DYYERROR_IS_DECLARED
4
4
INCLUDEPATH += include build/include.$$QMAKE_HOST.version casa-source/casatools/casacore src/code casa-source/casatools/src/code -I/usr/include src/code
5
5
6
+
QT_MKSPECS_DIR= $$dirname( QMAKE_QT_CONFIG )
7
+
6
8
CONFIG += release cpp11
7
-
exists ( $$[CASA_QWT_INSTALL_DATA]/features/qwt.prf ) {
8
-
include ( $$[CASA_QWT_INSTALL_DATA]/features/qwt.prf )
9
-
QWT_LIB_PATH = $$[CASA_QWT_INSTALL_DATA]/lib
9
+
exists ( $$CASA_QWT_INSTALL_DATA/features/qwt.prf ) {
10
+
include ( $$CASA_QWT_INSTALL_DATA/features/qwt.prf )
11
+
QWT_LIB_PATH = $$CASA_QWT_INSTALL_DATA/lib
10
12
} else {
11
-
exists ( $$[QT_INSTALL_DATA]/mkspecs/features/qwt.prf ) {
12
-
include ( $$[QT_INSTALL_DATA]/mkspecs/features/qwt.prf )
13
-
} else {
14
-
exists ( $$[QMAKEFEATURES]/mkspecs/features/qwt.prf ) {
15
-
include ( $$[QMAKEFEATURES]/mkspecs/features/qwt.prf )
16
-
}
13
+
exists ( $$QT_MKSPECS_DIR/features/qwt.prf ) {
14
+
message( found $$QT_MKSPECS_DIR/features/qwt.prf )
15
+
include ( $$QT_MKSPECS_DIR/features/qwt.prf )
17
16
}
18
17
}
18
+
19
19
INCLUDEPATH += /opt/casa/03/include /opt/casa/02/include /usr/include/cfitsio
20
20
LIBDIR_LIST = /opt/casa/03/lib /opt/casa/02/lib /opt/rh/devtoolset-4/root/usr/lib/gcc/x86_64-redhat-linux/5.3.1 /opt/local/lib/gcc5
21
21
LIBS += -lxerces-c -ldl
22
22
23
23
QMAKE_CXXFLAGS += -DYYERROR_IS_DECLARED -DAIPS_HAS_QWT -DUseCasacoreNamespace -DNO_CRASH_REPORTER -DAIPS_LINUX -DWITHOUT_ACS -DWITHOUT_BOOST -DUSE_GRPC
24
24
unix:!mac{
25
25
QMAKE_CXXFLAGS += -std=c++11
26
26
LIBS += -lrt
27
27
greaterThan(QT_MAJOR_VERSION, 4) {
28
28
LIBDIR_LIST += /usr/lib64