Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

moved source into its own folder

  • Loading branch information...
commit eb976d3956745dd9ba21cdb13a1b93004a488e40 1 parent 83d3efb
@jackdawjackdaw authored
View
47 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})
View
44 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})
View
0  bin2pcd.cpp → src/bin2pcd.cpp
File renamed without changes
View
0  binfile.cpp → src/binfile.cpp
File renamed without changes
View
0  binfile.h → src/binfile.h
File renamed without changes
View
0  cluster_extract.cpp → src/cluster_extract.cpp
File renamed without changes
View
0  convex_hull.cpp → src/convex_hull.cpp
File renamed without changes
View
0  fit_planes.cpp → src/fit_planes.cpp
File renamed without changes
View
0  pcd2bin.cpp → src/pcd2bin.cpp
File renamed without changes
View
0  pcd_write.cpp → src/pcd_write.cpp
File renamed without changes
View
0  ransac_cubes.cpp → src/ransac_cubes.cpp
File renamed without changes
View
0  test_io.cpp → src/test_io.cpp
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.