casalogger package for CASA 6
Source
xxxxxxxxxx
INCLUDEPATH += /opt/casa/03/include /opt/casa/02/include /usr/include/cfitsio /opt/casa/03/include/libxml2 /usr/include/libxml2 /usr/include
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
GFORTRAN = gfortran
###
### -lelf is needed simply to cause it to be located from within the casalogger.app
### tree at runtime by the runtime loader... because whatever library depends upon
### libelf.so.1 does not include a RPATH/RUNPATH
###
unix:!mac{
LIBS += -lwcs -lcfitsio -llapack -lblas -lgsl -lgslcblas -lfftw3 -lfftw3f -lfftw3_threads -lfftw3f_threads -lm -lgfortran -lelf -lrt -lxml2 -lxslt
LIBS += -lm -lelf -lrt -lxml2 -lxslt
# APP_EXE = build/bin.$$QMAKE_HOST.version/$${TARGET}-x86_64.AppImage
}
unix:mac{
GCC_VERSION="5"
OSVERSION_MAJOR = $$system(uname -r | cut -d. -f1)
greaterThan(OSVERSION_MAJOR, 19) {
GCC_VERSION="9"
}
FORTRAN_BIN = $$system(which gfortran)
isEmpty(FORTRAN_BIN) {
message("gfortran not found. Trying gfortran-mp-$${GCC_VERSION} instead")
GFORTRAN = gfortran-mp-$${GCC_VERSION}
}
message( "Using proper libraries in MacOS" )
LIBS += -lwcs -lcfitsio -llapack -lblas -lgsl -lgslcblas -lfftw3 -lfftw3f -lfftw3_threads -lfftw3f_threads -lm -lgfortran -lxml2 -lxslt
LIBS += -lm -lxml2 -lxslt
# APP_EXE = build/bin.$$QMAKE_HOST.version/$${TARGET}.app
}
OBJECTS_DIR = build/lib.$$QMAKE_HOST.version/objs
MOC_DIR = build/lib.$$QMAKE_HOST.version/moc
RCC_DIR = build/lib.$$QMAKE_HOST.version/rcc
UI_DIR = build/include.$$QMAKE_HOST.version/ui
CONFIG += object_parallel_to_source