Closed garbotron closed 5 years ago
Hm, sounds similar to the other issue with a large project. I suspect the node child process api to kill the process due to the buffer limit reached. I'll try to test it with your example.
It was, what I expected. The execFile command has a 1MB buffer, when its full the command gets killed. It is recommended to use spawn instead.
When building a target that produces a large amount of text in the output panel, the build stops after ~27000 lines have been printed. It appears that the build process is terminated, though that is unclear.
Tested on Ubuntu 18.04 using standard Unix tools (make, gcc, etc).
You can test it with a CMakeLists.txt file that looks like this:
After the project is loaded, save the CMakeLists.txt file to invalidate it, then build the current target. The output should look like this: