A project at my work uses CMake to generate build targets then executed from Eclipse. I want to pass -J4 to the "Build Command" (i.e. make.exe) to allow parallel compilation. For the moment I manually edit the .cproject file but I'd like CMake to automatically do this.
So how can I append -J4 to the build command?