diff --git a/docs/building.md b/docs/building.md index 6aafc521e..2715d79a5 100644 --- a/docs/building.md +++ b/docs/building.md @@ -91,12 +91,14 @@ Linux support is extremely experimental and presently incomplete. The build script uses LLVM/Clang 9. GCC while it should work in theory, is not easily interchangeable right now. -[CodeLite](https://codelite.org) is the supported IDE and `xb devenv` will generate a workspace and attempt to open it. Your distribution's version may be out of date so check their website. -Normal building via `xb build` uses Make. +* Normal building via `xb build` uses Make. +* [CodeLite](https://codelite.org) is supported. `xb devenv` will generate a workspace and attempt to open it. Your distribution's version may be out of date so check their website. +* Experimental CMake generation is available to facilitate use of other IDEs such as [CLion](https://www.jetbrains.com/clion/). `build/CMakeLists.txt` is generated by invoking `xb premake --devenv=cmake`. Clang-9 or newer should be available from system repositories on all up to date distributions. You will also need some development libraries. To get them on an Ubuntu system: -``` + +```bash sudo apt-get install libgtk-3-dev libpthread-stubs0-dev liblz4-dev libx11-dev libvulkan-dev libsdl2-dev libiberty-dev libunwind-dev libc++-dev libc++abi-dev ```