summaryrefslogtreecommitdiffstats
path: root/Source/cmWindowsConfigure.h
blob: 191ee1d703f804185076f73bd031dbe4479d9de3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/*=========================================================================

  Program:   Insight Segmentation & Registration Toolkit
  Module:    $RCSfile$
  Language:  C++
  Date:      $Date$
  Version:   $Revision$


  Copyright (c) 2000 National Library of Medicine
  All rights reserved.

  See COPYRIGHT.txt for copyright details.

=========================================================================*/
#ifndef cmWindowsConfigure_h
#define cmWindowsConfigure_h

#include "cmStandardIncludes.h"

/** \class cmWindowsConfigure
 * \brief Configure the build process on Windows systems.
 * 
 * cmWindowsConfigure configures the build process
 * on windows where the Unix autoconf configure can not be used.
 * The system specific .h files normally generated by autoconf
 * should be generated by sub-classes of this class.
 */
class cmWindowsConfigure
{
public:
  /**
   * Set the path to the top level of the source directory.
   */
  void SetWhereSource(const char* dir) 
    {
    m_WhereSource = dir;
    }

  /**
   * Set the path to the top level of the build directory.
   */
  void SetWhereBuild(const char* dir)
    {
      m_WhereBuild = dir;
    }

  /**
   * Perform the configure process.
   */
  virtual bool Configure(const char* input);

protected:
  std::string m_WhereSource;
  std::string m_WhereBuild;
};

#endif