From 2ed7d0b09caa872e44e2eb09b09b2387e93f9b34 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 9 Dec 2017 17:27:08 +0100 Subject: Add project compilation after ninja file is created --- src/main.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index 9f14c67..05a6a03 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -190,5 +190,11 @@ int main(int argc, const char **argv) exit(7); } + Result buildResult = ninja.build(debugBuildPath.c_str()); + if(buildResult.isErr()) + { + exit(8); + } + return 0; } \ No newline at end of file -- cgit v1.2.3