ATBTariffCalculator/CalculatorCInterface/CalculatorCInterface.pro
2024-03-11 14:27:33 +01:00

35 lines
778 B
Prolog

QT+=core
TEMPLATE = lib
DEFINES += CALCULATOR_C_INTERFACE_LIBRARY
QMAKE_CXXFLAGS += -fPIC
unix {
LIBS += -L/usr/lib64 -lgit2
}
# INCLUDEPATH+=$$_PRO_FILE_PWD_/../Utilities/
CONFIG += c++20 console
#QMAKE_CXX=C:\Qt\Tools\mingw1120_64\g++.exe
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
SOURCES += \
calculator_c_interface_lib.cpp \
tariff_calculator.cpp
HEADERS += \
calculator_c_interface_lib.h \
calculator_c_interface_lib_global.h \
tariff_calculator.h
# Default rules for deployment.
unix {
target.path = /usr/lib
}
!isEmpty(target.path): INSTALLS += target