mirror of https://github.com/axmolengine/axmol.git
fixed #459 template for vs use the Multi-ThreadDLL instead the error setting MT.
This commit is contained in:
parent
e723a424d8
commit
f288516b89
|
@ -205,14 +205,14 @@ function AddConfigurations(proj, strProjectName) {
|
|||
CLTool.UsePrecompiledHeader = pchNone; // pchUseUsingSpecific;
|
||||
CLTool.WarningLevel = warningLevel_3;
|
||||
if (bDebug) {
|
||||
CLTool.RuntimeLibrary = rtMultiThreadedDebug;
|
||||
CLTool.RuntimeLibrary = rtMultiThreadedDebugDLL;
|
||||
CLTool.MinimalRebuild = true;
|
||||
CLTool.DebugInformationFormat = debugEditAndContinue;
|
||||
CLTool.BasicRuntimeChecks = runtimeBasicCheckAll;
|
||||
CLTool.Optimization = optimizeDisabled;
|
||||
}
|
||||
else {
|
||||
CLTool.RuntimeLibrary = rtMultiThreaded;
|
||||
CLTool.RuntimeLibrary = rtMultiThreadedDLL;
|
||||
CLTool.ExceptionHandling = false;
|
||||
CLTool.DebugInformationFormat = debugDisabled;
|
||||
}
|
||||
|
|
|
@ -2,6 +2,19 @@
|
|||
|
||||
main();
|
||||
|
||||
function EchoInfo(bQuiet, strMsg) {
|
||||
if (! bQuiet) {
|
||||
WScript.Echo(strMsg);
|
||||
}
|
||||
else {
|
||||
var FileSys = new ActiveXObject("Scripting.FileSystemObject");
|
||||
var strLogPath = "InstallWizardLog.txt"
|
||||
var file = FileSys.OpenTextFile(strLogPath, 8, true);
|
||||
file.WriteLine(strMsg);
|
||||
file.Close();
|
||||
}
|
||||
}
|
||||
|
||||
function EchoError(bQuiet, strMsg) {
|
||||
strMsg = "Error: " + strMsg;
|
||||
if (! bQuiet) {
|
||||
|
@ -226,5 +239,5 @@ function main() {
|
|||
return;
|
||||
}
|
||||
|
||||
EchoError(bQuiet, "App Wizard successfully installed for VC2008 Express!");
|
||||
EchoInfo(bQuiet, "App Wizard successfully installed for VC2008 Express!");
|
||||
}
|
||||
|
|
|
@ -2,6 +2,19 @@
|
|||
|
||||
main();
|
||||
|
||||
function EchoInfo(bQuiet, strMsg) {
|
||||
if (! bQuiet) {
|
||||
WScript.Echo(strMsg);
|
||||
}
|
||||
else {
|
||||
var FileSys = new ActiveXObject("Scripting.FileSystemObject");
|
||||
var strLogPath = "InstallWizardLog.txt"
|
||||
var file = FileSys.OpenTextFile(strLogPath, 8, true);
|
||||
file.WriteLine(strMsg);
|
||||
file.Close();
|
||||
}
|
||||
}
|
||||
|
||||
function EchoError(bQuiet, strMsg) {
|
||||
strMsg = "Error: " + strMsg;
|
||||
if (! bQuiet) {
|
||||
|
@ -226,5 +239,5 @@ function main() {
|
|||
return;
|
||||
}
|
||||
|
||||
EchoError(bQuiet, "App Wizard successfully installed for VC2010 Express!");
|
||||
EchoInfo(bQuiet, "App Wizard successfully installed for VC2010 Express!");
|
||||
}
|
||||
|
|
|
@ -2,6 +2,19 @@
|
|||
|
||||
main();
|
||||
|
||||
function EchoInfo(bQuiet, strMsg) {
|
||||
if (! bQuiet) {
|
||||
WScript.Echo(strMsg);
|
||||
}
|
||||
else {
|
||||
var FileSys = new ActiveXObject("Scripting.FileSystemObject");
|
||||
var strLogPath = "InstallWizardLog.txt"
|
||||
var file = FileSys.OpenTextFile(strLogPath, 8, true);
|
||||
file.WriteLine(strMsg);
|
||||
file.Close();
|
||||
}
|
||||
}
|
||||
|
||||
function EchoError(bQuiet, strMsg) {
|
||||
strMsg = "Error: " + strMsg;
|
||||
if (! bQuiet) {
|
||||
|
@ -223,5 +236,5 @@ function main() {
|
|||
return;
|
||||
}
|
||||
|
||||
EchoError(bQuiet, "App Wizard successfully installed for VS2008!");
|
||||
EchoInfo(bQuiet, "App Wizard successfully installed for VS2008!");
|
||||
}
|
||||
|
|
|
@ -2,6 +2,19 @@
|
|||
|
||||
main();
|
||||
|
||||
function EchoInfo(bQuiet, strMsg) {
|
||||
if (! bQuiet) {
|
||||
WScript.Echo(strMsg);
|
||||
}
|
||||
else {
|
||||
var FileSys = new ActiveXObject("Scripting.FileSystemObject");
|
||||
var strLogPath = "InstallWizardLog.txt"
|
||||
var file = FileSys.OpenTextFile(strLogPath, 8, true);
|
||||
file.WriteLine(strMsg);
|
||||
file.Close();
|
||||
}
|
||||
}
|
||||
|
||||
function EchoError(bQuiet, strMsg) {
|
||||
strMsg = "Error: " + strMsg;
|
||||
if (! bQuiet) {
|
||||
|
@ -223,5 +236,5 @@ function main() {
|
|||
return;
|
||||
}
|
||||
|
||||
EchoError(bQuiet, "App Wizard successfully installed for VS2010!");
|
||||
EchoInfo(bQuiet, "App Wizard successfully installed for VS2010!");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue