summaryrefslogtreecommitdiffstats
path: root/Source/cmWindowsConfigure.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2000-08-29 19:26:29 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2000-08-29 19:26:29 (GMT)
commit1f42f521cea8b953f4ad7ef5ca0d4c6d49c42a88 (patch)
treea7b88a2e4397167c0d6c72c9cf0fcf8f91dcd024 /Source/cmWindowsConfigure.h
parentd6bdba1096f36268e414f32829e22159e983031a (diff)
downloadCMake-1f42f521cea8b953f4ad7ef5ca0d4c6d49c42a88.zip
CMake-1f42f521cea8b953f4ad7ef5ca0d4c6d49c42a88.tar.gz
CMake-1f42f521cea8b953f4ad7ef5ca0d4c6d49c42a88.tar.bz2
NEW: move from tools and config to create CMake
Diffstat (limited to 'Source/cmWindowsConfigure.h')
-rw-r--r--Source/cmWindowsConfigure.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/Source/cmWindowsConfigure.h b/Source/cmWindowsConfigure.h
new file mode 100644
index 0000000..662e07d
--- /dev/null
+++ b/Source/cmWindowsConfigure.h
@@ -0,0 +1,43 @@
+/*=========================================================================
+
+ 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