代码拉取完成,页面将自动刷新
同步操作将从 tamlok/vnote 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
# Minimum requirement for CMake version.
# 3.13 or later for Linux and Mac OSX.
# it causes error for build with cmake 3.12 or earlier.
# 3.12 or later for Windows
# because Qt5.9 only support MSVC2017,
# and MSVC2017 is integrated with cmake 3.12.
cmake_policy(SET CMP0042 NEW)
cmake_minimum_required (VERSION 3.12)
project(VNote VERSION 2.8.2
DESCRIPTION "VNote is a markdown note taking application"
HOMEPAGE_URL "https://tamlok.github.io/vnote"
LANGUAGES C CXX)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
## Qt5 configurations
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)
# find Qt5 installation
find_package(Qt5 REQUIRED COMPONENTS Core Gui Network PrintSupport WebChannel WebEngine
WebEngineWidgets Positioning Svg Widgets LinguistTools
HINTS
"/opt/qt59/lib/cmake/Qt5/"
"c:/Qt/Qt5.9.8/5.9.8/msvc2017_64/lib/cmake/Qt5/"
"c:/Qt/Qt5.9.9/5.9.9/msvc2017_64/lib/cmake/Qt5/"
"/usr/local/Cellar/qt/5.9.8/clang_64/lib/cmake/Qt5/"
"/usr/local/Cellar/qt/5.9.9/clang_64/lib/cmake/Qt5/")
## hoedown library
add_library(hoedown STATIC
hoedown/src/autolink.c hoedown/src/document.c hoedown/src/html.c hoedown/src/html_smartypants.c
hoedown/src/version.c hoedown/src/buffer.c hoedown/src/escape.c hoedown/src/html_blocks.c
hoedown/src/stack.c )
target_link_libraries(hoedown PRIVATE Qt5::Core Qt5::Gui)
## peg-highlight library
add_library(peg-highlight STATIC peg-highlight/pmh_parser.c peg-highlight/pmh_styleparser.c)
target_link_libraries(peg-highlight PRIVATE Qt5::Core Qt5::Gui)
## project sources
add_subdirectory(src)
include(${CMAKE_CURRENT_LIST_DIR}/Packaging.cmake)
# vim: ts=2 sw=2 sts=2 et
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。