Logo Search packages:      
Sourcecode: ccbuild version File versions

Options.hh

/*
      ccbuild - A strict developer's build utility
      Copyright (C) 2005  A. Bram Neijt <bneijt@gmail.com>

      This program is free software; you can redistribute it and/or
      modify it under the terms of the GNU General Public License
      as published by the Free Software Foundation; either version 2
      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 General Public License for more details.

      You should have received a copy of the GNU General Public License
      along with this program; if not, write to the Free Software
      Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

*/

#ifndef _Options_HH_INCLUDED_
#define     _Options_HH_INCLUDED_

#include <string>
#include <vector>
namespace bneijt
{
/**\brief A collection of static variables containing options

      
*/
00032 struct Options
{
00034       static std::string version;                     ///<The version
00035       static std::string CC;                    ///<The compiler command
00036       static std::string execOnPass;                        ///<XOP option
00037       static std::string execOnFail;                        ///<XOF option
00038       static std::string extraArgs;                   ///<Arguments given with --args
00039       static std::string commandAppend;                     ///<To append to every compiled command (--append)
00040       static std::string homepage;                    ///<The homepage to mention in scripts
00041       static std::string progVersion;                       ///<The version (of the library) as given by --version.


00044       static bool md5;                    ///<Wether to use MD5 checks
00045       static bool simulate;                     ///<Wether we are running a simulation
00046       static bool precompile;                   ///<Use precomiplation
00047       static bool precompileAll;                      ///<Precompile all
00048       static bool verbose;                      ///<Wether to be verbose
00049       static bool defaultUpdate;                      ///<Wether the force option is given
00050       static bool highlight;                    ///<Wether to highlight g++ output
00051       static bool showCommands;                       ///<Wether to show commands (part of verbose)
00052       static bool brute;                        ///<Brute flag
00053       static bool clearPerCommand;                    ///<Clear per command flag
00054       static bool loadGlobalRes;                      ///<Global resolution loading flag
00055       static bool xml;                    ///<Wether to produce xml where possible
00056       static bool interAr;                      ///<Wether to archive inbetween compile and link

00058       static bool makefileHeaderDone;                       ///<Wether the Makefile header has been outputted
00059       static bool aapHeaderDone;                      ///<Wether the A-A-P header has been outputted
      
00061       static std::vector<std::string> includePaths;                     ///<A list of include paths (-I)
00062       static std::vector<std::string> extraResolutions;           ///<Extra resolution files given with --addres
};
}//Namespace
#endif


Generated by  Doxygen 1.6.0   Back to index