2

I am learning to code build "scripts" of Meson.

I have been wrote a lot of mistakes in my meson.build file, and the only method to check/debug my file is launch $ meson compile -C build and get the errors.

It is something like as debug (not debug my .cpp files the build script) or "interactive console" to write line by line the script and test my mistakes.

tres.14159
  • 850
  • 1
  • 16
  • 26

1 Answers1

2

You have two option for that.

  1. message : Output will be printed on terminal(stdout)
  2. debug : Output will be printed to file /meson-logs/meson-log.txt
Manthan Tilva
  • 3,135
  • 2
  • 17
  • 41