Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cmake_minimum_required (VERSION 3.0)
- project (Project)
- #include header files
- include_directories(~/project)
- set(SOURCES ~/project/pmddatadescription.h ~/project/pmdsdk2.h ~/project/pmdsdk2common.h ~/project/stdafx.h)
- # PCL
- find_package(PCL 1.2 REQUIRED)
- include_directories(${PCL_INCLUDE_DIRS})
- link_directories(${PCL_LIBRARY_DIRS})
- add_definitions(${PCL_DEFINITIONS})
- # VTK
- find_package(VTK REQUIRED)
- include(${VTK_USE_FILE})
- # add the executable
- add_executable(project project.cpp ${SOURCES})
- #link installed & local libraries
- target_link_libraries (project ${PCL_LIBRARIES} ${VTK_LIBRARIES} ~/project/libpmdaccess2.so)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement