getBuildInformation function

String getBuildInformation()

Returns full configuration time cmake output.

Returned value is raw cmake output including version control system revision, compiler version, compiler flags, enabled modules and third party libraries, etc. Output format depends on target architecture.

Implementation

String getBuildInformation() {
  final p = calloc<ffi.Pointer<ffi.Char>>();
  cvRun(() => cffi.getBuildInfo(p));
  final s = p.value.toDartString();
  calloc.free(p);
  return s;
}