summary refs log tree commit diff stats
path: root/src/common/common.vcxproj
diff options
context:
space:
mode:
authorArnavion <arnavion@gmail.com>2013-11-03 14:16:11 -0800
committerArnavion <arnavion@gmail.com>2013-11-03 14:16:11 -0800
commit2e75068c7c4c772fc2c8fc7244a1ceeea87171cc (patch)
tree46d0d805112ec64ebfde7db6ad01d712f4a959cf /src/common/common.vcxproj
parentaf248ce2c17416ed33e9feb3d248347ee86f02e4 (diff)
Use correct path to TextTransform.exe depending on the platform.
Diffstat (limited to 'src/common/common.vcxproj')
-rw-r--r--src/common/common.vcxproj4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/common.vcxproj b/src/common/common.vcxproj
index 13610cee..39c50222 100644
--- a/src/common/common.vcxproj
+++ b/src/common/common.vcxproj
@@ -159,8 +159,8 @@
       <Command>

       <![CDATA[

 SET SOLUTIONDIR=$(SolutionDir)..\

-"%PROGRAMFILES%\Common Files\microsoft shared\TextTemplating\12.0\TextTransform.exe" -out "%SOLUTIONDIR%config-win32.h" "%SOLUTIONDIR%config-win32.h.tt"

-"%PROGRAMFILES%\Common Files\microsoft shared\TextTemplating\12.0\TextTransform.exe" -out "%SOLUTIONDIR%win32\version.txt" "%SOLUTIONDIR%win32\version.txt.tt"

+$(TextTransformPath) -out "%SOLUTIONDIR%config-win32.h" "%SOLUTIONDIR%config-win32.h.tt"

+$(TextTransformPath) -out "%SOLUTIONDIR%win32\version.txt" "%SOLUTIONDIR%win32\version.txt.tt"

       ]]>

       </Command>

     </PreBuildEvent>