mirror of
https://github.com/silverqx/TinyORM.git
synced 2025-12-30 15:29:36 -06:00
36 lines
860 B
Plaintext
36 lines
860 B
Plaintext
# Dependencies include and library paths
|
|
# ---
|
|
|
|
win32-g++* {
|
|
}
|
|
else:win32-msvc* {
|
|
# Includes
|
|
# range-v3
|
|
INCLUDEPATH += $$quote(E:/xyz/vcpkg/installed/x64-windows/include)
|
|
# boost
|
|
# INCLUDEPATH += $$quote(E:/c_libs/boost/boost_latest)
|
|
|
|
# Conditional dependencies
|
|
# MySQL C library is used by TinyORM and it uses mysql_ping()
|
|
mysql_ping {
|
|
INCLUDEPATH += $$quote(C:/Program Files/MySQL/MySQL Server 8.0/include)
|
|
LIBS += $$quote(-LC:/Program Files/MySQL/MySQL Server 8.0/lib)
|
|
LIBS += -llibmysql
|
|
}
|
|
}
|
|
else:unix {
|
|
# Includes
|
|
# range-v3
|
|
QMAKE_CXXFLAGS += -isystem $$quote(/home/xyz/vcpkg/installed/x64-linux/include)
|
|
|
|
# Libraries
|
|
# MySQL C library
|
|
mysql_ping {
|
|
LIBS += -lmysqlclient
|
|
}
|
|
|
|
# others
|
|
clang: CONFIG *= use_lld_linker
|
|
else: CONFIG *= use_gold_linker
|
|
}
|