From 5a13015ad932cffb092da080e8ea0ad2ce1f04a0 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 28 Jun 2018 18:20:15 +0200 Subject: Move compile_commands.json to project root directory, needed for IDEs --- src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/main.cpp b/src/main.cpp index 22198b5..ecbf9cd 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -90,6 +90,9 @@ using namespace std::chrono; // TODO: Add program command for generating compile_commands.json without compiling code, without using Ninja +// TODO: Make Process::exec safe to use. Currently you pass an argument and it's run as a command, but the string can be escaped to perform malicious acts. +// Process::exec should be modified to take a list of arguments to execute command with. + #if OS_FAMILY == OS_FAMILY_POSIX #define fout std::cout #define ferr std::cerr -- cgit v1.2.3