aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastiano Tronto <sebastiano@tronto.net>2025-08-13 15:07:10 +0100
committerSebastiano Tronto <sebastiano@tronto.net>2025-08-13 15:07:10 +0100
commit1562c2e8ef10e25973317c790c2779e9d595e5f1 (patch)
tree934fc78bfc9c76d630b586955b60aed00872371d
parent58deba64173679253e72495451853a668baf2452 (diff)
parentd637559e9a4c1d416c88109d66b76c3465dbf4c1 (diff)
downloadnissy-core-1562c2e8ef10e25973317c790c2779e9d595e5f1.tar.gz
nissy-core-1562c2e8ef10e25973317c790c2779e9d595e5f1.zip
Merge branch 'master' of tronto.net:nissy-core
-rw-r--r--README.md12
-rwxr-xr-xbuild.sh37
2 files changed, 29 insertions, 20 deletions
diff --git a/README.md b/README.md
index a3c9347..3455ccd 100644
--- a/README.md
+++ b/README.md
@@ -39,8 +39,16 @@ is going to configure `nissy` to use at most 3 threads, and build it with
39 39
40### Windows 40### Windows
41 41
42It is possible to build this project on Windows using `build.bat`. This script 42It is possible to build this project on Windows using `build.bat`. The
43is going to build: 43[Clang](https://clang.llvm.org/) compiler must be installed, and the
44command prompt must be correctly configured to run it.
45
46We suggest installing Clang via the Visual Studio Istaller, selecting
47the "C++ development" pack, as well as the "clang" and "Windows SDK 11"
48components. It is advised to use "x64 Native Tools Command Prompt for
49VS 2022" instead of a regular command prompt to run the build script.
50
51The `build.bat` script is going to build:
44 52
45* The core nissy library 53* The core nissy library
46* The shell `run.exe` (see below) 54* The shell `run.exe` (see below)
diff --git a/build.sh b/build.sh
index cad6947..7cd38e3 100755
--- a/build.sh
+++ b/build.sh
@@ -170,26 +170,27 @@ fi
170build_help() { 170build_help() {
171 echo "Build system for nissy. Usage:" 171 echo "Build system for nissy. Usage:"
172 echo "" 172 echo ""
173 echo "$0 [-d] TARGET # build the given TARGET" 173 echo "$0 [-d] [TARGET]"
174 echo "$0 [-d] # same as '$0 nissy [-d]'"
175 echo "$0 test [PATTERN] # run unit tests (matching PATTERN)"
176 echo "$0 webtest [PATTERN] # same as test, but for WASM build"
177 echo "$0 [-d] tool PATTERN # run the tool matching PATTERN"
178 echo "" 174 echo ""
179 echo "targets:" 175 echo "Possible values for TARGET (defaults to 'nissy' if unspecified):"
180 echo "" 176 echo ""
181 echo "nissy Build the nissy.o object file" 177 echo "nissy Build the nissy.o object file."
182 echo "lib Build the static library libnissy.a" 178 echo "lib Build the static library libnissy.a."
183 echo "sharedlib Build the shared library libnissy.so" 179 echo "sharedlib Build the shared library libnissy.so."
184 echo "python Build the Python module for nissy" 180 echo "python Build the Python module for nissy."
185 echo "shell Build a basic nissy shell (./run)" 181 echo "shell Build a basic nissy shell (./run)."
186 echo "web Build the WebAssembly / JavaScript module for nissy" 182 echo "web Build the WebAssembly module for nissy."
187 echo "cpp FILES Build and run the given FILES including cpp/nissy.h" 183 echo "cpp FILES Build and run the given C++ FILES."
188 echo "solvetest Build nissy and run the tests for solvers (tools)" 184 echo "test [EXPR] Build and run unit tests. If EXPR is provided,"
189 echo "" 185 echo " only the tests whose name matches EXPR are run."
190 echo "help Show this help message" 186 echo " The -d option is always implied."
191 echo "config Show build configuration and exit" 187 echo "webtest [EXPR] Same as test, but for WebAssembly build."
192 echo "clean Remove all build files" 188 echo "tool EXPR Run the 'tool' matching the given EXPR."
189 echo "solvetest Build nissy and run a collection of tools for"
190 echo " testing various solvers."
191 echo "help Show this help message."
192 echo "config Show build configuration and exit."
193 echo "clean Remove all build files."
193 echo "" 194 echo ""
194 echo "The -d option activates debug mode (slower, used for testing)." 195 echo "The -d option activates debug mode (slower, used for testing)."
195 echo "Tests are automatically built in debug mode even without -d." 196 echo "Tests are automatically built in debug mode even without -d."

Generated with cgit - Back to sebastiano.tronto.net