void PSGeneralPage::Save(BuildConfigPtr buildConf, ProjectSettingsPtr projSettingsPtr) { buildConf->SetOutputFileName( GetPropertyAsString(m_pgPropOutputFile) ); buildConf->SetIntermediateDirectory( GetPropertyAsString(m_pgPropIntermediateFolder) ); buildConf->SetCommand( GetPropertyAsString(m_pgPropProgram) ); buildConf->SetCommandArguments(GetPropertyAsString(m_pgPropArgs)); buildConf->SetWorkingDirectory(GetPropertyAsString(m_pgPropWorkingDirectory)); // Get the project type selection, unlocalised projSettingsPtr->SetProjectType( GetPropertyAsString(m_pgPropProjectType) ); buildConf->SetCompilerType( GetPropertyAsString(m_pgPropCompiler) ); buildConf->SetDebuggerType( GetPropertyAsString(m_pgPropDebugger) ); buildConf->SetPauseWhenExecEnds( GetPropertyAsBool(m_pgPropPause) ); buildConf->SetProjectType( GetPropertyAsString(m_pgPropProjectType) ); buildConf->SetDebugArgs( GetPropertyAsString(m_pgPropDebugArgs) ); buildConf->SetIsGUIProgram( GetPropertyAsBool(m_pgPropGUIApp) ); buildConf->SetIsProjectEnabled( m_checkBoxEnabled->IsChecked() ); buildConf->SetUseSeparateDebugArgs( GetPropertyAsBool(m_pgPropUseSeparateDebuggerArgs) ); }