Template:CHECKVTKCMakeLists: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
==Section Break==
<nowiki><source lang="cmake"></nowiki>
cmake_minimum_required(VERSION 2.6)
cmake_minimum_required(VERSION 2.6)
   
   
Line 11: Line 8:
ADD_EXECUTABLE({{{1}}} {{{1}}}.cxx)
ADD_EXECUTABLE({{{1}}} {{{1}}}.cxx)
TARGET_LINK_LIBRARIES({{{1}}} {{{2}}})
TARGET_LINK_LIBRARIES({{{1}}} {{{2}}})
<nowiki></source></nowiki>
 
</source>

Latest revision as of 02:37, 20 August 2010

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>