Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
83d3efb
commit eb976d3
Showing
12 changed files
with
53 additions
and
38 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,15 @@ | ||
cmake_minimum_required(VERSION 2.8 FATAL_ERROR) | ||
cmake_minimum_required (VERSION 2.6) | ||
|
||
project(pcd_write) | ||
|
||
#set(CMAKE_VERBOSE_MAKEFILE TRUE) | ||
|
||
#set(CMAKE_CXX_COMPILER g++-mp-4.4) | ||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}") | ||
project (Emulator) | ||
|
||
MESSAGE("C Compiler: ${CMAKE_C_COMPILER}") | ||
MESSAGE("C++ Compiler: ${CMAKE_CXX_COMPILER}") | ||
|
||
|
||
# set(CMAKE_CXX_FLAGS "-m64") | ||
|
||
find_package(PCL 1.2 REQUIRED) | ||
|
||
include_directories(${PCL_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS}) | ||
link_directories(${PCL_LIBRARY_DIRS} ${Boost_LIBRARY_DIRS}) | ||
add_definitions(${PCL_DEFINITIONS}) | ||
|
||
add_executable (pcd_write pcd_write.cpp) | ||
target_link_libraries (pcd_write ${PCL_LIBRARIES}) | ||
|
||
add_executable (pcl_cluster cluster_extract.cpp binfile.cpp) | ||
target_link_libraries (pcl_cluster ${PCL_LIBRARIES}) | ||
|
||
add_executable (fit_planes fit_planes.cpp binfile.cpp) | ||
target_link_libraries (fit_planes ${PCL_LIBRARIES}) | ||
|
||
add_executable (bin2pcd bin2pcd.cpp binfile.cpp) | ||
target_link_libraries (bin2pcd ${PCL_LIBRARIES}) | ||
|
||
add_executable (pcd2bin pcd2bin.cpp binfile.cpp) | ||
target_link_libraries (pcd2bin ${PCL_LIBRARIES}) | ||
|
||
|
||
add_executable (ransac ransac_cubes.cpp binfile.cpp) | ||
target_link_libraries (ransac ${PCL_LIBRARIES}) | ||
if(${CMAKE_BUILD_TYPE} MATCHES "debug") | ||
MESSAGE("C DEBUG FLAGS: ${CMAKE_C_FLAGS_DEBUG}") | ||
else() | ||
MESSAGE("C FLAGS: ${CMAKE_C_FLAGS}") | ||
endif(${CMAKE_BUILD_TYPE} MATCHES "debug") | ||
|
||
add_executable (pcl_hull convex_hull.cpp) | ||
target_link_libraries (pcl_hull ${PCL_LIBRARIES}) | ||
add_subdirectory(src) | ||
|
||
add_executable (test_io test_io.cpp) | ||
target_link_libraries (test_io ${PCL_COMMON_LIBRARIES} ${PCL_IO_LIBRARIES}) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
cmake_minimum_required(VERSION 2.8 FATAL_ERROR) | ||
|
||
project(pcd_write) | ||
|
||
#set(CMAKE_VERBOSE_MAKEFILE TRUE) | ||
|
||
#set(CMAKE_CXX_COMPILER g++-mp-4.4) | ||
|
||
MESSAGE("C Compiler: ${CMAKE_C_COMPILER}") | ||
MESSAGE("C++ Compiler: ${CMAKE_CXX_COMPILER}") | ||
|
||
|
||
# set(CMAKE_CXX_FLAGS "-m64") | ||
|
||
find_package(PCL 1.2 REQUIRED) | ||
|
||
include_directories(${PCL_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS}) | ||
link_directories(${PCL_LIBRARY_DIRS} ${Boost_LIBRARY_DIRS}) | ||
add_definitions(${PCL_DEFINITIONS}) | ||
|
||
add_executable (pcd_write pcd_write.cpp) | ||
target_link_libraries (pcd_write ${PCL_LIBRARIES}) | ||
|
||
add_executable (pcl_cluster cluster_extract.cpp binfile.cpp) | ||
target_link_libraries (pcl_cluster ${PCL_LIBRARIES}) | ||
|
||
add_executable (fit_planes fit_planes.cpp binfile.cpp) | ||
target_link_libraries (fit_planes ${PCL_LIBRARIES}) | ||
|
||
add_executable (bin2pcd bin2pcd.cpp binfile.cpp) | ||
target_link_libraries (bin2pcd ${PCL_LIBRARIES}) | ||
|
||
add_executable (pcd2bin pcd2bin.cpp binfile.cpp) | ||
target_link_libraries (pcd2bin ${PCL_LIBRARIES}) | ||
|
||
|
||
add_executable (ransac ransac_cubes.cpp binfile.cpp) | ||
target_link_libraries (ransac ${PCL_LIBRARIES}) | ||
|
||
add_executable (pcl_hull convex_hull.cpp) | ||
target_link_libraries (pcl_hull ${PCL_LIBRARIES}) | ||
|
||
add_executable (test_io test_io.cpp) | ||
target_link_libraries (test_io ${PCL_COMMON_LIBRARIES} ${PCL_IO_LIBRARIES}) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.