cleanup
This commit is contained in:
parent
1f98a0dfea
commit
4c80d9afd4
|
@ -27,16 +27,16 @@ Get CMake for free from http://www.cmake.org.
|
||||||
some examples on how to build Unicorn on Windows with CMake.
|
some examples on how to build Unicorn on Windows with CMake.
|
||||||
|
|
||||||
- You can let CMake select a generator for you. Do:
|
- You can let CMake select a generator for you. Do:
|
||||||
|
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake ..
|
cmake ..
|
||||||
|
|
||||||
This last command is also where you can pass additional CMake configuration flags
|
This last command is also where you can pass additional CMake configuration flags
|
||||||
using `-D<key>=<value>`. Then to build use:
|
using `-D<key>=<value>`. Then to build use:
|
||||||
|
|
||||||
cmake --build . --config Release
|
cmake --build . --config Release
|
||||||
|
|
||||||
|
|
||||||
- To build Unicorn using Nmake of Windows SDK, do:
|
- 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.
|
in the same directory.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
- To build Unicorn using Visual Studio, choose the generator accordingly to the
|
- 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:
|
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.
|
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
|
[3] You can make sure the prior steps successfully worked by launching one of the
|
||||||
sample binary (sample_*.exe).
|
sample binary (sample_*.exe).
|
||||||
|
|
||||||
|
|
||||||
[4] You can also enable just one specific architecture by passing the architecture name
|
[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.:
|
to either the cmake.sh or nmake.bat scripts. e.g.:
|
||||||
|
|
||||||
../cmake.sh x86
|
../cmake.sh x86
|
||||||
|
|
||||||
Will just target the x86 architecture. The list of available architectures is:
|
Will just target the x86 architecture. The list of available architectures is:
|
||||||
X86 ARM AARCH64 M68K MIPS SPARC.
|
X86 ARM AARCH64 M68K MIPS SPARC.
|
||||||
|
|
||||||
|
|
||||||
[5] You can also create an installation image with cmake, by using the 'install' target.
|
[5] You can also create an installation image with cmake, by using the 'install' target.
|
||||||
Use:
|
Use:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue