加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
UseElastix.cmake.in 843 Bytes
一键复制 编辑 原始数据 按行查看 历史
Marius Staring 提交于 2019-08-27 15:14 . STYLE: spaces
#
# To use elastix-code in your own program, add the following
# cmake code to your CMakeLists file:
#
# set( Elastix_DIR "path/to/elastix/binary/directory" )
# find_package( Elastix REQUIRED )
# include( ${ELASTIX_USE_FILE} )
#
# Add include dirs
include_directories( ${ELASTIX_INCLUDE_DIRS} )
# Add library dirs
link_directories( ${ELASTIX_LIBRARY_DIRS} )
# If Elastix_FOUND is set, this file is included via find_package() which provides
# ELASTIX_CONFIG_TARGETS_FILE and elxLIBRARY_DEPENDS_FILE. Guarding the following
# include statements allow users to include this file directly for backwards
# compatibility.
if( Elastix_FOUND )
# This file was found by find_package
include( ${ELASTIX_CONFIG_TARGETS_FILE} )
else()
# Include linking dependency info for backwards compatibility
include( ${elxLIBRARY_DEPENDS_FILE} )
endif()
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化