Template:ITKVTKCMakeLists

From KitwarePublic
Jump to navigationJump to search

CMakeLists.txt

<syntaxhighlight lang="cmake"> cmake_minimum_required(VERSION 2.6)

PROJECT({{{1}}})

FIND_PACKAGE(ItkVtkGlue REQUIRED) INCLUDE(${ItkVtkGlue_USE_FILE})

ADD_EXECUTABLE({{{1}}} {{{1}}}.cxx) TARGET_LINK_LIBRARIES({{{1}}} ItkVtkGlue {{{2}}} ${ITK_LIBRARIES}) </syntaxhighlight>