ATBTariffCalculator/CalculatorCInterface/CalculatorCInterface.pro
2024-04-03 16:29:58 +02:00

48 lines
1.1 KiB
Prolog

QT+=core
TEMPLATE = lib
DEFINES += CALCULATOR_C_INTERFACE_LIBRARY
QMAKE_CXXFLAGS += -fPIC -std=c++20
unix {
LIBS += -L/usr/lib64 -lgit2
}
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
}
# 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 \
git_library.cpp \
tariff_calculator.cpp \
local_git_repository.cpp
HEADERS += \
calculator_c_interface_lib.h \
calculator_c_interface_lib_global.h \
git_library.h \
tariff_calculator.h \
local_git_repository.h \
global_defines.h
# Default rules for deployment.
unix {
target.path = /usr/lib
}
!isEmpty(target.path): INSTALLS += target