
org.ow2.mind.cli.CompilationCommandOptionHandler Maven / Gradle / Ivy
The newest version!
/**
* Copyright (C) 2010 STMicroelectronics
*
* This file is part of "Mind Compiler" is free software: you can redistribute
* it and/or modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see .
*
* Contact: [email protected]
*
* Authors: Matthieu Leclercq
* Contributors: Julien Tous
*/
package org.ow2.mind.cli;
import java.util.Map;
import org.ow2.mind.compilation.CompilerContextHelper;
import org.ow2.mind.plugin.util.Assert;
/**
* Handles "compiler-command" and "linker-command" options.
*
* @see CompilerContextHelper
*/
public class CompilationCommandOptionHandler implements CommandOptionHandler {
/** The ID of the "compiler-command" option. */
public static final String COMPILER_COMMAND_ID = "org.ow2.mind.mindc.CompilerCommand";
/** The ID of the "assembler-command" option. */
public static final String ASSEMBLER_COMMAND_ID = "org.ow2.mind.mindc.AssemblerCommand";
/** The ID of the "linker-command" option. */
public static final String LINKER_COMMAND_ID = "org.ow2.mind.mindc.LinkerCommand";
public void processCommandOption(final CmdOption cmdOption,
final CommandLine cmdLine, final Map
© 2015 - 2025 Weber Informatics LLC | Privacy Policy