From 1bd1d810cd2a9607ea9795278055ccf6846ab442 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 15 Oct 2018 10:18:20 +0200 Subject: Fix platform error message when using invalid platform --- src/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 952497a..4bf840a 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -96,6 +96,8 @@ using namespace std::chrono; // TODO: Create a script that downloads every library in the package list (packages.json) and build each project for every new release of sibs // to verify we don't break anything. +// TODO: Generate compile_commands.json even if compilation fails. This is needed to properly show errors in IDE. + #if OS_FAMILY == OS_FAMILY_POSIX #define fout std::cout #define ferr std::cerr @@ -1436,4 +1438,4 @@ int CALLBACK WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLi { return wmain(__argc, (const _tinydir_char_t**)__wargv); } -#endif \ No newline at end of file +#endif -- cgit v1.2.3