2 Star 0 Fork 0

mirrors_gnu/src-highlite

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
defines.pri 1.36 KB
一键复制 编辑 原始数据 按行查看 历史
Lorenzo Bettini 提交于 2012-11-22 22:11 . increased version in qmake file
MAJOR_VERSION = 3
VERSION = $${MAJOR_VERSION}.1.8
# better to avoid both builds (especially on windows)
CONFIG-=debug_and_release
CONFIG -= qt
CONFIG += console warn_on
CONFIG -= thread
# -------------------------------------------------
# Auto select compiler
# -------------------------------------------------
win32-g++: COMPILER = mingw
win32-msvc*: COMPILER = msvc
linux-g++: COMPILER = gcc
DEFINES += ABSOLUTEDATADIR=\\\"/usr/local/share/source-highlight/\\\" \
VERSION=\\\"3.1.7\\\" \
LIBRARY_VERSION=\\\"4.0.0\\\" \
PACKAGE=\\\"source-highlight\\\" \
RELATIVEDATADIR=\\\"../share/source-highlight\\\"
LIBRARY_NAME = source-highlight
LIBRARY_LIB = $${LIBRARY_NAME}
CONFIG(static) {
BUILDING_STATIC_LIBRARY=1
}
contains(COMPILER, mingw) {
isEmpty(BUILDING_STATIC_LIBRARY) {
LIBRARY_LIB=$${LIBRARY_NAME}$${MAJOR_VERSION}
}
}
contains(COMPILER, msvc) {
isEmpty(BUILDING_STATIC_LIBRARY) {
CONFIG+=static
}
}
!isEmpty(BOOST_REGEX) {
# remove the library found with pkg-config with the one explicitly specified
ADDITIONAL_LIBRARIES += -l$$BOOST_REGEX
} else {
ADDITIONAL_LIBRARIES += -lboost_regex
}
contains(COMPILER, msvc) {
# Special cases for MSVC
DEFINES += USE_MSVC
DEFINES += _CRT_SECURE_NO_WARNINGS
}
contains(COMPILER, mingw) {
# Special cases for mingw
DEFINES += USE_MINGW
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_gnu/src-highlite.git
[email protected]:mirrors_gnu/src-highlite.git
mirrors_gnu
src-highlite
src-highlite
master

搜索帮助