Template:ITKCMakeLists
From KitwarePublic
Revision as of 22:41, 2 March 2011 by Hjmjohnson (talk | contribs) (Changed to match style of Current CMake Documentation)
CMakeLists.txt
<syntaxhighlight lang="cmake"> cmake_minimum_required(VERSION 2.6)
project({{{1}}})
find_package(ITK REQUIRED) include(${ITK_USE_FILE})
add_executable({{{1}}} {{{1}}}.cxx)
target_link_libraries({{{1}}} ITKReview ${ITK_LIBRARIES}) </syntaxhighlight>