Skip to content
Snippets Groups Projects
Commit 2c3311e4 authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Merge branch '247-remove-cmake-files-from-core-feature-and-core-factor' into 'devel'

Resolve "Remove CMake files from core/feature and core/factor"

Closes #247

See merge request !310
parents e8d0878d 5aba63b2
No related branches found
No related tags found
1 merge request!310Resolve "Remove CMake files from core/feature and core/factor"
Pipeline #4071 passed
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
#=========================================
#=========================================
# Add in this section the CONDITIONAL CLUES [IF/ELSE]
# for external libraries and move inside them the respective lines from above.
IF (OPENCV_FOUND AND Apriltag_FOUND)
SET(HDRS_CONSTRAINT ${HDRS_CONSTRAINT}
${CMAKE_CURRENT_SOURCE_DIR}/constraint_autodiff_apriltag.h
)
ENDIF(OPENCV_FOUND AND Apriltag_FOUND)
#=========================================
#=========================================
SET(HDRS_CONSTRAINT ${HDRS_CONSTRAINT}
${CMAKE_CURRENT_SOURCE_DIR}/factor_autodiff_distance_3D.h
${CMAKE_CURRENT_SOURCE_DIR}/factor_autodiff_trifocal.h
${CMAKE_CURRENT_SOURCE_DIR}/factor_diff_drive.h
)
SET(SRCS_CONSTRAINT ${SRCS_CONSTRAINT}
)
# Forward var to parent scope
# These lines always at the end
SET(HDRS_CONSTRAINT ${HDRS_CONSTRAINT} PARENT_SCOPE)
SET(SRCS_CONSTRAINT ${SRCS_CONSTRAINT} PARENT_SCOPE)
\ No newline at end of file
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
#=========================================
#=========================================
# Add in this section the CONDITIONAL CLUES [IF/ELSE]
# for external libraries and move inside them the respective lines from above.
IF (OPENCV_FOUND AND Apriltag_FOUND)
SET(HDRS_FEATURE ${HDRS_FEATURE}
${CMAKE_CURRENT_SOURCE_DIR}/feature_apriltag.h
)
SET(SRCS_FEATURE ${SRCS_FEATURE}
${CMAKE_CURRENT_SOURCE_DIR}/feature_apriltag.cpp
)
ENDIF(OPENCV_FOUND AND Apriltag_FOUND)
#=========================================
#=========================================
SET(HDRS_FEATURE ${HDRS_FEATURE}
${CMAKE_CURRENT_SOURCE_DIR}/feature_diff_drive.h
)
SET(SRCS_FEATURE ${SRCS_FEATURE}
${CMAKE_CURRENT_SOURCE_DIR}/feature_diff_drive.cpp
)
# Forward var to parent scope
# These lines always at the end
SET(HDRS_FEATURE ${HDRS_FEATURE} PARENT_SCOPE)
SET(SRCS_FEATURE ${SRCS_FEATURE} PARENT_SCOPE)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment