/** Copy constructor. */
 public CPPEnvironmentConfiguration(CPPEnvironmentConfiguration InCopyEnvironment) :
     base(InCopyEnvironment)
 {
     OutputDirectory                  = InCopyEnvironment.OutputDirectory;
     LocalShadowDirectory             = InCopyEnvironment.LocalShadowDirectory;
     PCHHeaderNameInCode              = InCopyEnvironment.PCHHeaderNameInCode;
     PrecompiledHeaderIncludeFilename = InCopyEnvironment.PrecompiledHeaderIncludeFilename;
     PrecompiledHeaderAction          = InCopyEnvironment.PrecompiledHeaderAction;
     bForceIncludePrecompiledHeader   = InCopyEnvironment.bForceIncludePrecompiledHeader;
     bUseRTTI            = InCopyEnvironment.bUseRTTI;
     bFasterWithoutUnity = InCopyEnvironment.bFasterWithoutUnity;
     MinFilesUsingPrecompiledHeaderOverride = InCopyEnvironment.MinFilesUsingPrecompiledHeaderOverride;
     bEnableExceptions  = InCopyEnvironment.bEnableExceptions;
     OptimizeCode       = InCopyEnvironment.OptimizeCode;
     bCreateDebugInfo   = InCopyEnvironment.bCreateDebugInfo;
     bIsBuildingLibrary = InCopyEnvironment.bIsBuildingLibrary;
     bIsBuildingDLL     = InCopyEnvironment.bIsBuildingDLL;
     bUseStaticCRT      = InCopyEnvironment.bUseStaticCRT;
     CLRMode            = InCopyEnvironment.CLRMode;
     CPPIncludeInfo.IncludePaths.UnionWith(InCopyEnvironment.CPPIncludeInfo.IncludePaths);
     CPPIncludeInfo.SystemIncludePaths.UnionWith(InCopyEnvironment.CPPIncludeInfo.SystemIncludePaths);
     SystemDotNetAssemblyPaths.AddRange(InCopyEnvironment.SystemDotNetAssemblyPaths);
     FrameworkAssemblyDependencies.AddRange(InCopyEnvironment.FrameworkAssemblyDependencies);
     PrivateAssemblyDependencies.AddRange(InCopyEnvironment.PrivateAssemblyDependencies);
     Definitions.AddRange(InCopyEnvironment.Definitions);
     AdditionalArguments = InCopyEnvironment.AdditionalArguments;
     AdditionalFrameworks.AddRange(InCopyEnvironment.AdditionalFrameworks);
 }
Exemple #2
0
 /// <summary>
 /// Copy constructor.
 /// </summary>
 public CPPEnvironmentConfiguration(CPPEnvironmentConfiguration InCopyEnvironment)
 {
     Platform                         = InCopyEnvironment.Platform;
     Configuration                    = InCopyEnvironment.Configuration;
     Architecture                     = InCopyEnvironment.Architecture;
     OutputDirectory                  = InCopyEnvironment.OutputDirectory;
     PCHOutputDirectory               = InCopyEnvironment.PCHOutputDirectory;
     LocalShadowDirectory             = InCopyEnvironment.LocalShadowDirectory;
     PrecompiledHeaderIncludeFilename = InCopyEnvironment.PrecompiledHeaderIncludeFilename;
     PrecompiledHeaderAction          = InCopyEnvironment.PrecompiledHeaderAction;
     bUseRTTI                         = InCopyEnvironment.bUseRTTI;
     bUseAVX             = InCopyEnvironment.bUseAVX;
     bFasterWithoutUnity = InCopyEnvironment.bFasterWithoutUnity;
     MinSourceFilesForUnityBuildOverride    = InCopyEnvironment.MinSourceFilesForUnityBuildOverride;
     MinFilesUsingPrecompiledHeaderOverride = InCopyEnvironment.MinFilesUsingPrecompiledHeaderOverride;
     bBuildLocallyWithSNDBS       = InCopyEnvironment.bBuildLocallyWithSNDBS;
     bEnableExceptions            = InCopyEnvironment.bEnableExceptions;
     bEnableShadowVariableWarning = InCopyEnvironment.bEnableShadowVariableWarning;
     bOptimizeCode        = InCopyEnvironment.bOptimizeCode;
     bCreateDebugInfo     = InCopyEnvironment.bCreateDebugInfo;
     bIsBuildingLibrary   = InCopyEnvironment.bIsBuildingLibrary;
     bIsBuildingDLL       = InCopyEnvironment.bIsBuildingDLL;
     bUseStaticCRT        = InCopyEnvironment.bUseStaticCRT;
     bEnableOSX109Support = InCopyEnvironment.bEnableOSX109Support;
     CPPIncludeInfo.IncludePaths.UnionWith(InCopyEnvironment.CPPIncludeInfo.IncludePaths);
     CPPIncludeInfo.SystemIncludePaths.UnionWith(InCopyEnvironment.CPPIncludeInfo.SystemIncludePaths);
     ForceIncludeFiles.AddRange(InCopyEnvironment.ForceIncludeFiles);
     Definitions.AddRange(InCopyEnvironment.Definitions);
     AdditionalArguments = InCopyEnvironment.AdditionalArguments;
     AdditionalFrameworks.AddRange(InCopyEnvironment.AdditionalFrameworks);
 }
