tiernemi/meson-sample-project

clang format: No such file or directory

Opened this issue · 1 comments

Using this:

run_target('format',
  command : [
    'clang-format',
    '-i',
    '-style=file',
    project_sources,
    project_test_sources,
  ]
)

I get

[0/1] Running external command format.
No such file or directory
No such file or directory
No such file or directory
No such file or directory
No such file or directory
No such file or directory
No such file or directory
FAILED: meson-format 
/home/usr/.local/bin/meson --internal commandrunner /home/usr/repos/c++base /home/usr/repos/c++base/build '' /home/usr/.local/bin/meson clang-format -i -style=file MyClass.cpp wrapper.cpp main.cpp wheather_station.cpp gtest-all.cpp test_MyClass.cpp test_wrapper.cpp

Since the project_sources and project_test_sources do not have either the full path or a relative one.

I will investigate