diff --git a/CMakeLists.txt b/CMakeLists.txt index bc95744..4d8e645 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 3.15) project(nanosm LANGUAGES CXX + VERSION 0.1 ) list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake") diff --git a/README.md b/README.md index ab6b7a4..9f495a8 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,12 @@ A more robust solution that's still small and easy to setup (read: Not written i # Installation +Requirements: +- A C++20 compiler (GCC 13 known to work, whatever clang version probably works too) + ```bash +$ git clone --recursive https://git.crustywindo.ws/modeco80/nanosm +$ cd nanosm $ cmake -Wno-dev -GNinja -Bbuild -DCMAKE_INSTALL_PREFIX=/usr $ ninja -C build # ninja -C build install @@ -22,5 +27,5 @@ $ ninja -C build # Configuration -- Copy `/usr/share/doc/nanosm/nanosm.toml` to `~/.config/nanosm/` and edit it to your liking. +- Copy `/usr/share/doc/nanosm/nanosm.toml` to `~/.config/nanosm/` and edit it to your liking/setup. - Add `exec nanosm` to the end of your `.xinitrc`.