Add MSYS Makefile option for cmake to Building.md as well as a note about the warning that's generated. Fixes artf3748

Change-Id: I67371a7a98d998b221731f9a8da8139057c6aa96
This commit is contained in:
Kevin O'Connor
2015-06-02 11:00:25 -04:00
parent 1e4e0bacde
commit 9b6e48e142

View File

@@ -10,11 +10,13 @@ C++ requires cmake if not run from maven, and is much faster.
Make a new directory and then run:
```
mkdir build && cd build
cmake .. -DCMAKE_TOOLCHAIN_FILE=../arm-toolchain.cmake
cmake .. -DCMAKE_TOOLCHAIN_FILE=../arm-toolchain.cmake -G "MSYS Makefiles"
make # multicore add -j(num of cpu cores + 1), so -j3 on dual core for faster compile
make install DESTDIR=/some/dir/you/want/to/put/all/headers/and/libs #optional
``
Note that you will receive a warning about libstdc++, but the build should complete successfully
Alternatively, if you like IDEs, you can import it directly into QtDeveloper, or a number of other IDEs such as Code::Blocks or Eclipse. See CMake documentation for details.
Eclipse demo:
```