Template:ITKCMakeLists

From KitwarePublic
Revision as of 17:38, 4 November 2010 by Daviddoria (talk | contribs) (Created page with "==CMakeLists.txt== {{#tag:syntaxhighlight | cmake_minimum_required(VERSION 2.6) PROJECT({{{1}}}) FIND_PACKAGE(ITK REQUIRED) INCLUDE(${ITK_USE_FILE}) ADD_EXECUTABLE({{{1}}} {{{...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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}}} {{{2}}}) </syntaxhighlight>