// Copyright (c) Ubisoft. All Rights Reserved. // Licensed under the Apache 2.0 License. See LICENSE.md in the project root for license information. namespace Sharpmake.Generators.VisualStudio { public partial class Vcxproj { public static class Template { public static class Project { public static string ProjectBegin = @" "; public static string ProjectBeginConfigurationDescription = @" "; public static string ProjectEndConfigurationDescription = @" "; public static string ProjectConfigurationDescription = @" [configName] [platformName] "; public static string ProjectDescription = @" {[guid]} [targetFrameworkVersion] [targetFramework] [projectKeyword] en-US [projectName] [projectName] "; public const string DisableRegistryUse = @" true "; internal const string DisableInstalledVcTargetsUse = @" true "; public static string ProjectDescriptionStartPlatformConditional = @" "; public static string ProjectDescriptionEnd = @" "; public static string ImportCppDefaultProps = @" "; public static string PropertyGroupStart = @" "; public static string PropertyGroupEnd = @" "; public static string CustomProperty = @" <[custompropertyname]>[custompropertyvalue] "; public static string VCOverridesProperties = @" [msBuildExtensionsPath] <[vcInstallDirKey]>[vcInstallDirValue] "; public static string VCTargetsPathOverride = @" <[vcTargetsPathKey]>[vcTargetsPath] "; public static string VCTargetsPathOverrideConditional = @" <[vcTargetsPathKey] Condition=""'$(VisualStudioVersion)'=='[vsVersion]'"">[vcTargetsPath] "; public static string ProjectEnd = @""; public static string ProjectAfterConfigurationsGeneral = @" "; public static string ProjectAfterConfigurationsGeneralImportPropertySheets = @" "; public static string ProjectImportedProps = @" "; public static string ProjectImportedMasmProps = @" "; public static string ProjectImportedNasmProps = @" "; public static string ProjectConfigurationImportedProps = @" "; public static string ProjectImportedPropsEnd = @" "; public static string ProjectAfterImportedProps = @" "; // // // public static string ProjectFilesFastBuildFile = @" "; public static string ProjectConfigurationBeginItemDefinition = @" "; public static string ProjectConfigurationEndItemDefinition = @" "; public static string ProjectTargetsBegin = @" "; public static string ProjectTargetsItem = @" "; public static string ProjectMasmTargetsItem = @" "; public static string ProjectNasmTargetsItem = @" "; public static string ProjectConfigurationImportedTargets = @" "; // Support both regular and native package types, whichever happens to exist // possible file extension: .targets and .props public static string ProjectNugetReferenceImport = @" "; public static string ProjectNugetReferenceError = @" "; public static string ProjectTargetsEnd = @" "; public static string ProjectCustomTargetsBegin = @" "; public static string ProjectCustomTargetsEnd = @" "; public static string ProjectConfigurationsResourceCompile = @" [options.ResourceCompileTag] [options.ResourcePreprocessorDefinitions];%(PreprocessorDefinitions) [options.AdditionalResourceIncludeDirectories];%(AdditionalIncludeDirectories) [options.ResourceCompilerShowProgress] [options.ResourceCompileTag] "; public static string ProjectConfigurationsPreBuildEvent = @" [options.PreBuildEvent] [options.PreBuildEventDescription] "; public static string ProjectConfigurationsPreLinkEvent = @" [options.PreLinkEvent] [options.PreLinkEventDescription] "; public static string ProjectConfigurationsPrePostLinkEvent = @" [options.PrePostLinkEvent] [options.PrePostLinkEventDescription] "; public static string ProjectConfigurationsPostBuildEvent = @" [options.PostBuildEvent] [options.PostBuildEventDescription] "; public static string ProjectConfigurationsCustomBuildStep = @" [options.CustomBuildStep] [options.CustomBuildStepDescription] [options.CustomBuildStepOutputs] [options.CustomBuildStepInputs] [options.CustomBuildStepTreatOutputAsContent] "; public static string ProjectConfigurationsManifestTool = @" [options.EnableDpiAwareness] [options.AdditionalManifestFiles] "; public static string ProjectConfigurationsCustomBuildEvent = @" [options.CustomBuildEvent] [options.CustomBuildEventDescription] [options.CustomBuildEventOutputs] "; public static string ProjectFilesBegin = @" "; public static string ProjectFilesEnd = @" "; public static string ProjectFilesHeader = @" "; public static string ProjectFilesNatvis = @" "; public static string ProjectFilesSourceBegin = @" Document "; public static string ProjectFilesNone = @" "; public static string ProjectFilesCustomSourceBegin = @" <[type] Include=""[file.FilePath]"""; public static string ProjectFilesResourceEnd = @" "; public static string ProjectFilesCustomBuildBegin = @" [filetype] "; public static string ProjectFilesCustomBuildDescription = @" [description] "; public static string ProjectFilesCustomBuildCommand = @" [command] "; public static string ProjectFilesCustomBuildInputs = @" [inputs] "; public static string ProjectFilesCustomBuildOutputs = @" [outputs] "; public static string ProjectFilesCustomBuildLinkObject = @" [linkobjects] "; public static string ProjectFilesCustomBuildOutputItemType = @" [outputItemType] "; public static string ProjectFilesCustomBuildEnd = @" "; public static string ProjectFilesSourceEnd = @" /> "; public static string ProjectFilesCustomSourceEnd = @" /> "; public static string ProjectFilesSourceBeginOptions = @"> "; public static string ProjectFilesCustomSourceBeginOptions = @"> "; public static string ProjectFilesSourceEndOptions = @" "; public static string ProjectFilesCustomSourceEndOptions = @" "; public static string ProjectFilesSourceObjectFileName = @" [ObjectFileName] "; public static string ProjectFilesSourcePrecompCreate = @" Create "; public static string ProjectFilesSourcePrecompNotUsing = @" NotUsing "; public static string ProjectFilesForcedIncludeVanilla = @" [options.ForcedIncludeFilesVanilla] "; public static string ProjectFilesAdditionalForcedInclude = @" %(ForcedIncludeFiles);[ForcedIncludeFiles] "; public static string ProjectFilesAdditionalForcedIncludeVanilla = @" [options.ForcedIncludeFilesVanilla];[ForcedIncludeFiles] "; public static string ProjectFilesSourceExcludeFromBuild = @" true "; public static string ProjectFilesSourceConsumeWinRTExtensions = @" true "; public static string ProjectFilesSourceExcludeWinRTExtensions = @" false "; public static string ProjectFilesSourceEnableExceptions = @" [exceptionSetting] "; public static string ProjectFilesSourceCompileAsC = @" CompileAsC "; public static string ProjectFilesSourceCompileAsCPP = @" CompileAsCPP "; public static string ProjectFilesSourceCompileAsCLR = @" true "; public static string ProjectFilesSourceDoNotCompileAsCLR = @" false "; public static string ProjectFilesSourceDefine = @" [ProjectFilesSourceDefine];%(PreprocessorDefinitions) "; public static string ProjectFilesSourceExcludeGenerateXmlDocumentation = @" false "; public static string SingleReferenceByName = @" "; public static string ReferenceByName = @" [private] "; public static string ProjectReference = @" {[projectGUID]} [projectRefName] [private] [options.ReferenceOutputAssembly] [options.CopyLocalSatelliteAssemblies] [options.LinkLibraryDependencies] [options.UseLibraryDependencyInputs] "; public static string ReferenceByPath = @" [hintPath] [private] "; public static string ProjectBuildMacroEnvironmentVariable = @" [environmentVariableValue] true "; public static string ItemGroupBegin = @" "; public static string ItemGroupEnd = @" "; public const string PlatformFolderOverride = @" <_PlatformFolder>[platformFolder] "; public const string AdditionalVCTargetsPath = @" [additionalVCTargetsPath] <_VCTargetsPathForToolset>$(AdditionalVCTargetsPath) "; internal static class Filters { public static string Begin = @" "; public static string ProjectFiltersEnd = @""; public static string FileNoFilter = @" <[type] Include=""[file.FilePath]"" /> "; public static string FileWithFilter = @" <[type] Include=""[file.FilePath]""> [file.FilterPath] "; public static string FileWithDependencyFilter = @" "; public static string Filter = @" {[guid]} "; } } } } }