diff options
author | Adam <Adam@anope.org> | 2010-06-18 21:17:41 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-06-18 21:17:41 -0400 |
commit | df9d291bcba9788e51d11424ebaf6f05c26cc80f (patch) | |
tree | c3597d6411a006ffbb670d2ce761101b9640e9b6 /install.js | |
parent | 7c4a9cf979202ed4307a964a6664d272f1c0785d (diff) |
Made install.js use VS 2010
Diffstat (limited to 'install.js')
-rw-r--r-- | install.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/install.js b/install.js index de27270cb..9215a10bd 100644 --- a/install.js +++ b/install.js @@ -107,22 +107,22 @@ var installerQuestions = [ }, { 'question' : [ - 'Are you using Visual Studio 2008? If you are, you need to answer yes', + 'Are you using Visual Studio 2010? If you are, you need to answer yes', 'to this question, otherwise CMake will not function properly.' ], - 'short' : 'Using Visual Studio 2008?', + 'short' : 'Using Visual Studio 2010?', 'options' : [ 'yes', 'no' ], 'default_answer' : 'no', 'store_answer' : function(answer) { - installerResponses['Visual Studio 2008'] = answer; + installerResponses['Visual Studio 2010'] = answer; return true; }, 'cmake_argument' : function() { - if (installerResponses['Visual Studio 2008'] == 'yes') - return '-G"Visual Studio 9 2008"'; + if (installerResponses['Visual Studio 2010'] == 'yes') + return '-G"Visual Studio 10"'; else return ''; } @@ -176,9 +176,9 @@ for (x in installerQuestions) installerResponses['Debug'] = 'msvc'; continue; } - if (thisQuestion.short == 'Using Visual Studio 2008?' && installerResponses['Debug'] != 'msvc') + if (thisQuestion.short == 'Using Visual Studio 2010?' && installerResponses['Debug'] != 'msvc') { - installerResponses['Visual Studio 2008'] = 'no'; + installerResponses['Visual Studio 2010'] = 'no'; continue; } while (!validResponse) |