From 4ca9b1793db8a736a039fc097fc97f4cc3c92e48 Mon Sep 17 00:00:00 2001 From: Maximilien Siavelis <maximilien.siavelis@simulease.com> Date: 周六, 13 1月 2018 01:38:57 +0800 Subject: [PATCH] avoid free on deallocated pointer --- README.md | 38 +++++++++++++++++++++++++++++++++++--- 1 files changed, 35 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 242c5ea..96bdaba 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ # Open License Manager - -<img style="float: right; position: absolute;" src="https://travis-ci.org/open-license-manager/open-license-manager.png" /> + A lincense manager written in C/C++ for Windows and Linux environments. @@ -32,4 +31,37 @@ * Wiki main page: * Install and build : * Project web site : - \ No newline at end of file + + +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 2010) + +``` +cmake .. -G "Visual Studio 10 2010 Win64" -DCMAKE_INSTALL_PREFIX=../install +cmake --build . --target install --config Release +``` + +## cross compile with MINGW on Linux + +``` +x86_64-w64-mingw32.static-cmake .. -DCMAKE_INSTALL_PREFIX=../install +make +make install +``` -- Gitblit v1.9.1