Compare commits
No commits in common. "a00fd8247e111941b622d41944da1bf9623368ff" and "29492db1edbff1521027773cc0df8c8e32f68b77" have entirely different histories.
a00fd8247e
...
29492db1ed
|
@ -2,7 +2,6 @@ cmake_minimum_required(VERSION 3.15)
|
|||
|
||||
project(nanosm
|
||||
LANGUAGES CXX
|
||||
VERSION 0.1
|
||||
)
|
||||
|
||||
list(APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
|
||||
|
@ -36,18 +35,4 @@ target_link_libraries(nanosm PRIVATE
|
|||
|
||||
nanosm_target(nanosm)
|
||||
|
||||
# cmake install stuff
|
||||
|
||||
include(GNUInstallDirs)
|
||||
|
||||
# doc files
|
||||
install(FILES
|
||||
${PROJECT_SOURCE_DIR}/LICENSE
|
||||
${PROJECT_SOURCE_DIR}/doc/nanosm.toml
|
||||
DESTINATION ${CMAKE_INSTALL_DOCDIR}
|
||||
)
|
||||
|
||||
install(TARGETS nanosm
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
|
||||
# todo: cmake install sex
|
||||
|
|
|
@ -14,12 +14,7 @@ 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
|
||||
|
@ -27,5 +22,5 @@ $ ninja -C build
|
|||
|
||||
# Configuration
|
||||
|
||||
- Copy `/usr/share/doc/nanosm/nanosm.toml` to `~/.config/nanosm/` and edit it to your liking/setup.
|
||||
- Copy `/usr/share/doc/nanosm/nanosm.toml` to `~/.config/nanosm/` and edit it to your liking.
|
||||
- Add `exec nanosm` to the end of your `.xinitrc`.
|
||||
|
|
Loading…
Reference in New Issue