Template:VTKCMakeListsNamed: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
(Created page with '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}}} {…')
 
mNo edit summary
Line 1: Line 1:
<source lang="cmake">
cmake_minimum_required(VERSION 2.6)
cmake_minimum_required(VERSION 2.6)
   
   
Line 8: Line 9:
ADD_EXECUTABLE({{{1}}} {{{1}}}.cxx)
ADD_EXECUTABLE({{{1}}} {{{1}}}.cxx)
TARGET_LINK_LIBRARIES({{{1}}} {{{2}}})
TARGET_LINK_LIBRARIES({{{1}}} {{{2}}})
</source>

Revision as of 19:47, 12 August 2010

<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>