summaryrefslogtreecommitdiffstats
path: root/Source/cmWindowsConfigure.h
blob: e0a74137e30487f0e3b1399e44e655ff4eefd961 (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
/*=========================================================================

  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.

=========================================================================*/
/**
 * cmWindowsConfigure : a class that configures the build
 * on windows where autoconf configure can not be used.
 * The system specific .h files normal generated by autoconf
 * should be generated by sub-classes of this class.
 */
#ifndef cmWindowsConfigure_h
#define cmWindowsConfigure_h
#include <string>

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;
    }
  virtual void Configure() = 0;
protected:
  std::string m_WhereSource;
  std::string m_WhereBuild;
};

#endif