repository for casafeather app
Source
xxxxxxxxxx
exists( /opt/casa/03 ) {
LIBS += -L/opt/casa/03/lib/gcc$${GCC_VERSION}
MAC_THIRD_PARTY_LIBS_PATH = "/opt/casa/03/lib"
message("MAC_THIRD_PARTY_LIBS_PATH $$MAC_THIRD_PARTY_LIBS_PATH")
}
exists ( $(CONDA_PREFIX) ) {
# When using anaconda3, the qt libraries are in the conda environment and are detected by the system
MAC_THIRD_PARTY_LIBS_PATH = ""
message("Found conda environment: $(CONDA_PREFIX)")
}
QMAKE_POST_LINK = scripts/create-app --no-data name=feather exe=$$DESTDIR/$${TARGET}.app/Contents/MacOS/$$TARGET app=$$APP lib=$$DESTDIR/$${TARGET}.app/Contents/Frameworks tgt=$$lower($$QMAKE_HOST.os) plugins=$$[QT_INSTALL_PLUGINS] $$GRPC_PATH $$MAC_THIRD_PARTY_LIBS_PATH $$RPATH_LIBS
QMAKE_POST_LINK = scripts/create-app --no-data name=feather exe=$$DESTDIR/$${TARGET}.app/Contents/MacOS/$$TARGET app=$$APP lib=$$DESTDIR/$${TARGET}.app/Contents/Frameworks tgt=$$lower($$QMAKE_HOST.os) plugins=$$[QT_INSTALL_PLUGINS] $$GRPC_PATH $$MAC_THIRD_PARTY_LIBS_PATH $$RPATH_LIBS $$QWT_LIB_PATH
ICON = casafeather.icns
APP_EXE = $$APP
}
message( "QMAKE_POST_LINK command: $$QMAKE_POST_LINK" )
fortran.name = Generate .o file for ${QMAKE_FILE_BASE}.f
fortran.input = FORTRAN_SOURCE # variable containing our input files
fortran.output = ${OBJECTS_DIR}/${QMAKE_FILE_BASE}.o
fortran.commands = $$GFORTRAN -c ${QMAKE_FILE_NAME} -o ${QMAKE_FILE_OUT} -std=legacy
fortran.dependency_type = TYPE_C