ATBTariffCalculator/CalculatorCInterface/CalculatorCInterface.pro

40 lines
965 B
Prolog
Raw Normal View History

2024-03-11 12:14:28 +01:00
QT+=core
2024-03-04 16:31:14 +01:00
TEMPLATE = lib
2024-03-11 12:14:28 +01:00
DEFINES += CALCULATOR_C_INTERFACE_LIBRARY
2024-03-11 14:27:33 +01:00
QMAKE_CXXFLAGS += -fPIC
unix {
LIBS += -L/usr/lib64 -lgit2
}
2024-03-04 16:31:14 +01:00
2024-03-11 16:37:06 +01:00
win32 {
INCLUDEPATH += C:\Users\G.Hoffmann\Downloads\libgit2-1.7.2\libgit2-1.7.2\include
LIBS += -LC:\Users\G.Hoffmann\Downloads\libgit2-1.7.2\libgit2-1.7.2\build\Debug -lgit2
}
2024-03-04 16:31:14 +01:00
# INCLUDEPATH+=$$_PRO_FILE_PWD_/../Utilities/
2024-03-11 12:14:28 +01:00
CONFIG += c++20 console
#QMAKE_CXX=C:\Qt\Tools\mingw1120_64\g++.exe
2024-03-04 16:31:14 +01:00
# 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 \
2024-03-11 12:14:28 +01:00
tariff_calculator.cpp
2024-03-04 16:31:14 +01:00
HEADERS += \
calculator_c_interface_lib.h \
2024-03-11 12:14:28 +01:00
calculator_c_interface_lib_global.h \
tariff_calculator.h
2024-03-04 16:31:14 +01:00
# Default rules for deployment.
unix {
target.path = /usr/lib
}
!isEmpty(target.path): INSTALLS += target