Exemple #3
0
 /// <summary>
 /// Copy constructor.
 /// </summary>
 /// <param name="Other">Environment to copy settings from</param>
 public CppCompileEnvironment(CppCompileEnvironment Other)
 {
     Platform      = Other.Platform;
     Configuration = Other.Configuration;
     Architecture  = Other.Architecture;
     MetadataCache = Other.MetadataCache;
     SharedPCHs    = Other.SharedPCHs;
     PrecompiledHeaderIncludeFilename = Other.PrecompiledHeaderIncludeFilename;
     PrecompiledHeaderAction          = Other.PrecompiledHeaderAction;
     bUseSharedBuildEnvironment       = Other.bUseSharedBuildEnvironment;
     bUseRTTI     = Other.bUseRTTI;
     bUseInlining = Other.bUseInlining;
     bCompileISPC = Other.bCompileISPC;
     bUseAVX      = Other.bUseAVX;
     bUseUnity    = Other.bUseUnity;
     MinSourceFilesForUnityBuildOverride    = Other.MinSourceFilesForUnityBuildOverride;
     MinFilesUsingPrecompiledHeaderOverride = Other.MinFilesUsingPrecompiledHeaderOverride;
     bBuildLocallyWithSNDBS               = Other.bBuildLocallyWithSNDBS;
     bEnableExceptions                    = Other.bEnableExceptions;
     bEnableObjCExceptions                = Other.bEnableObjCExceptions;
     ShadowVariableWarningLevel           = Other.ShadowVariableWarningLevel;
     UnsafeTypeCastWarningLevel           = Other.UnsafeTypeCastWarningLevel;
     bUndefinedIdentifierWarningsAsErrors = Other.bUndefinedIdentifierWarningsAsErrors;
     bEnableUndefinedIdentifierWarnings   = Other.bEnableUndefinedIdentifierWarnings;
     bOptimizeCode           = Other.bOptimizeCode;
     bOptimizeForSize        = Other.bOptimizeForSize;
     bCreateDebugInfo        = Other.bCreateDebugInfo;
     bIsBuildingLibrary      = Other.bIsBuildingLibrary;
     bIsBuildingDLL          = Other.bIsBuildingDLL;
     bUseStaticCRT           = Other.bUseStaticCRT;
     bUseDebugCRT            = Other.bUseDebugCRT;
     bOmitFramePointers      = Other.bOmitFramePointers;
     bEnableOSX109Support    = Other.bEnableOSX109Support;
     bUsePDBFiles            = Other.bUsePDBFiles;
     bPreprocessOnly         = Other.bPreprocessOnly;
     bSupportEditAndContinue = Other.bSupportEditAndContinue;
     bUseIncrementalLinking  = Other.bUseIncrementalLinking;
     bAllowLTCG                         = Other.bAllowLTCG;
     bPGOOptimize                       = Other.bPGOOptimize;
     bPGOProfile                        = Other.bPGOProfile;
     PGOFilenamePrefix                  = Other.PGOFilenamePrefix;
     PGODirectory                       = Other.PGODirectory;
     bPrintTimingInfo                   = Other.bPrintTimingInfo;
     bGenerateDependenciesFile          = Other.bGenerateDependenciesFile;
     bAllowRemotelyCompiledPCHs         = Other.bAllowRemotelyCompiledPCHs;
     UserIncludePaths                   = new HashSet <DirectoryReference>(Other.UserIncludePaths);
     SystemIncludePaths                 = new HashSet <DirectoryReference>(Other.SystemIncludePaths);
     bCheckSystemHeadersForModification = Other.bCheckSystemHeadersForModification;
     ForceIncludeFiles.AddRange(Other.ForceIncludeFiles);
     AdditionalPrerequisites.AddRange(Other.AdditionalPrerequisites);
     Definitions.AddRange(Other.Definitions);
     AdditionalArguments = Other.AdditionalArguments;
     AdditionalFrameworks.AddRange(Other.AdditionalFrameworks);
     PrecompiledHeaderFile = Other.PrecompiledHeaderFile;
     bHackHeaderGenerator  = Other.bHackHeaderGenerator;
     bHideSymbolsByDefault = Other.bHideSymbolsByDefault;
     CppStandard           = Other.CppStandard;
 }
 /// <summary>
 /// Copy constructor.
 /// </summary>
 /// <param name="Other">Environment to copy settings from</param>
 public CppCompileEnvironment(CppCompileEnvironment Other)
 {
     Platform                         = Other.Platform;
     Configuration                    = Other.Configuration;
     Architecture                     = Other.Architecture;
     OutputDirectory                  = Other.OutputDirectory;
     PCHOutputDirectory               = Other.PCHOutputDirectory;
     LocalShadowDirectory             = Other.LocalShadowDirectory;
     PrecompiledHeaderIncludeFilename = Other.PrecompiledHeaderIncludeFilename;
     PrecompiledHeaderAction          = Other.PrecompiledHeaderAction;
     bUseRTTI                         = Other.bUseRTTI;
     bUseInlining                     = Other.bUseInlining;
     bUseAVX             = Other.bUseAVX;
     bFasterWithoutUnity = Other.bFasterWithoutUnity;
     MinSourceFilesForUnityBuildOverride    = Other.MinSourceFilesForUnityBuildOverride;
     MinFilesUsingPrecompiledHeaderOverride = Other.MinFilesUsingPrecompiledHeaderOverride;
     bBuildLocallyWithSNDBS               = Other.bBuildLocallyWithSNDBS;
     bEnableExceptions                    = Other.bEnableExceptions;
     bEnableObjCExceptions                = Other.bEnableObjCExceptions;
     bShadowVariableWarningsAsErrors      = Other.bShadowVariableWarningsAsErrors;
     bEnableShadowVariableWarnings        = Other.bEnableShadowVariableWarnings;
     bUndefinedIdentifierWarningsAsErrors = Other.bUndefinedIdentifierWarningsAsErrors;
     bEnableUndefinedIdentifierWarnings   = Other.bEnableUndefinedIdentifierWarnings;
     bOptimizeCode           = Other.bOptimizeCode;
     bOptimizeForSize        = Other.bOptimizeForSize;
     bCreateDebugInfo        = Other.bCreateDebugInfo;
     bIsBuildingLibrary      = Other.bIsBuildingLibrary;
     bIsBuildingDLL          = Other.bIsBuildingDLL;
     bUseStaticCRT           = Other.bUseStaticCRT;
     bUseDebugCRT            = Other.bUseDebugCRT;
     bOmitFramePointers      = Other.bOmitFramePointers;
     bEnableOSX109Support    = Other.bEnableOSX109Support;
     bUsePDBFiles            = Other.bUsePDBFiles;
     bSupportEditAndContinue = Other.bSupportEditAndContinue;
     bUseIncrementalLinking  = Other.bUseIncrementalLinking;
     bAllowLTCG                 = Other.bAllowLTCG;
     bPGOOptimize               = Other.bPGOOptimize;
     bPGOProfile                = Other.bPGOProfile;
     PGOFilenamePrefix          = Other.PGOFilenamePrefix;
     PGODirectory               = Other.PGODirectory;
     bPrintTimingInfo           = Other.bPrintTimingInfo;
     bAllowRemotelyCompiledPCHs = Other.bAllowRemotelyCompiledPCHs;
     IncludePaths               = new CppIncludePaths(Other.IncludePaths);
     ForceIncludeFiles.AddRange(Other.ForceIncludeFiles);
     Definitions.AddRange(Other.Definitions);
     AdditionalArguments = Other.AdditionalArguments;
     AdditionalFrameworks.AddRange(Other.AdditionalFrameworks);
     PrecompiledHeaderFile = Other.PrecompiledHeaderFile;
     Headers = Other.Headers;
     bHackHeaderGenerator  = Other.bHackHeaderGenerator;
     bHideSymbolsByDefault = Other.bHideSymbolsByDefault;
 }
