From ec3965cbc675c4546185caa847cb83191e1a3fcb Mon Sep 17 00:00:00 2001
From: Maximilien Siavelis <maximilien.siavelis@simulease.com>
Date: 周六, 06 1月 2018 19:54:45 +0800
Subject: [PATCH] refactor to fix MINGW consistency

---
 README.md |   37 +++++++++++++++++++++++++++++++------
 1 files changed, 31 insertions(+), 6 deletions(-)

diff --git a/README.md b/README.md
index 7d25a83..e27f0ba 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,4 @@
-Open License Manager
-===================
+# Open License Manager
 ![Build Status](https://travis-ci.org/open-license-manager/open-license-manager.png "Build Status")
 
 A lincense manager written in C/C++ for Windows and Linux environments.
@@ -10,7 +9,7 @@
 software closed ;-)
 
 The software is made by 2 main sub-components:
- * a C library with no external dependencies (the part you have to integrate in your software).
+ * a C library with no (or minimal) external dependencies (the part you have to integrate in your software).
  * a license generator written in C++ (allows you to generate a license).
  
 these modules are planned....
@@ -29,6 +28,32 @@
 
 Elsewhere on Internet
 =====================
- * Wiki :
- * Project home page :
- 
\ No newline at end of file
+ * Wiki main page:
+ * Install and build :
+ * Project web site :
+
+
+How to build
+============
+
+git clone https://github.com/open-license-manager/open-license-manager.git
+cd open-license-manager/
+mkdir build
+cd build
+ 
+# on Linux :
+
+cmake .. -DCMAKE_INSTALL_PREFIX=../install
+make
+make install
+
+# on Windows with MSVC
+
+cmake .. -G "Visual Studio 10 2010 Win64" -DCMAKE_INSTALL_PREFIX=../install
+cmake --build . --target install
+
+# cross compile with MINGW on Linux
+
+x86_64-w64-mingw32.static-cmake .. -DCMAKE_INSTALL_PREFIX=../install
+make
+make install

--
Gitblit v1.9.1