mirror of https://gitee.com/cxasm/notepad--.git
cmake-plugin: 处理空白占位的无效构建内容
This commit is contained in:
parent
b6c27ca8b7
commit
f2862392ee
|
@ -40,24 +40,24 @@ if(USE_NOTEPAD_PLUGIN)
|
||||||
# 一个使用引用构建的插件
|
# 一个使用引用构建的插件
|
||||||
# include(path/to/plugin.cmake)
|
# include(path/to/plugin.cmake)
|
||||||
|
|
||||||
# 一个简单的 plantuml 预览插件
|
# # 一个简单的 plantuml 预览插件
|
||||||
add_framework_plugin(framework-plantuml-preview
|
# add_framework_plugin(framework-plantuml-preview
|
||||||
framework-plugins/plantuml-preview
|
# framework-plugins/plantuml-preview
|
||||||
framework-plugins/plantuml-preview/nplugin.qrc
|
# framework-plugins/plantuml-preview/nplugin.qrc
|
||||||
)
|
# )
|
||||||
if(framework-plantuml-preview_ENABLE)
|
# if(framework-plantuml-preview_ENABLE)
|
||||||
find_package(Qt5Svg)
|
# find_package(Qt5Svg)
|
||||||
target_link_libraries(framework-plantuml-preview Qt5::Svg)
|
# target_link_libraries(framework-plantuml-preview Qt5::Svg)
|
||||||
endif(framework-plantuml-preview_ENABLE)
|
# endif(framework-plantuml-preview_ENABLE)
|
||||||
|
|
||||||
# 一个简单的 svg 预览插件
|
# # 一个简单的 svg 预览插件
|
||||||
add_framework_plugin(framework-svg-preview
|
# add_framework_plugin(framework-svg-preview
|
||||||
framework-plugins/svg-preview
|
# framework-plugins/svg-preview
|
||||||
)
|
# )
|
||||||
if(framework-svg-preview_ENABLE)
|
# if(framework-svg-preview_ENABLE)
|
||||||
find_package(Qt5Svg)
|
# find_package(Qt5Svg)
|
||||||
target_link_libraries(framework-svg-preview Qt5::Svg)
|
# target_link_libraries(framework-svg-preview Qt5::Svg)
|
||||||
endif(framework-svg-preview_ENABLE)
|
# endif(framework-svg-preview_ENABLE)
|
||||||
|
|
||||||
# 一个简单的插件示例,但依赖于外部的 opencc 项目(基于 git)
|
# 一个简单的插件示例,但依赖于外部的 opencc 项目(基于 git)
|
||||||
# add_subdirectory(opencc-demo-plugin)
|
# add_subdirectory(opencc-demo-plugin)
|
||||||
|
|
Loading…
Reference in New Issue