<div dir="ltr">Hi Bill,<div><br></div><div>Thanks for your response! Yes, I am aware of that MSVS has CMake integration starting in MSVS 2017, but for various reasons, the pace of upgrading or installing new software with the other contractors on the project is limited. Some are stuck with MSVS 2015 which does not yet have native CMake support.</div><div><br></div><div>I have included CMake binaries for Windows in a vendor subdirectory of the project and wrote a batch file to allow one-click generation of Visual Studio project files using the CMake binary now included with the source code. With one click, the version of MSVS available is queried through registry keys, the machine arch is queried and the included CMake is launched with the correct MSVS version and arch specified to the -G generator flag.</div><div><br></div><div>Thanks to all for all your help and suggestions!</div><div><br></div><div>Best,</div><div>Zaak<br><br><div class="gmail_quote"><div dir="ltr">On Thu, Apr 19, 2018 at 5:37 PM Zaak Beekman <<a href="mailto:zbeekman@gmail.com">zbeekman@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Thanks Jano, that's the work flow I was considering.</div><br><div class="gmail_quote"><div dir="ltr">On Thu, Apr 19, 2018 at 5:33 PM Jano Svitok <<a href="mailto:jan.svitok@gmail.com" target="_blank">jan.svitok@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>You don't have to install cmake. Just get the zip version, unzip in somewhere along your sources and you are done.<br></div>I'm not sure whether any runtime dlls are needed, but I suppose not.<br><br></div>We use cmake like that. We've committed a copy in our git repo, and have a simple means to update cmake for everyone<br>in the team at once.<br><br></div>Jano<br></div><div class="gmail_extra"><br><div class="gmail_quote"></div></div><div class="gmail_extra"><div class="gmail_quote">On Thu, Apr 19, 2018 at 6:55 PM, Zaak Beekman <span dir="ltr"><<a href="mailto:zbeekman@gmail.com" target="_blank">zbeekman@gmail.com</a>></span> wrote:<br></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ha, yeah that’s an option. The problem is that they’re not “my” contractors. They are the client’s contractors. We’ll see. <br><div class="m_4388604351065162096m_6128965169798111240HOEnZb"><div class="m_4388604351065162096m_6128965169798111240h5"><div class="gmail_quote"><div dir="ltr">On Thu, Apr 19, 2018 at 12:52 PM Cristian Adam <<a href="mailto:cristian.adam@gmail.com" target="_blank">cristian.adam@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Apr 19, 2018 at 5:46 PM, Zaak Beekman <span dir="ltr"><<a href="mailto:zbeekman@gmail.com" target="_blank">zbeekman@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="color:rgb(33,33,33);font-size:13px"></span><div class="m_4388604351065162096m_6128965169798111240m_-8090500439274892762m_-1204807852274180535m_-606146937671593971markdown-here-wrapper"><p style="margin:0px 0px 1.2em!important">The situation is that we have a client who works with other contractors who use almost exclusively windows and MSVS. This client wants to distribute MSVS solution files with the source code so that other contractors don’t have to install cmake. (There are some restrictions/red tape for installing additional software on the contractor machines…)</p></div></div></blockquote><div><br></div></div></div></div><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div>Why not distribute CMake as source code? Compile it so that they don't have to "install" it.</div><div><br></div><div>On the other hand Visual Studio 2017 comes with their own version of CMake! Just make sure your contractors use VS2017 :D</div><div><br></div><div>Cheers,</div><div>Cristian. </div><div> </div></div></div></div>
</blockquote></div>
</div></div><br></blockquote></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">-- <br></blockquote></div></div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" rel="noreferrer" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Kitware offers various services to support the CMake community. For more information on each offering, please visit:<br>
<br>
CMake Support: <a href="http://cmake.org/cmake/help/support.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/support.html</a><br>
CMake Consulting: <a href="http://cmake.org/cmake/help/consulting.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/consulting.html</a><br>
CMake Training Courses: <a href="http://cmake.org/cmake/help/training.html" rel="noreferrer" target="_blank">http://cmake.org/cmake/help/training.html</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://cmake.org/mailman/listinfo/cmake" rel="noreferrer" target="_blank">https://cmake.org/mailman/listinfo/cmake</a><br>
<br></blockquote></div></div></blockquote></div></blockquote></div></div></div>