tree: 140129876ce1976272fb5af362287ad97ae79da6 [path history] [tgz]
  1. config/
  2. docs/
  3. examples/
  4. qa/
  5. settings/
  6. source/
  7. util/
  8. build-examples_common.mk
  9. CppunitTest_odk_checkapi.mk
  10. CustomTarget_allheaders.mk
  11. CustomTarget_build-examples.mk
  12. CustomTarget_build-examples_java.mk
  13. CustomTarget_check.mk
  14. CustomTarget_classes.mk
  15. CustomTarget_config_win.mk
  16. CustomTarget_doxygen.mk
  17. CustomTarget_html.mk
  18. CustomTarget_javadoc.mk
  19. CustomTarget_settings.mk
  20. Executable_unoapploader.mk
  21. GeneratedPackage_odk_doxygen.mk
  22. GeneratedPackage_odk_javadoc.mk
  23. GeneratedPackage_uno_loader_classes.mk
  24. index.html
  25. index_online.html
  26. Makefile
  27. Module_odk.mk
  28. Package_cli.mk
  29. Package_config.mk
  30. Package_config_win.mk
  31. Package_docs.mk
  32. Package_examples.mk
  33. Package_html.mk
  34. Package_odk_headers.mk
  35. Package_odk_headers_generated.mk
  36. Package_scripts.mk
  37. Package_settings.mk
  38. Package_settings_generated.mk
  39. Package_share_readme.mk
  40. Package_share_readme_generated.mk
  41. README.md
odk/README.md

Office Development Kit (odk)

Office development kit (odk) - implements the first step on the way to the LibreOffice SDK tarball.

Part of the SDK; to build you need to add --enable-odk.

Testing the Examples:

  • The easiest way on Linux and macOS is to run make odk.subsequentcheck

  • The way that also works on Windows is to go to instdir/sdk (don't try directly in odk/)

  • See https://api.libreoffice.org/docs/install.html how to set up the SDK.

    • When asked about it during configuration, tell the SDK to do automatic deployment of the example extensions that get built.
  • In a shell set up for SDK development, build (calling make) and test (following the instructions given at the end of each make invocation) each of the SDK's examples/ sub-directories.

    • An example script to build (though not test) the various examples in batch mode is

      find examples \( -type d -name nativelib -prune \) -o \ \( -name Makefile -a -print -a \( -execdir make \; -o -quit \) \)

      (Note that one of the example extensions asks you to accept an example license on stdin during deployment.)