update readme, v0.1 bump

This commit is contained in:
Lily Tsuru 2024-02-02 06:41:46 -05:00
parent 67a38d45e5
commit a00fd8247e
2 changed files with 7 additions and 1 deletions

View File

@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 3.15)
project(nanosm project(nanosm
LANGUAGES CXX LANGUAGES CXX
VERSION 0.1
) )
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake") list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")

View File

@ -14,7 +14,12 @@ A more robust solution that's still small and easy to setup (read: Not written i
# Installation # Installation
Requirements:
- A C++20 compiler (GCC 13 known to work, whatever clang version probably works too)
```bash ```bash
$ git clone --recursive https://git.crustywindo.ws/modeco80/nanosm
$ cd nanosm
$ cmake -Wno-dev -GNinja -Bbuild -DCMAKE_INSTALL_PREFIX=/usr $ cmake -Wno-dev -GNinja -Bbuild -DCMAKE_INSTALL_PREFIX=/usr
$ ninja -C build $ ninja -C build
# ninja -C build install # ninja -C build install
@ -22,5 +27,5 @@ $ ninja -C build
# Configuration # 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`. - Add `exec nanosm` to the end of your `.xinitrc`.