-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 5d4ca39
Showing
59 changed files
with
18,545 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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} ) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Binary descriptors for lines extracted from an image | ||
==================================================== |
Oops, something went wrong.