adding in basic meson building of the two output executables
This commit is contained in:
@@ -0,0 +1 @@
|
||||
builddir/
|
||||
@@ -0,0 +1,3 @@
|
||||
project('bluetooth-beacon-receiver', 'cpp')
|
||||
executable('bluetooth-beacon', 'src/beacon.cpp')
|
||||
executable('bluetooth-receiver', 'src/receiver.cpp')
|
||||
@@ -0,0 +1,6 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
printf("Hello world, I am the beacon\n");
|
||||
return 0;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
|
||||
#include <cstdio>
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
printf("Hello World, I am the receiver\n");
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user