From 9b6e48e142db9df495b9f69ac8ae9284d678f6b6 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Tue, 2 Jun 2015 11:00:25 -0400 Subject: [PATCH] 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 --- Building.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Building.md b/Building.md index 5d936e3754..ac2eb42e20 100644 --- a/Building.md +++ b/Building.md @@ -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: ```