Here are the steps required to port XMP SDK on VS 2013.
- Open file ‘\build\GenerateXMPToolkitSDK_win.bat’ and
- Replace every occurrence of “VS_VERSION=2010” with “VS_VERSION=2013”,
- Replace every occurrence of “vc10” with “vc12”.
- Open file ‘\build\shared\CMakeUtils.bat”
- Replace occurrence of (at line no. 61)
“ :: Visual Studio Version
if /I "%1"=="2010" (
echo "Generator VS 2010 specified"
set GeneratorVersion=Visual Studio 10“
With
“ :: Visual Studio Version
if /I "%1"=="2013" (
echo "Generator VS 2013 specified"
set GeneratorVersion=Visual Studio 12”.
b. Replace every occurrence of “vc10” with “vc12”.
3. Run the file ‘\build\GenerateXMPToolkitSDK_win.bat’.
I have tested and successfully build XMP on VS 2013 using these steps.
Please let me know if you get any issue while building XMP SDK for VS 2013.