implemented Setup.hs to build boehm cpp libs and install them;
[hs-boehmgc.git] / gc-7.2 / doc / README.cmake
diff --git a/gc-7.2/doc/README.cmake b/gc-7.2/doc/README.cmake
new file mode 100644 (file)
index 0000000..3eb347c
--- /dev/null
@@ -0,0 +1,50 @@
+
+CMAKE
+-----
+
+Win32 binaries (both 32- and 64-bit) can be built using CMake.  CMake is an
+open-source tool like automake - it generates makefiles.
+
+Some preliminary work has been done to make this work on other platforms, but
+the support is not yet complete.
+
+CMake will generate:
+
+  Borland Makefiles
+  MSYS Makefiles
+  MinGW Makefiles
+  NMake Makefiles
+  Unix Makefiles
+  . Visual Studio project files
+    Visual Studio 6
+    Visual Studio 7
+    Visual Studio 7 .NET 2003
+    Visual Studio 8 2005
+    Visual Studio 8 2005 Win64
+    Visual Studio 9 2008
+    Visual Studio 9 2008 Win64
+  Watcom WMake
+
+
+BUILD PROCESS
+-------------
+
+ . install cmake (cmake.org)
+ . add directory containing cmake.exe to %PATH%
+ . run cmake from the gc root directory, passing the target with -G:
+   eg.
+      > cmake -G "Visual Studio 8 2005"
+   use the gc.sln file generated by cmake to build gc
+ . you can also run cmake from a build directory to build outside of
+   the source tree. Just specify the path to the source tree:
+   eg.
+      > mkdir build
+      > cd build
+      > cmake .. -G "Visual Studio 8 2005"
+
+
+INPUT
+-----
+
+The main input to cmake are the CMakeLists.txt files in each directory.  For
+help, goto cmake.org.