Skip to content

Commit bdc40c9

Browse files
committed
✨feat(meson): examples
1 parent 6af4c00 commit bdc40c9

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

tests/examples/bau/meson/main.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#include <iostream>
2+
3+
int main() {
4+
std::cout << "Hello, World!" << std::endl;
5+
return 0;
6+
}
7+
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
project('HelloWorld', 'cpp')
2+
3+
# Example of a target
4+
hello_world = executable('hello_world', 'main.cpp')
5+
6+
# Example of custom target to run all tasks
7+
build_all_target = custom_target('build_all', command: 'echo', output: 'echo', input: [hello_world])

0 commit comments

Comments
 (0)