Files
ceres-solver/cmake/codegen_include.inc.in
T
Darius Rueckert 032d5844c2 AutoDiff Code Generation - CMake Integration
This patch integrates the code generation module into the build
system. All depenendcies are tracked through CMake targets.
Modifying the cost functor will automatically trigger code
re-generation.

All this functionality is defined in the CMake function
ceres_generate_cost_function_implementation_for_functor
in CeresCodeGeneration.cmake. A hello world usage example
is included in examples/CMakeLists.txt.

Change-Id: I23b8b6698d1ea51cf3d788a47afcf39f8c5ce327
2020-02-13 13:57:14 +01:00

11 lines
424 B
Plaintext

// This file is generated by Ceres autodiff code generation.
// http://ceres-solver.org/
#ifdef CERES_CODEGEN
// Included by generator during generation of autodiff evaluation implementation,
// by definition the generated implementation does not yet exist to be imported.
#else
// Included from client code, import generated implementation.
#include "@OUTPUT_DIRECTORY@/@LOWER_CASE_FUNCTOR_NAME@_evaluate_impl.inc"
#endif