Template:CHECKVTKCMakeLists

From KitwarePublic
Revision as of 01:53, 20 August 2010 by Sesproul (talk | contribs) (Created page with '==CMakeLists.txt== <source lang="cmake"> cmake_minimum_required(VERSION 2.6) PROJECT({{{1}}}) FIND_PACKAGE(VTK REQUIRED) INCLUDE(${VTK_USE_FILE}) ADD_EXECUTABLE({{{1}}} {{{…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

CMakeLists.txt

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

PROJECT({{{1}}})

FIND_PACKAGE(VTK REQUIRED) INCLUDE(${VTK_USE_FILE})

ADD_EXECUTABLE({{{1}}} {{{1}}}.cxx) TARGET_LINK_LIBRARIES({{{1}}} {{{2}}}) </source>