CMAKE_MINIMUM_REQUIRED(VERSION 2.6 FATAL_ERROR)

PROJECT(agent)

set(CMAKE_CXX_FLAGS "-Wall -Wextra -ggdb3 -pthread -std=c++11")

SET(SOURCES)

SET(SUBDIR
  core
  network
  protocol
  slam
  )

SET(INCLUDE_DIR "${PROJECT_SOURCE_DIR}/include")

FIND_PACKAGE(PCL 1.3 REQUIRED COMPONENTS common io)
INCLUDE_DIRECTORIES(${PCL_INCLUDE_DIRS})
LINK_DIRECTORIES(${PCL_LIBRARY_DIRS})
ADD_DEFINITIONS(${PCL_DEFINITIONS})

ADD_SUBDIRECTORY("${PROJECT_SOURCE_DIR}/src")
ADD_SUBDIRECTORY(${INCLUDE_DIR})

MESSAGE(STATUS "Process Include Directory in parent: ${INCLUDE_DIR}")

INCLUDE_DIRECTORIES(${INCLUDE_DIR})

ADD_EXECUTABLE(smartapi ${SOURCES})

TARGET_LINK_LIBRARIES(smartapi ${PCL_COMMON_LIBRARIES} ${PCL_IO_LIBRARIES})

CMAKE_MINIMUM_REQUIRED(VERSION 2.6 FATAL_ERROR)

PROJECT(agent)

set(CMAKE_CXX_FLAGS "-Wall -Wextra -ggdb3 -pthread -std=c++11")

SET(SOURCES)

SET(SUBDIR
  core
  network
  protocol
  slam
  )

SET(INCLUDE_DIR "${PROJECT_SOURCE_DIR}/include")

FIND_PACKAGE(PCL 1.3 REQUIRED COMPONENTS common io)
INCLUDE_DIRECTORIES(${PCL_INCLUDE_DIRS})
LINK_DIRECTORIES(${PCL_LIBRARY_DIRS})
ADD_DEFINITIONS(${PCL_DEFINITIONS})

ADD_SUBDIRECTORY("${PROJECT_SOURCE_DIR}/src")
ADD_SUBDIRECTORY(${INCLUDE_DIR})

MESSAGE(STATUS "Process Include Directory in parent: ${INCLUDE_DIR}")

INCLUDE_DIRECTORIES(${INCLUDE_DIR})

ADD_EXECUTABLE(agent ${SOURCES})

TARGET_LINK_LIBRARIES(agent ${PCL_COMMON_LIBRARIES} ${PCL_IO_LIBRARIES})

Change project name from smartapi to agent
Change project name from smartapi to agent
