1 Star 5 Fork 0

texmacs/plugins

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
CMakeLists.txt 1.43 KB
一键复制 编辑 原始数据 按行查看 历史
Darcy Shen 提交于 2020-11-21 18:29 +08:00 . CMake: installation for WIN32
###############################################################################
# MODULE : CMake file for various plugins
# COPYRIGHT : (C) 2018-2020 Darcy Shen
###############################################################################
# This software falls under the GNU general public license version 3 or later.
# It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE
# in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>.
###############################################################################
if (NOT WIN32)
add_subdirectory (axiom)
add_subdirectory (coq)
add_subdirectory (maple)
add_subdirectory (r)
add_subdirectory (shell)
endif (NOT WIN32)
# Install the binaries for plugin
file(GLOB PLUGIN_DIRS LIST_DIRECTORIES true *)
foreach(PLUGIN ${PLUGIN_DIRS})
if (EXISTS ${PLUGIN}/bin/)
file(RELATIVE_PATH PLUGIN_NAME ${TEXMACS_SOURCE_DIR}/plugins ${PLUGIN})
if (WIN32)
install(DIRECTORY ${PLUGIN}/bin/ DESTINATION plugins/${PLUGIN_NAME}/bin
PATTERN "*"
PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ)
else (WIN32)
install(DIRECTORY ${PLUGIN}/bin/ DESTINATION share/TeXmacs/plugins/${PLUGIN_NAME}/bin
PATTERN "*"
PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ)
endif (WIN32)
endif(EXISTS ${PLUGIN}/bin/)
endforeach(PLUGIN)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/texmacs/plugins.git
git@gitee.com:texmacs/plugins.git
texmacs
plugins
plugins
master

搜索帮助