From 1eea07dfd1dbef7cc1935112fd8bb1b12f5847f5 Mon Sep 17 00:00:00 2001 From: Marco Hladik Date: Mon, 7 Jun 2021 08:45:47 +0200 Subject: [PATCH] Clarify build output --- README.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8d2d863..ffb6449 100644 --- a/README.md +++ b/README.md @@ -30,14 +30,21 @@ To compile on a standard GNU/Linux system: `LDFLAGS=-ldl make -j $(nproc)` On BSD you should probably use GNU make right now. The Makefiles are simple enough however. -Clang should also be supported, pass CC=clang and CXX=clang++ if you want to use it. +Clang should also be supported, pass `CC=clang and CXX=clang++` if you want to use it. On NT you'll probably have a build command-line likes this: `CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ PKG_CONFIG_PATH=/usr/x86_64-w64-mingw32/sys-root/mingw/lib/pkgconfig make -j 4` Not all works yet, but stay tuned. +It'll compile everything into a subdirectory 'build'. At the end it'll copy files from ./resources into it too. + +In the Nuclide SDK, build_engine.sh will call make with the appropriate flags for Linux/BSD automatically and +move it into Nuclide's ./bin directory. + ## Dependencies -* gcc-c++ +* GNU make +* gcc-core +* gcc-c++ (or clang++) * gtk2-devel * gtkglext-devel * libxml2-devel