CMake/Source/cmWindowsConfigure.h

44 lines
1.0 KiB
C++

/*=========================================================================
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:
void SetWhereSource(const char* dir)
{
m_WhereSource = dir;
}
void SetWhereBuild(const char* dir)
{
m_WhereBuild = dir;
}
virtual void Configure() = 0;
protected:
std::string m_WhereSource;
std::string m_WhereBuild;
};
#endif