add_library(kernel expr.cpp free_vars.cpp abstract.cpp instantiate.cpp normalizer.cpp context.cpp level.cpp object.cpp environment.cpp type_checker.cpp builtin.cpp occurs.cpp metavar.cpp trace.cpp unification_constraint.cpp printer.cpp formatter.cpp kernel_exception.cpp) target_link_libraries(kernel ${LEAN_LIBS})