return ".vcxproj";
}
startTag("Project",
"DefaultTargets", "Build",
"ToolsVersion", "4.0",
"xmlns", "http://schemas.microsoft.com/developer/msbuild/2003");
startTag("ItemGroup",
"Label", "ProjectConfigurations");
startTag("ProjectConfiguration",
endTag();
}
endTag();
tag("SccProjectName");
tag("SccLocalPath");
endTag();
endTag();
}
endTag();
tag("Import",
"Project", "$(UserRootDir)\\Microsoft.Cpp.$(Platform).user.props",
"Condition", "exists('$(UserRootDir)\\Microsoft.Cpp.$(Platform).user.props')",
"Label", "LocalAppDataPlatform");
endTag();
}
startTag("PropertyGroup");
}
}
endTag();
startTag("ClCompile");
endTag();
startTag("Link");
endTag();
startTag("PostBuildEvent");
tagData("Command", cfg.expandFormat(BuildConfig.getFieldString(null, "PostbuildCommand").replace("\t", "\r\n")));
endTag();
startTag("PreLinkEvent");
tagData("Command", cfg.expandFormat(BuildConfig.getFieldString(null, "PrelinkCommand").replace("\t", "\r\n")));
endTag();
endTag();
}
endTag();
endTag();
printWriter.close();
}
private void writeUserFile(String projectFileName, Vector<BuildConfig> allConfigs) throws FileNotFoundException, UnsupportedEncodingException {
return;
}
startTag("Project",
"ToolsVersion", "4.0",
"xmlns", "http://schemas.microsoft.com/developer/msbuild/2003");
endTag();
}
endTag();
printWriter.close();
}
}
}
Vector<BuildConfig> allConfigs, String base) throws FileNotFoundException, UnsupportedEncodingException {
startTag("Project",
"ToolsVersion", "4.0",
"xmlns", "http://schemas.microsoft.com/developer/msbuild/2003");
startTag("ItemGroup");
endTag();
}
endTag();
endTag();
//TODO - do I need to split cpp and hpp files?
// then all files
startTag("ItemGroup");
endTag();
}
endTag();
endTag();
printWriter.close();
}
return"ClCompile";
return "ClCompile";
return"ClInclude";
return "ClInclude";
} else {
return"None";
}
}
// This code assummes there are no config specific includes.
startTag("ItemGroup");
// Use first config for all global absolute includes.
// Then use first config for all relative includes
}
endTag();
}
// Will visit file tree for each include
FileTreeCreatorVC10 ftc = new FileTreeCreatorVC10(FileSystems.getDefault().getPath(path) , allConfigs, this);
try {
ftc.writeFileTree();
} catch (IOException e) {
e.printStackTrace();
}
}
}
}
while(i.hasNext()) {
}
}
}
}
}
}
// Set /nologo option
// Surpass the default /Tc or /Tp.
// Set /W3 option.
// Set /WX option,
// Set /GS option
// Set /Zi option.
// Set /Yu option.
// Set /EHsc- option
return rv;
}
// Set /On option
// Set /FR option.
// Set /MD option.
// Set /Oy- option
return rv;
}
// Set /O2 option.
// Set /Oy- option
// Set /Ob option. 1 is expandOnlyInline
// Set /GF option.
// Set /MD option. 2 is rtMultiThreadedDLL
// Set /Gy option
return rv;
}
"/export:JNI_GetDefaultJavaVMInitArgs " +
"/export:JNI_CreateJavaVM " +
"/export:JVM_FindClassFromBootLoader "+
"/export:JNI_GetCreatedJavaVMs "+
"/export:jio_snprintf /export:jio_printf "+
"/export:jio_fprintf /export:jio_vfprintf "+
"/export:jio_vsnprintf "+
"/export:JVM_GetVersionInfo "+
"/export:JVM_GetThreadStateNames "+
"/export:JVM_GetThreadStateValues "+
"/export:JVM_InitAgentProperties");
addAttr(rv, "AdditionalDependencies", "kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;Wsock32.lib;winmm.lib;psapi.lib");
} else {
}
// We always want the /DEBUG option to get full symbol information in the pdb files
return rv;
}
// Empty now that /DEBUG option is used by all configs
return rv;
}
// Set /OPT:REF option.
// Set /OPT:ICF option.
return rv;
}
}
return "MaxSpeed";
}
return "Disabled";
}
}
}