initial commit: set up a template

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2023-08-15 14:59:53 +05:30
commit fe255f97f4
18 changed files with 856 additions and 0 deletions

12
apps/target/main.cc Normal file
View File

@@ -0,0 +1,12 @@
#include "matar.hh"
#include <iostream>
int main() {
std::cout << "Hello" << std::endl;
if (run() > 0) {
std::cerr << "Crashed" << std::endl;
return 1;
}
return 0;
}

15
apps/target/meson.build Normal file
View File

@@ -0,0 +1,15 @@
target_deps = [
lib
]
target_sources = files(
'main.cc'
)
executable(
meson.project_name(),
target_sources,
link_with: target_deps,
include_directories: includes,
install : true
)