While waiting on a response I did some experimentation:<div><br></div><div><div><br></div><div><span class="Apple-tab-span" style="white-space:pre">        </span>set_target_properties(</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>"${project_name}" PROPERTIES</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>VS_SCC_LOCALPATH "${CMAKE_SOURCE_DIR}"</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>VS_SCC_PROJECTNAME "Perforce Project"</div>
<div><span class="Apple-tab-span" style="white-space:pre">                </span>VS_SCC_PROVIDER "MSSCCI:Perforce SCM"</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>)</div><div><br></div><div>This seems to work in VS 2003 but the annoying thing is that when I open the solution, every single project (about 120 of them) each prompt me for my username, workspace, and server URL to perforce server.</div>
<div><br></div><div>Is there no way to specify this connection/user/workspace information in CMake so that when I open the solution it already knows this stuff?</div><div><br></div><div>---------</div>Robert Dailey<br>
<br><br><div class="gmail_quote">On Mon, Oct 31, 2011 at 12:24 PM, Robert Dailey <span dir="ltr"><<a href="mailto:rcdailey@gmail.com">rcdailey@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hey guys,<div><br></div><div>Our team is running Perforce here at work and I want to setup any Visual Studio projects generated to use source control bindings for Perforce.</div><div><br></div><div>The documentation for VS_SCC_PROJECTNAME, VS_SCC_LOCALPATH, VS_SCC_PROVIDER is pretty bad and I really have no clue on how to use these. Could someone explain what each is and possibly provide some examples on how they are used for Perforce?</div>
<div><br></div><div>Thanks!!<br clear="all"><div><br></div><div>---------</div>Robert Dailey<br>
</div>
</blockquote></div><br></div>