Advertisement
Guest User

CMakeLists.txt

a guest
Jul 15th, 2014
491
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CMake 0.63 KB | None | 0 0
  1. cmake_minimum_required (VERSION 3.0)
  2. project (Project)
  3.  
  4. #include header files
  5. include_directories(~/project)
  6. set(SOURCES ~/project/pmddatadescription.h ~/project/pmdsdk2.h ~/project/pmdsdk2common.h ~/project/stdafx.h)
  7.  
  8. # PCL
  9. find_package(PCL 1.2 REQUIRED)
  10. include_directories(${PCL_INCLUDE_DIRS})
  11. link_directories(${PCL_LIBRARY_DIRS})
  12. add_definitions(${PCL_DEFINITIONS})
  13.  
  14. # VTK
  15. find_package(VTK REQUIRED)
  16. include(${VTK_USE_FILE})
  17.  
  18. # add the executable
  19. add_executable(project project.cpp ${SOURCES})
  20. #link installed & local libraries
  21. target_link_libraries (project ${PCL_LIBRARIES} ${VTK_LIBRARIES} ~/project/libpmdaccess2.so)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement