1 Star 1 Fork 0

铜豌豆 Linux/qterm

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CMakeLists.txt 2.17 KB
一键复制 编辑 原始数据 按行查看 历史
atzlinux 提交于 2020-05-12 14:40 . Import Upstream version 0.7.4
project(qterm)
include(CTest)
include(FeatureSummary)
cmake_minimum_required(VERSION 2.8.11 FATAL_ERROR)
set(QTERM_VERSION_MAJOR 0)
set(QTERM_VERSION_MINOR 7)
set(QTERM_VERSION_RELEASE 4)
set(QTERM_VERSION "${QTERM_VERSION_MAJOR}.${QTERM_VERSION_MINOR}.${QTERM_VERSION_RELEASE}" )
set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
set(CMAKE_AUTOMOC ON)
IF(QT5)
find_package(Qt5Core 5.3.0 REQUIRED)
find_package(Qt5Gui 5.3.0 REQUIRED)
find_package(Qt5Widgets 5.3.0 REQUIRED)
find_package(Qt5Xml 5.3.0 REQUIRED)
find_package(Qt5Network 5.3.0 REQUIRED)
find_package(Qt5PrintSupport 5.3.0 REQUIRED)
find_package(Qt5LinguistTools 5.3.0 REQUIRED)
find_package(Qt5Help 5.3.0 REQUIRED)
find_package(Qt5Script 5.3.0)
find_package(Qt5ScriptTools 5.3.0)
find_package(Qt5Multimedia 5.3.0)
IF(NOT QT_BINARY_DIR)
exec_program(${_qt5Core_install_prefix}/bin/qmake ARGS "-query QT_INSTALL_BINS"
OUTPUT_VARIABLE QT_BINARY_DIR)
ENDIF()
ELSE(QT5)
find_package(Qt4 4.5.0 REQUIRED)
find_package(KDE4)
ENDIF(QT5)
IF(WIN32 AND MSVC)
ADD_DEFINITIONS (/D _CRT_SECURE_NO_WARNINGS)
ENDIF(WIN32 AND MSVC)
IF(APPLE)
SET (PROGRAME QTerm)
SET (MACOSX_BUNDLE_BUNDLE_NAME ${PROGRAME})
SET (MACOSX_BUNDLE_GUI_IDENTIFIER "org.qterm")
SET (MACOSX_BUNDLE_INFO_STRING "${PROGRAME} ${QTERM_VERSION}")
SET (MACOSX_BUNDLE_BUNDLE_VERSION ${QTERM_VERSION})
SET (MACOSX_BUNDLE_LONG_VERSION_STRING ${QTERM_VERSION})
SET (MACOSX_BUNDLE_SHORT_VERSION_STRING "${QTERM_VERSION_MAJOR}.${QTERM_VERSION_MINOR}")
SET (MACOSX_BUNDLE_ICON_FILE QTerm.icns)
SET (MACOSX_BUNDLE_COPYRIGHT "The QTerm Project")
ELSE(APPLE)
SET (PROGRAME qterm)
ENDIF(APPLE)
include("package.cmake")
add_subdirectory(src)
add_subdirectory(icons)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)
configure_file(
"${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake.in"
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
IMMEDIATE @ONLY)
if (NOT TARGET uninstall)
add_custom_target(uninstall
"${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake")
endif(NOT TARGET uninstall)
feature_summary(WHAT ALL)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/atzlinux/qterm.git
git@gitee.com:atzlinux/qterm.git
atzlinux
qterm
qterm
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385