set CONDOR_BLD_EXTERNAL_STAGE=c:\scratch\condor_externals
{endcode}
-6.) The the cmake build supports both in-source and out-of-source builds. For in-source builds execute
+6.) The the cmake build supports both in-source and out-of-source builds. Out- of-source is better if you are building from git. If you are building from a the source tarball, then in-source is simpler.
+For in-source execute this
{code}
-cmake -G "Visual Studio 11 2012" .
+cmake -G "Visual Studio 11" .
{endcode}
for out-of-source builds, navigate to the build destination folder and execute cmake; passing it the path to the HTCondor sources. For example
{code}
@@ -74,7 +75,7 @@
set _condor_sources=%CD%
mkdir c:\scratch\condor\build_dest
cd /d c:\scratch\condor\build_dest
-cmake CMakeLists.txt -G "Visual Studio 11 2012" %_condor_sources%
+cmake CMakeLists.txt -G "Visual Studio 11" %_condor_sources%
{endcode}
This will create Visual Studio Project and Solution files to build HTCondor.
Many options can be passed to cmake, see CondorCmakeBuildOptions for more information. You can also use the cmake-gui to set options.