aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorKristofer Jonsson <kristofer.jonsson@arm.com>2021-11-16 16:26:41 +0100
committerKristofer Jonsson <kristofer.jonsson@arm.com>2021-11-17 15:07:46 +0100
commit8948704d4a74a2989bd0284d8c030d1af96c8281 (patch)
tree6aa118ce041035733414603b6e11940567e61374 /README.md
parentf61ea359bb733bedeaa8fefd81775708081de803 (diff)
downloadethos-u-core-platform-8948704d4a74a2989bd0284d8c030d1af96c8281.tar.gz
Add support for Ninja
Add support for Ninja buider under both Linux and Windows. Updating generate_binaries.py to produce dependencies file. Removing files by wild card does not work with Ninja under Windows. Change-Id: I486463603de7413e09edcd959c329253867f4564
Diffstat (limited to 'README.md')
-rw-r--r--README.md22
1 files changed, 17 insertions, 5 deletions
diff --git a/README.md b/README.md
index e8281b3..278f54d 100644
--- a/README.md
+++ b/README.md
@@ -21,9 +21,9 @@ downloaded from the Ecosystem page at
## Building
-Building core platform requires a recent version of CMake to be installed
-together with a compiler capable of cross compiling for Arm Cortex-M. There are
-sample toolchain files provided for Arm Clang and Arm GCC.
+Building core platform requires a recent version of CMake, Python 3 and a C/C++
+cross comiler for Arm Cortex-M. There are sample toolchain files provided for
+Arm Clang and Arm GCC.
To run the helper scripts Python 3 is required with the packages listed in
`requirements.txt`.
@@ -47,8 +47,20 @@ $ cmake -B build targets/corstone-300 -DCMAKE_TOOLCHAIN_FILE=$PWD/cmake/toolchai
$ cmake --build build
```
-Please see [README_WINDOWS.md](README_WINDOWS.md) for additional information
-regarding building on a Windows system.
+## Building on Windows
+
+Building on a Windows host requires no special tools or shells, and can for
+example be done from a CMD prompt, Git Bash or from the CMake GUI. Only
+requirment is the build tools have been added to the path variable.
+
+CMake supports a long list of generators, for example Ninja, NMake or Makefiles.
+For Windows Ninja has been verified to work well, but any of the supported
+generators should be possible to use.
+
+```
+CMD> cmake -G Ninja -B build targets/corstone-300 -DCMAKE_TOOLCHAIN_FILE=%CD%\cmake\toolchain\arm-none-eabi-gcc.cmake
+CMD> cmake --build build
+```
## run_platform.py