Run CMake Install target with incredibuild
<p>I am trying to use incredibuild to speed up the compilation of a cmake project in command line, compiling with Visual Studio 2013.
I am able to compile and install the libraries by using the command:</p>

<pre><code>BuildConsole zlib.sln /prj=INSTALL /cfg="Debug|x64"
</code></pre>

<p>But it skips the install part:</p>

<pre><code>Microsoft Visual Studio 2013 Version 12.0.40629.0.
Copyright (C) Microsoft Corp. All rights reserved.
1&gt;------ Skipped Build: Project: INSTALL, Configuration: Debug x64 ------
1&gt;Project not selected to build for this solution configuration
</code></pre>

<p>However, if I execute it from Visual Studio, it works fine:</p>

<pre><code>Initializing...

Microsoft Visual Studio 2013 Version 12.0.40629.0.
Copyright (C) Microsoft Corp. All rights reserved.
1&gt;------ Build started: Project: INSTALL, Configuration: Debug x64 ------
1&gt;Build started 1/6/2016 4:52:09 PM.
1&gt;PrepareForBuild:
1&gt;  Creating directory "x64\Debug\INSTALL\INSTALL.tlog\".
1&gt;InitializeBuildStatus:
1&gt;  Creating "x64\Debug\INSTALL\INSTALL.tlog\unsuccessfulbuild" because     "AlwaysCreate" was specified.
1&gt;PostBuildEvent:
1&gt;  -- Install configuration: "Debug"
1&gt;-- Installing: C:/work/dev/workspace/thirdparty/tmp/install/zlib/lib/zlibd.lib
1&gt;-- Installing: C:/work/dev/workspace/thirdparty/tmp/install/zlib/bin/zlibd.dll
1&gt;-- Installing: C:/work/dev/workspace/thirdparty/tmp/install/zlib/lib/zlibstaticd.lib
1&gt;-- Installing:     C:/work/dev/workspace/thirdparty/tmp/install/zlib/include/zconf.h
1&gt;-- Installing: C:/work/dev/workspace/thirdparty/tmp/install/zlib/include/zlib.h
1&gt;-- Installing: C:/work/dev/workspace/thirdparty/tmp/install/zlib/share/man/man3/zlib.3
1&gt;-- Installing: C:/work/dev/workspace/thirdparty/tmp/install/zlib/share/pkgconfig/zlib.pc
1&gt;  ...
1&gt;  
1&gt;FinalizeBuildStatus:
1&gt;  Deleting file "x64\Debug\INSTALL\INSTALL.tlog\unsuccessfulbuild".
1&gt;  Touching "x64\Debug\INSTALL\INSTALL.tlog\INSTALL.lastbuildstate".
1&gt;
1&gt;Build succeeded.
1&gt;
1&gt;Time Elapsed 00:00:00.40
========== Build: 1 succeeded, 0 failed, 6 up-to-date, 0 skipped ==========
</code></pre>

<p>Any clue ?</p>

<p>Thanks !
Emmanuel</p>