CMakeLists.txt 512 Bytes
Newer Older
wangdawei's avatar
wangdawei committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
cmake_minimum_required(VERSION 2.8.9)

project(ESKF)

set(CMAKE_BUILD_TYPE "Release")
IF (WIN32)
  set(CMAKE_CXX_FLAGS "-O2 -Wall")
ELSE()
  set(CMAKE_CXX_FLAGS "-O3 -W -Wall -std=c++11")
ENDIF()

find_package(Eigen3 REQUIRED)

#for debugging it is nice to use ros, though this can be deleted if one is to remove the includes in the parsing files.

#find_package(catkin REQUIRED COMPONENTS
#  roscpp
 # rospy
 # std_msgs
 # tf
 # roslib
#)

#add_subdirectory(inputs)
add_subdirectory(lib)
#add_subdirectory(src)