예제 #1
0
// Save
//------------------------------------------------------------------------------
/*virtual*/ void CopyDirNode::Save( IOStream & stream ) const
{
    NODE_SAVE( m_Name );
    NODE_SAVE_DEPS( m_StaticDependencies );
    NODE_SAVE( m_DestPath );
    NODE_SAVE_DEPS( m_PreBuildDependencies );
}
예제 #2
0
// Save
//------------------------------------------------------------------------------
/*virtual*/ void LibraryNode::Save( IOStream & stream ) const
{
    ObjectListNode::Save( stream );

	NODE_SAVE( m_LibrarianPath );
	NODE_SAVE( m_LibrarianArgs );
	NODE_SAVE( m_Flags );
	NODE_SAVE_DEPS( m_AdditionalInputs );
}
예제 #3
0
// Save
//------------------------------------------------------------------------------
/*virtual*/ void AliasNode::Save( IOStream & stream ) const
{
#ifdef USE_NODE_REFLECTION
	NODE_SAVE( m_Name );
	Node::Serialize( stream );
#else
	NODE_SAVE( m_Name );
	NODE_SAVE_DEPS( m_StaticDependencies );
#endif
}
예제 #4
0
// Save
//------------------------------------------------------------------------------
/*virtual*/ void SLNNode::Save( IOStream & stream ) const
{
    NODE_SAVE( m_Name );
    NODE_SAVE( m_SolutionBuildProject );
    NODE_SAVE( m_SolutionVisualStudioVersion );
    NODE_SAVE( m_SolutionMinimumVisualStudioVersion );
    NODE_SAVE_DEPS( m_StaticDependencies );
    VSProjectConfig::Save( stream, m_Configs );
    SLNSolutionFolder::Save( stream, m_Folders );
}
예제 #5
0
// Save
//------------------------------------------------------------------------------
/*virtual*/ void CompilerNode::Save( IOStream & stream ) const
{
#ifdef USE_NODE_REFLECTION
	NODE_SAVE( m_Name );
	Node::Serialize( stream );
	m_Manifest.Serialize( stream );
#else
	NODE_SAVE( m_Name );
	NODE_SAVE_DEPS( m_StaticDependencies );
	NODE_SAVE( m_AllowDistribution );
	m_Manifest.Serialize( stream );
#endif
}
예제 #6
0
파일: CSNode.cpp 프로젝트: ClxS/fastbuild
// Save
//------------------------------------------------------------------------------
/*virtual*/ void CSNode::Save( IOStream & stream ) const
{
	NODE_SAVE( m_Name );

	// Only save the original static deps here (remove the extra refs)
	size_t numBaseDeps = m_StaticDependencies.GetSize() - m_ExtraRefs.GetSize();
	Dependencies staticDeps( numBaseDeps, false );
	for ( size_t i=0; i<numBaseDeps; ++i )
	{
		staticDeps.Append( Dependency( m_StaticDependencies[ i ].GetNode() ) );
	}
	NODE_SAVE_DEPS( staticDeps );

	NODE_SAVE( m_CompilerPath );
	NODE_SAVE( m_CompilerArgs );
	NODE_SAVE_DEPS( m_ExtraRefs );
}
예제 #7
0
// Save
//------------------------------------------------------------------------------
/*virtual*/ void DirectoryListNode::Save( IOStream & stream ) const
{
	NODE_SAVE( m_Name );
	NODE_SAVE( m_Path );
	NODE_SAVE( m_Patterns );
	NODE_SAVE( m_ExcludePaths );
	NODE_SAVE( m_Recursive );
    NODE_SAVE( m_FilesToExclude );
}
예제 #8
0
// Save
//------------------------------------------------------------------------------
/*virtual*/ void ExecNode::Save( IOStream & stream ) const
{
    NODE_SAVE( m_Name );
    NODE_SAVE( m_SourceFile->GetName() );
    NODE_SAVE( m_Executable->GetName() );
    NODE_SAVE( m_Arguments );
    NODE_SAVE( m_WorkingDir );
    NODE_SAVE( m_ExpectedReturnCode );
    NODE_SAVE_DEPS( m_PreBuildDependencies );
}
예제 #9
0
// Save
//------------------------------------------------------------------------------
/*virtual*/ void ObjectListNode::Save( IOStream & stream ) const
{
	NODE_SAVE( m_Name );
	NODE_SAVE_NODE( m_Compiler );
	NODE_SAVE( m_CompilerArgs );
	NODE_SAVE( m_CompilerArgsDeoptimized );
	NODE_SAVE( m_CompilerOutputPath );
	NODE_SAVE_DEPS( m_StaticDependencies );
	NODE_SAVE_NODE( m_PrecompiledHeader );
	NODE_SAVE( m_ObjExtensionOverride );
    NODE_SAVE( m_CompilerOutputPrefix );
	NODE_SAVE_DEPS( m_CompilerForceUsing );
	NODE_SAVE_DEPS( m_PreBuildDependencies );
	NODE_SAVE( m_DeoptimizeWritableFiles );
	NODE_SAVE( m_DeoptimizeWritableFilesWithToken );
	NODE_SAVE_NODE( m_Preprocessor );
	NODE_SAVE( m_PreprocessorArgs );

	// TODO:B Need to save the dynamic deps, for better progress estimates
	// but we can't right now because we rely on the nodes we depend on 
	// being saved before us which isn't the case for dynamic deps.
	// dynamic deps are saved for more accurate progress estimates in future builds
	//Node::SaveDepArray( fileStream, m_DynamicDependencies );
}
예제 #10
0
// Save
//------------------------------------------------------------------------------
/*virtual*/ void LinkerNode::Save( IOStream & stream ) const
{
    // we want to save the static deps excluding the
    size_t count = m_StaticDependencies.GetSize() - ( m_AssemblyResources.GetSize() + m_OtherLibraries.GetSize() );
    if ( m_LinkerStampExe )
    {
        count--;
    }
    Dependencies staticDeps( m_StaticDependencies.Begin(), m_StaticDependencies.Begin() + count );

    NODE_SAVE( m_Name );
    NODE_SAVE( m_LinkerType );
    NODE_SAVE( m_Linker );
    NODE_SAVE( m_LinkerArgs );
    NODE_SAVE_DEPS( staticDeps );
    NODE_SAVE( m_Flags );
    NODE_SAVE_DEPS( m_AssemblyResources );
    NODE_SAVE_DEPS( m_OtherLibraries );
    NODE_SAVE( m_ImportLibName );
    NODE_SAVE_NODE( m_LinkerStampExe );
    NODE_SAVE( m_LinkerStampExeArgs );
}
예제 #11
0
// Save
//------------------------------------------------------------------------------
/*virtual*/ void XCodeProjectNode::Save( IOStream & stream ) const
{
	NODE_SAVE( m_Name );
	Node::Serialize( stream );
}
예제 #12
0
파일: FileNode.cpp 프로젝트: ClxS/fastbuild
// Save
//------------------------------------------------------------------------------
/*virtual*/ void FileNode::Save( IOStream & stream ) const
{
	NODE_SAVE( m_Name );
}
예제 #13
0
// Save
//------------------------------------------------------------------------------
/*virtual*/ void RemoveDirNode::Save( IOStream & stream ) const
{
    NODE_SAVE( m_Name );
    Node::Serialize( stream );
}