From 4c80d9afd48eb33f730e6621a3322631e28a2ca6 Mon Sep 17 00:00:00 2001 From: naq Date: Sun, 8 Sep 2019 16:47:38 +0800 Subject: [PATCH] cleanup --- docs/COMPILE-CMAKE.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/COMPILE-CMAKE.md b/docs/COMPILE-CMAKE.md index e167716c..60f7a13b 100644 --- a/docs/COMPILE-CMAKE.md +++ b/docs/COMPILE-CMAKE.md @@ -27,16 +27,16 @@ Get CMake for free from http://www.cmake.org. some examples on how to build Unicorn on Windows with CMake. - You can let CMake select a generator for you. Do: - + mkdir build cd build cmake .. - + This last command is also where you can pass additional CMake configuration flags using `-D=`. Then to build use: - + cmake --build . --config Release - + - To build Unicorn using Nmake of Windows SDK, do: @@ -48,7 +48,6 @@ Get CMake for free from http://www.cmake.org. in the same directory. - - To build Unicorn using Visual Studio, choose the generator accordingly to the version of Visual Studio on your machine. For example, with Visual Studio 2013, do: @@ -60,18 +59,19 @@ Get CMake for free from http://www.cmake.org. and build the solution including libraries & all test as usual. - [3] You can make sure the prior steps successfully worked by launching one of the sample binary (sample_*.exe). + [4] You can also enable just one specific architecture by passing the architecture name to either the cmake.sh or nmake.bat scripts. e.g.: - + ../cmake.sh x86 Will just target the x86 architecture. The list of available architectures is: X86 ARM AARCH64 M68K MIPS SPARC. - + + [5] You can also create an installation image with cmake, by using the 'install' target. Use: