|
@@ -1140,15 +1140,22 @@ namespace ToolCore
|
|
|
|
|
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
-
|
|
|
|
|
propertyGroup.CreateChild("StartAction").SetValue("Project");
|
|
propertyGroup.CreateChild("StartAction").SetValue("Project");
|
|
|
|
|
|
|
|
startArguments += ToString("--project \"%s\"", atomicProjectPath.CString());
|
|
startArguments += ToString("--project \"%s\"", atomicProjectPath.CString());
|
|
|
|
|
|
|
|
propertyGroup.CreateChild("StartArguments").SetValue(startArguments);
|
|
propertyGroup.CreateChild("StartArguments").SetValue(startArguments);
|
|
|
|
|
|
|
|
|
|
+#ifdef ATOMIC_DEBUG
|
|
|
|
|
+ // When building a debug build, default native code debugging to true
|
|
|
|
|
+ if (cfg == "Debug")
|
|
|
|
|
+ {
|
|
|
|
|
+ propertyGroup.CreateChild("EnableUnmanagedDebugging").SetValue("true");
|
|
|
|
|
+ }
|
|
|
|
|
+#endif
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+
|
|
|
String userSettingsSource = userSettings->ToString();
|
|
String userSettingsSource = userSettings->ToString();
|
|
|
SharedPtr<File> output(new File(context_, GetSanitizedPath(userSettingsFilename), FILE_WRITE));
|
|
SharedPtr<File> output(new File(context_, GetSanitizedPath(userSettingsFilename), FILE_WRITE));
|
|
|
output->Write(userSettingsSource.CString(), userSettingsSource.Length());
|
|
output->Write(userSettingsSource.CString(), userSettingsSource.Length());
|