Created
April 4, 2013 15:57
-
-
Save kevinhughes27/5311651 to your computer and use it in GitHub Desktop.
PCL CMake File
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cmake_minimum_required(VERSION 2.8 FATAL_ERROR) | |
project(HelloWorld) | |
set(EXE HelloWorld) | |
find_package(PCL 1.6 REQUIRED) | |
include_directories(${PCL_INCLUDE_DIRS}) | |
link_directories(${PCL_LIBRARY_DIRS}) | |
add_definitions(${PCL_DEFINITIONS}) | |
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-deprecated-declarations") | |
# SRC | |
SET (SRC main.cpp | |
other.cpp ) | |
# BUILD | |
add_executable (EXE ${SRC}) | |
target_link_libraries (EXE ${PCL_LIBRARIES}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment