7 Star 0 Fork 0

openKylin/libaccounts-qt

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
common-project-config.pri 2.09 KB
一键复制 编辑 原始数据 按行查看 历史
rtlhq 提交于 2022-09-24 22:51 . Import Upstream version 1.16
#-----------------------------------------------------------------------------
# Common configuration for all projects.
#-----------------------------------------------------------------------------
QT -= gui
CONFIG += link_pkgconfig
MOC_DIR = .moc
OBJECTS_DIR = .obj
RCC_DIR = resources
UI_DIR = ui
UI_HEADERS_DIR = ui/include
UI_SOURCES_DIR = ui/src
!defined(TOP_SRC_DIR, var) {
TOP_SRC_DIR = $$PWD
TOP_BUILD_DIR = $${TOP_SRC_DIR}/$(BUILD_DIR)
}
# we don't like warnings...
#QMAKE_CXXFLAGS *= -Werror
CONFIG += c++11
#-----------------------------------------------------------------------------
# setup the installation prefix
#-----------------------------------------------------------------------------
INSTALL_PREFIX = /usr # default installation prefix
# default prefix can be overriden by defining PREFIX when running qmake
isEmpty( PREFIX ) {
message("====")
message("==== NOTE: To override the installation path run: `qmake PREFIX=/custom/path'")
message("==== (current installation path is `$${INSTALL_PREFIX}')")
} else {
INSTALL_PREFIX = $${PREFIX}
message("====")
message("==== install prefix set to `$${INSTALL_PREFIX}'")
}
INSTALL_LIBDIR = $${INSTALL_PREFIX}/lib
# default library directory can be overriden by defining LIBDIR when
# running qmake
isEmpty( LIBDIR ) {
message("====")
message("==== NOTE: To override the library installation path run: `qmake LIBDIR=/custom/path'")
message("==== (current installation path is `$${INSTALL_LIBDIR}')")
} else {
INSTALL_LIBDIR = $${LIBDIR}
message("====")
message("==== library install path set to `$${INSTALL_LIBDIR}'")
}
isEmpty ( CMAKE_CONFIG_PATH ) {
CMAKE_CONFIG_PATH = $${INSTALL_LIBDIR}/cmake
message("====")
message("==== NOTE: To override the cmake module installation path run: `qmake CMAKE_CONFIG_PATH=/custom/path'")
message("==== (current installation path is `$${CMAKE_CONFIG_PATH}')")
} else {
message("====")
message("==== cmake module install path set to `$${CMAKE_CONFIG_PATH}'")
}
include( coverage.pri )
# End of File
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openkylin/libaccounts-qt.git
git@gitee.com:openkylin/libaccounts-qt.git
openkylin
libaccounts-qt
libaccounts-qt
openkylin/yangtze

搜索帮助