Skip to content

Commit

Permalink
First commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rubengooj committed Jul 26, 2017
0 parents commit 5d4ca39
Show file tree
Hide file tree
Showing 59 changed files with 18,545 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
*/bin/*
*/lib/*
/build/*
/3rdparty/line_descriptor/build/*
svo/datasets/*
*~*
*CMakeLists.txt.user
*.bag*
30 changes: 30 additions & 0 deletions 3rdparty/line_descriptor/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
project( line-descriptor )

cmake_minimum_required(VERSION 2.7)
find_package( OpenCV 3 REQUIRED)

if(COMMAND cmake_policy)
cmake_policy(SET CMP0003 NEW)
endif(COMMAND cmake_policy)
link_directories(${OpenCV_LIBS_DIR})
include_directories(${OpenCV2_INCLUDE_DIRS})

SET(BUILD_SHARED_LIBS ON)
SET(CMAKE_MODULE_PATH $ENV{CMAKE_MODULE_PATH})
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -O3 -mtune=native -march=native")

set(EXECUTABLE_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/build)
set(LIBRARY_OUTPUT_PATH ${PROJECT_SOURCE_DIR}/lib)

include_directories( include ${OpenCV_INCLUDE_DIRS} )
list(APPEND LINK_LIBS ${OpenCV_LIBS} )
file(GLOB_RECURSE all_include_files RELATIVE "${CMAKE_SOURCE_DIR}" *.h *.hpp)

link_directories(${CMAKE_SOURCE_DIR}/src/)
file(GLOB_RECURSE all_source_files RELATIVE "${CMAKE_SOURCE_DIR}src/" *.cpp )

add_custom_target( linedesc_includes DEPENDS ${all_include_files} SOURCES ${all_source_files} )

add_library( linedesc ${all_source_files} )
target_link_libraries( linedesc ${LINK_LIBS} )

2 changes: 2 additions & 0 deletions 3rdparty/line_descriptor/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Binary descriptors for lines extracted from an image
====================================================
Loading

0 comments on commit 5d4ca39

Please sign in to comment.