Skip to content
This repository has been archived by the owner on Jan 14, 2021. It is now read-only.

Commit

Permalink
moved install_libHh_nativs; documented fix for VS2013
Browse files Browse the repository at this point in the history
  • Loading branch information
hhoppe committed May 4, 2016
1 parent 581bbda commit 2725f5f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ <h2>Code compilation</h2>
<h3>Compiling using the Microsoft Visual Studio IDE</h3>
<p>Open the <code>distrib.sln</code> file and build the solution (typically using the &ldquo;<code>ReleaseMD - x64</code>&rdquo; build configuration).
Executables are placed in the <code>bin</code>, <code>bin/debug</code>, <code>bin/Win32</code>, or <code>bin/Win32/debug</code> directory, depending on the build configuration (64-bit versus 32-bit, and release versus debug).</p>
<p>The code should still be compatible with Visual Studio 2013;
to compile using this older compiler, modify the <code>*.vcxproj</code> files using the following <code>Perl</code> command:
<div class="codeline">perl -i.vs2015 -pe 's@ToolsVersion="14.0"@ToolsVersion="12.0"@; s@<PlatformToolset>v140<@<PlatformToolset>v120<@' */*.vcxproj</div>

<h3>Compiling using <code>msbuild</code></h3>
<p>Set the appropriate environment variables and run <code>msbuild</code>, e.g.:</p>
Expand Down
3 changes: 2 additions & 1 deletion install_libHh_natvis.bat → libHh/install_libHh_natvis.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ rem The *.natvis file is already included in libHh.vcxproj
rem However, the ImageWatch VS plugin does not look for it there; it must find it in the directory below.

rem copy "%~dp0libHh\libHh.natvis" "%USERPROFILE%\Documents\Visual Studio 2013\Visualizers\libHh.natvis"
copy "%~dp0libHh\libHh.natvis" "%USERPROFILE%\Documents\Visual Studio 2015\Visualizers\libHh.natvis"
rem copy "%~dp0libHh\libHh.natvis" "%USERPROFILE%\Documents\Visual Studio 2015\Visualizers\libHh.natvis"
copy "%~dp0libHh.natvis" "%USERPROFILE%\Documents\Visual Studio 2015\Visualizers\libHh.natvis"

0 comments on commit 2725f5f

Please sign in to comment.