mirror of
https://github.com/ceres-solver/ceres-solver.git
synced 2026-08-29 08:34:37 +08:00
Remove AutodiffCodegen
- Remove Codegen files - Revert Jet and Rotation Change-Id: I005c5f98f2b6dfa5c7fd88d998b6aa83e47dab60
This commit is contained in:
@@ -165,10 +165,6 @@ option(BUILD_EXAMPLES "Build examples" ON)
|
||||
option(BUILD_BENCHMARKS "Build Ceres benchmarking suite" ON)
|
||||
option(BUILD_SHARED_LIBS "Build Ceres as a shared library." OFF)
|
||||
option(PROVIDE_UNINSTALL_TARGET "Add a custom target to ease removal of installed targets" ON)
|
||||
option(CODE_GENERATION "Build the code generation module." OFF)
|
||||
if(CODE_GENERATION)
|
||||
message(WARNING "The code generation module is still under development. The functionality and API of the current implementation might change in the future.")
|
||||
endif(CODE_GENERATION)
|
||||
set(SANITIZERS "" CACHE STRING "Semicolon-separated list of sanitizers to use (e.g address, memory, thread)")
|
||||
include(EnableSanitizer)
|
||||
enable_sanitizer(${SANITIZERS})
|
||||
@@ -670,13 +666,6 @@ install(FILES ${CERES_HDRS} DESTINATION include/ceres)
|
||||
file(GLOB CERES_PUBLIC_INTERNAL_HDRS ${Ceres_SOURCE_DIR}/include/ceres/internal/*.h)
|
||||
install(FILES ${CERES_PUBLIC_INTERNAL_HDRS} DESTINATION include/ceres/internal)
|
||||
|
||||
# Ceres codegen headers
|
||||
file(GLOB CERES_PUBLIC_CODEGEN_HDRS ${Ceres_SOURCE_DIR}/include/ceres/codegen/*.h)
|
||||
install(FILES ${CERES_PUBLIC_CODEGEN_HDRS} DESTINATION include/ceres/codegen)
|
||||
|
||||
file(GLOB CERES_PUBLIC_CODEGEN_INTERNAL_HDRS ${Ceres_SOURCE_DIR}/include/ceres/codegen/internal/*.h)
|
||||
install(FILES ${CERES_PUBLIC_CODEGEN_INTERNAL_HDRS} DESTINATION include/ceres/codegen/internal)
|
||||
|
||||
# Also setup installation of Ceres config.h configured with the current
|
||||
# build options into the installed headers directory.
|
||||
install(FILES ${Ceres_BINARY_DIR}/config/ceres/internal/config.h
|
||||
|
||||
Reference in New Issue
Block a user