Skip to content

Commit

Permalink
moved source into its own folder
Browse files Browse the repository at this point in the history
  • Loading branch information
jackdawjackdaw committed Feb 11, 2012
1 parent 83d3efb commit eb976d3
Show file tree
Hide file tree
Showing 12 changed files with 53 additions and 38 deletions.
47 changes: 9 additions & 38 deletions CMakeLists.txt
@@ -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})
44 changes: 44 additions & 0 deletions src/CMakeLists.txt
@@ -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.

0 comments on commit eb976d3

Please sign in to comment.