blob: ff1328e5212fb473771f28e331da7962410ab1d2 [file] [log] [blame]
/**********************************************************************
* Copyright (c) 2005,2010 IBM Corporation.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.ptp.pldt.openmp.core.prefs;
import org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer;
import org.eclipse.jface.preference.IPreferenceStore;
import org.eclipse.ptp.pldt.openmp.internal.core.OpenMPIDs;
import org.eclipse.ptp.pldt.openmp.core.OpenMPPlugin;
/**
* Class used to initialize default preference values.
* @autho Beth Tibbitts
*/
public class OpenMPPreferenceInitializer extends AbstractPreferenceInitializer {
/**
* Initialize default OpenMP preferences
*/
public void initializeDefaultPreferences() {
IPreferenceStore store = OpenMPPlugin.getDefault()
.getPreferenceStore();
store.setDefault(OpenMPIDs.OpenMP_BUILD_CMD, "gcc -fopenmp"); //$NON-NLS-1$
store.setDefault(OpenMPIDs.OPENMP_RECOGNIZE_APIS_BY_PREFIX_ALONE, true);
}
}