Exemple #5
0
 /** Copy constructor. */
 public CPPEnvironmentConfiguration(CPPEnvironmentConfiguration InCopyEnvironment)
     : base(InCopyEnvironment)
 {
     OutputDirectory                        = InCopyEnvironment.OutputDirectory;
     LocalShadowDirectory                   = InCopyEnvironment.LocalShadowDirectory;
     PCHHeaderNameInCode                    = InCopyEnvironment.PCHHeaderNameInCode;
     PrecompiledHeaderIncludeFilename       = InCopyEnvironment.PrecompiledHeaderIncludeFilename;
     PrecompiledHeaderAction                = InCopyEnvironment.PrecompiledHeaderAction;
     bForceIncludePrecompiledHeader         = InCopyEnvironment.bForceIncludePrecompiledHeader;
     bUseRTTI                               = InCopyEnvironment.bUseRTTI;
     bFasterWithoutUnity                    = InCopyEnvironment.bFasterWithoutUnity;
     MinFilesUsingPrecompiledHeaderOverride = InCopyEnvironment.MinFilesUsingPrecompiledHeaderOverride;
     bEnableExceptions                      = InCopyEnvironment.bEnableExceptions;
     bEnableShadowVariableWarning          = InCopyEnvironment.bEnableShadowVariableWarning;
     OptimizeCode                           = InCopyEnvironment.OptimizeCode;
     bCreateDebugInfo                       = InCopyEnvironment.bCreateDebugInfo;
     bIsBuildingLibrary                     = InCopyEnvironment.bIsBuildingLibrary;
     bIsBuildingDLL                         = InCopyEnvironment.bIsBuildingDLL;
     bUseStaticCRT						   = InCopyEnvironment.bUseStaticCRT;
     CLRMode                                = InCopyEnvironment.CLRMode;
     CPPIncludeInfo.IncludePaths            .UnionWith(InCopyEnvironment.CPPIncludeInfo.IncludePaths);
     CPPIncludeInfo.SystemIncludePaths      .UnionWith(InCopyEnvironment.CPPIncludeInfo.SystemIncludePaths);
     SystemDotNetAssemblyPaths    .AddRange(InCopyEnvironment.SystemDotNetAssemblyPaths);
     FrameworkAssemblyDependencies.AddRange(InCopyEnvironment.FrameworkAssemblyDependencies);
      			PrivateAssemblyDependencies  .AddRange(InCopyEnvironment.PrivateAssemblyDependencies);
     Definitions                  .AddRange(InCopyEnvironment.Definitions);
     AdditionalArguments                    = InCopyEnvironment.AdditionalArguments;
     AdditionalFrameworks		 .AddRange(InCopyEnvironment.AdditionalFrameworks);
 }
 /** Copy constructor. */
 public CPPEnvironmentConfiguration(CPPEnvironmentConfiguration InCopyEnvironment)
 {
     OutputDirectory                        = InCopyEnvironment.OutputDirectory;
     LocalShadowDirectory                   = InCopyEnvironment.LocalShadowDirectory;
     PCHHeaderNameInCode                    = InCopyEnvironment.PCHHeaderNameInCode;
     PrecompiledHeaderIncludeFilename       = InCopyEnvironment.PrecompiledHeaderIncludeFilename;
     PrecompiledHeaderAction                = InCopyEnvironment.PrecompiledHeaderAction;
     bForceIncludePrecompiledHeader         = InCopyEnvironment.bForceIncludePrecompiledHeader;
     TargetPlatform                         = InCopyEnvironment.TargetPlatform;
     TargetArchitecture                     = InCopyEnvironment.TargetArchitecture;
     TargetConfiguration                    = InCopyEnvironment.TargetConfiguration;
     bUseRTTI                               = InCopyEnvironment.bUseRTTI;
     bFasterWithoutUnity                    = InCopyEnvironment.bFasterWithoutUnity;
     MinFilesUsingPrecompiledHeaderOverride = InCopyEnvironment.MinFilesUsingPrecompiledHeaderOverride;
     bEnableExceptions                      = InCopyEnvironment.bEnableExceptions;
     bEnableInlining                        = InCopyEnvironment.bEnableInlining;
     OptimizeCode                           = InCopyEnvironment.OptimizeCode;
     bCreateDebugInfo                       = InCopyEnvironment.bCreateDebugInfo;
     bIsBuildingLibrary                     = InCopyEnvironment.bIsBuildingLibrary;
     bIsBuildingDLL                         = InCopyEnvironment.bIsBuildingDLL;
     CLRMode                                = InCopyEnvironment.CLRMode;
     IncludePaths                 .AddRange(InCopyEnvironment.IncludePaths);
     SystemIncludePaths           .AddRange(InCopyEnvironment.SystemIncludePaths);
     SystemDotNetAssemblyPaths    .AddRange(InCopyEnvironment.SystemDotNetAssemblyPaths);
     FrameworkAssemblyDependencies.AddRange(InCopyEnvironment.FrameworkAssemblyDependencies);
      			PrivateAssemblyDependencies  .AddRange(InCopyEnvironment.PrivateAssemblyDependencies);
     Definitions                  .AddRange(InCopyEnvironment.Definitions);
     AdditionalArguments                    = InCopyEnvironment.AdditionalArguments;
 }