- Install Bazelisk
cd
tocpp
folder- Run
bazelisk build //worldline
to builddll
on Windows,dylib
on macOS orso
on Linux. - You can also run
bazelisk build //worldline:main
to build a executable version, though curve expressions won't be available.
Notes:
- On Windows omits
//
in commands. - Recommends Visual Studio Code to leverage IntelliSense.
- If Bazel ever freezes on Windows, open up Task Manager and kill the Java process.
bazelisk clean
cleans up build cache.bazelisk clean --expunge
cleans up build cache and dependencies.