blob: b363c833d6560f3480ce43d1d0c54460a91273c6 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2019-2020 Martin Weber.
*
* Content is provided to you under the terms and conditions of the Eclipse Public License Version 2.0 "EPL".
* A copy of the EPL is available at http://www.eclipse.org/legal/epl-2.0.
*
* SPDX-License-Identifier: EPL-2.0
*******************************************************************************/
package org.eclipse.cdt.cmake.is.intel;
import org.eclipse.cdt.cmake.is.core.Arglets;
import org.eclipse.cdt.cmake.is.core.DefaultToolCommandlineParser;
import org.eclipse.cdt.cmake.is.core.DefaultToolDetectionParticipant;
import org.eclipse.cdt.cmake.is.core.IArglet;
import org.eclipse.cdt.cmake.is.core.ResponseFileArglets;
/**
* C + C++, Windows, EDG.
*
* @author Martin Weber
*/
public class IclCandCppToolDetectionParticipant extends DefaultToolDetectionParticipant {
public IclCandCppToolDetectionParticipant() {
super("icl", true, "exe", new CandCppToolCommandlineParser());
}
private static class CandCppToolCommandlineParser extends DefaultToolCommandlineParser {
private static final IArglet[] arglets = { new Arglets.IncludePath_C_POSIX(), new Arglets.MacroDefine_C_POSIX(),
new Arglets.MacroUndefine_C_POSIX() };
private CandCppToolCommandlineParser() {
super(new ResponseFileArglets.At(), null, arglets);
}
}
}