VTK/Tutorials/CMakeListsFile
From KitwarePublic
< VTK | Tutorials
Jump to navigationJump to search
Revision as of 12:56, 2 July 2009 by Daviddoria (talk | contribs) (New page: To use Cmake to generate your project, this is what the CMakeLists.txt file should look like: <nowiki> cmake_minimum_required(VERSION 2.6) PROJECT(Test) FIND_PACKAGE(VTK REQUIRED) INCLUD...)
To use Cmake to generate your project, this is what the CMakeLists.txt file should look like:
cmake_minimum_required(VERSION 2.6) PROJECT(Test) FIND_PACKAGE(VTK REQUIRED) INCLUDE(${VTK_USE_FILE}) ADD_EXECUTABLE(Test Test.cpp) TARGET_LINK_LIBRARIES(Test vtkHybrid)