IncrediBuild doesn't yet support the new CMake feature in Visual Studio 2017, so below is a general command line workaround that will let you take advantage of the new feature.

For the sake of this demonstration, I have downloaded a CMake sample project, which can be found here:
https://www.codeproject.com/Articles/1181455/A-CMake-tutorial-for-Visual-Cplusplus-developers

What is applicable to this sample project will also be applicable to your CMake files and solutions

Generation:

  1. After downloading the project, copy all files to the same folder.
  2. Load in the relevant project folder to Visual Studio, CMake will auto-generate a new file which we will need to copy the CMake output in Visual Studio.
  3. The following command was automatically generated in the directory shown by the CMake output.
  4. Next, to get this command to work with IncrediBuild I needed to first create an XML profile and a second build command that included the automatically generated command.
  5. Now we, in a sense, "wrap" the original command with IncrediBuild by using the following commands:
  6. Performing the above steps will trigger IncrediBuild to generate the relevant Solution.

Building the solution:

  1. After generating the solution done by completing the steps above, you can now build the solution with IncrediBuild's acceleration.
  2. The following command was used for the project located under C:\Users\Beelal\CMakeBuilds\4ad98d3d-1ddb-bf3a-b858-3709d1a407c1:
  3. To Build with IncrediBuild, now all you have to do is use the following command:
  4. Now your CMake solution should successfully build with IncrediBuild enabled.