Permalink
Browse files

Add Visual Studio 2013 support

  • Loading branch information...
mrts committed Jul 17, 2013
1 parent 3f9461a commit 925fe567e9fd31d41220bfadd2f616f642914db8
Showing with 17 additions and 1 deletion.
  1. +3 −1 cmake/Win.cmake
  2. +7 −0 prep2013.cmd
  3. +7 −0 prep2013x64.cmd
View
@@ -15,7 +15,9 @@
# Find ATL stuff
if (NOT VC_DIR)
- if (MSVC11)
+ if (MSVC12)
+ GET_FILENAME_COMPONENT(VS_DIR "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\12.0\\Setup\\VS;ProductDir]" REALPATH CACHE)
+ elseif (MSVC11)
GET_FILENAME_COMPONENT(VS_DIR "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\11.0\\Setup\\VS;ProductDir]" REALPATH CACHE)
elseif (MSVC10)
GET_FILENAME_COMPONENT(VS_DIR "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\10.0\\Setup\\VS;ProductDir]" REALPATH CACHE)
View
@@ -0,0 +1,7 @@
+@echo off & setlocal enableextensions enabledelayedexpansion
+
+set _FB_GEN="Visual Studio 12"
+
+call "%~d0%~p0\common.cmd" %*
+if %errorlevel% == 2 exit /b 1
+call "%~d0%~p0\winprep.cmd"
View
@@ -0,0 +1,7 @@
+@echo off & setlocal enableextensions enabledelayedexpansion
+
+set _FB_GEN="Visual Studio 12 Win64"
+
+call "%~d0%~p0\common.cmd" %*
+if %errorlevel% == 2 exit /b 1
+call "%~d0%~p0\winprep.cmd"

0 comments on commit 925fe56

Please sign in to comment.