19 return "VC++ project-file generator" 23 VC++ project-file generator specific usage (short version) 26 Options for VC++ backend: 32 VC++ project-file generator specific usage 35 ------------------------------- 36 Help for VC++ project-file geenrator 37 ------------------------------- 45 proj_file =
"""<?xml version="1.0" encoding="shift_jis"?> 47 ProjectType="Visual C++" 48 Version="[vc_version]" 51 RootNamespace="[fname]" 64 OutputDirectory=".\\Debug" 65 IntermediateDirectory=".\\Debug" 67 InheritedPropertySheets=".\\OpenRTM-aist.vsprops" 71 Name="VCPreBuildEventTool" 74 Name="VCCustomBuildTool" 77 Name="VCXMLDataGeneratorTool" 80 Name="VCWebServiceProxyGeneratorTool" 86 Name="VCCLCompilerTool" 88 PreprocessorDefinitions="USE_stub_in_nt_dll;WIN32;_DEBUG;_CONSOLE;__WIN32__;__x86__;_WIN32_WINNT=0x0400;__NT__;__OSVERSION__=4;_CRT_SECURE_NO_DEPRECATE" 90 BasicRuntimeChecks="3" 92 UsePrecompiledHeader="0" 94 Detect64BitPortabilityProblems="false" 95 DebugInformationFormat="4" 98 Name="VCManagedResourceCompilerTool" 101 Name="VCResourceCompilerTool" 104 Name="VCPreLinkEventTool" 108 AdditionalDependencies="ACEd.lib RTC041d.lib omniORB407_rtd.lib omniDynamic407_rtd.lib omnithread32_rtd.lib advapi32.lib ws2_32.lib mswsock.lib" 109 OutputFile="$(OutDir)\\[fname].exe" 111 IgnoreDefaultLibraryNames="" 112 GenerateDebugInformation="true" 120 Name="VCManifestTool" 132 Name="VCAppVerifierTool" 135 Name="VCWebDeploymentTool" 138 Name="VCPostBuildEventTool" 143 OutputDirectory=".\\Release" 144 IntermediateDirectory=".\\Release" 145 ConfigurationType="1" 146 InheritedPropertySheets=".\\OpenRTM-aist.vsprops" 148 WholeProgramOptimization="0" 151 Name="VCPreBuildEventTool" 154 Name="VCCustomBuildTool" 157 Name="VCXMLDataGeneratorTool" 160 Name="VCWebServiceProxyGeneratorTool" 166 Name="VCCLCompilerTool" 167 PreprocessorDefinitions="USE_stub_in_nt_dll;WIN32;NDEBUG;_CONSOLE;__WIN32__;__x86__;_WIN32_WINNT=0x0400;__NT__;__OSVERSION__=4" 169 UsePrecompiledHeader="0" 171 Detect64BitPortabilityProblems="false" 172 DebugInformationFormat="3" 175 Name="VCManagedResourceCompilerTool" 178 Name="VCResourceCompilerTool" 181 Name="VCPreLinkEventTool" 185 AdditionalDependencies="ACE.lib RTC041.lib omniORB407_rt.lib omniDynamic407_rt.lib omnithread32_rt.lib advapi32.lib ws2_32.lib mswsock.lib" 186 OutputFile="$(OutDir)/$(ProjectName).exe" 188 GenerateDebugInformation="false" 190 OptimizeReferences="2" 191 EnableCOMDATFolding="2" 192 LinkTimeCodeGeneration="0" 199 Name="VCManifestTool" 211 Name="VCAppVerifierTool" 214 Name="VCWebDeploymentTool" 217 Name="VCPostBuildEventTool" 226 Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx" 227 UniqueIdentifier="[SourceGUID]" 230 RelativePath=".\\[fname_cpp]" 234 RelativePath=".\\[fname_comp]" 240 Filter="h;hpp;hxx;hm;inl;inc;xsd" 241 UniqueIdentifier="[HeaderGUID]" 244 RelativePath=".\\[fname_h]" 250 Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav" 251 UniqueIdentifier="[ResourceGUID]" 257 </VisualStudioProject> 260 props_file =
"""<?xml version="1.0" encoding="shift_jis"?> 261 <VisualStudioPropertySheet 262 ProjectType="Visual C++" 264 Name="OpenRTM-aist-0.4" 267 Name="VCCLCompilerTool" 268 AdditionalIncludeDirectories=""$(rtm_root)";"$(rtm_root)\\rtm\\idl";"$(ace_include)";"$(omni_include)";." 272 AdditionalLibraryDirectories=""$(rtm_root)\\bin";"$(ace_libdir)";"$(omni_libdir)"" 292 Value="$(ace_root)\\lib" 296 Value="$(omni_root)\\include" 300 Value="$(omni_root)\\lib\\x86_win32" 304 Value="$(omni_root)\\bin\\x86_win32" 308 Value=""$(rtm_root)";"$(rtm_root)\\rtm\\idl";"$(ace_include)";"$(omni_include)";." 312 Value=""$(rtm_root)\\bin";"$(ace_libdir)";"$(omni_libdir)";." 316 Value=""$(rtm_root)\\bin";"$(rtm_root)\\build";"$(omni_bin)"" 318 </VisualStudioPropertySheet> 324 VC++ project-file generator 330 self.
data[
"begin_brace"] =
"[" 331 self.
data[
"end_brace"] =
"]" 332 self.
data[
"vcproject_file"] = self.
data[
"fname"] +
".vcproj" 333 self.
data[
"props_file"] =
"OpenRTM-aist.vsprops" 334 self.
data[
"l_name"] = self.
data[
"fname"].lower()
339 self.
data[
"vc_version"] =
"8.00" 340 self.
data[
"fname_h"] = self.
data[
"fname"] +
".h" 341 self.
data[
"fname_cpp"] = self.
data[
"fname"] +
".cpp" 342 self.
data[
"fname_comp"] = self.
data[
"fname"] +
"Comp.cpp" 351 Generate VC++ project-file 353 self.
gen(self.
data[
"props_file"],
356 self.
gen(self.
data[
"vcproject_file"],
def uuid1(node=None, clock_seq=None)
def gen(self, fname, temp_txt, data, tags)
def __init__(self, data, opts)
def print_vcproject(self)