ATBTariffCalculator/CalculatorCInterface/CalculatorCInterface.pro

48 lines
1.1 KiB
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-13 13:17:02 +01:00
QMAKE_CXXFLAGS += -fPIC -std=c++20
2024-03-11 14:27:33 +01:00
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
2024-03-13 13:17:02 +01:00
2024-03-11 16:37:06 +01:00
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-28 16:45:46 +01:00
git_library.cpp \
2024-03-21 16:57:53 +01:00
tariff_calculator.cpp \
local_git_repository.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 \
2024-03-28 16:45:46 +01:00
git_library.h \
2024-03-21 16:57:53 +01:00
tariff_calculator.h \
2024-04-03 16:29:58 +02:00
local_git_repository.h \
global_defines.h
2024-03-04 16:31:14 +01:00
# Default rules for deployment.
unix {
target.path = /usr/lib
}
!isEmpty(target.path): INSTALLS += target