1
/*=========================================================================
3
Program: CMake - Cross-Platform Makefile Generator
4
Module: $RCSfile: cmake.h,v $
6
Date: $Date: 2009-01-13 18:03:54 $
7
Version: $Revision: 1.109.2.7 $
9
Copyright (c) 2002 Kitware, Inc., Insight Consortium. All rights reserved.
10
See Copyright.txt or http://www.cmake.org/HTML/Copyright.html for details.
12
This software is distributed WITHOUT ANY WARRANTY; without even
13
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14
PURPOSE. See the above copyright notices for more information.
16
=========================================================================*/
1
/*============================================================================
2
CMake - Cross Platform Makefile Generator
3
Copyright 2000-2009 Kitware, Inc., Insight Software Consortium
5
Distributed under the OSI-approved BSD License (the "License");
6
see accompanying file Copyright.txt for details.
8
This software is distributed WITHOUT ANY WARRANTY; without even the
9
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10
See the License for more information.
11
============================================================================*/
17
12
// This class represents a cmake invocation. It is the top level class when
18
13
// running cmake. Most cmake based GUIS should primarily create an instance
19
14
// of this class and communicate with it.
356
351
/** Display a message to the user. */
357
352
void IssueMessage(cmake::MessageType t, std::string const& text,
358
353
cmListFileBacktrace const& backtrace);
354
// * run the --build option
355
int Build(const std::string& dir,
356
const std::string& target,
357
const std::string& config,
358
const std::vector<std::string>& nativeOptions,
360
361
void InitializeProperties();
361
362
int HandleDeleteCacheVariables(const char* var);
392
393
bool SuppressDevWarnings;
393
394
bool DoSuppressDevWarnings;
395
///! return true if the same cmake was used to make the cache.
396
bool CacheVersionMatches();
397
396
///! read in a cmake list file to initialize the cache
398
397
void ReadListFile(const char *path);