2000-08-29 23:26:29 +04:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
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:
|
2000-09-12 13:30:35 +04:00
|
|
|
/**
|
|
|
|
* Set the path to the top level of the source directory
|
|
|
|
*/
|
2000-08-29 23:26:29 +04:00
|
|
|
void SetWhereSource(const char* dir)
|
|
|
|
{
|
|
|
|
m_WhereSource = dir;
|
|
|
|
}
|
2000-09-12 13:30:35 +04:00
|
|
|
/**
|
|
|
|
* Set the path to the top level of the build directory
|
|
|
|
*/
|
2000-08-29 23:26:29 +04:00
|
|
|
void SetWhereBuild(const char* dir)
|
|
|
|
{
|
|
|
|
m_WhereBuild = dir;
|
|
|
|
}
|
2000-09-18 17:19:38 +04:00
|
|
|
virtual bool Configure(const char* input);
|
2000-08-29 23:26:29 +04:00
|
|
|
protected:
|
|
|
|
std::string m_WhereSource;
|
|
|
|
std::string m_WhereBuild;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|