meson/c23 for no real reason

This commit is contained in:
2026-06-30 18:18:14 +02:00
parent ea05923bc7
commit 782b57cbb5
6 changed files with 69 additions and 82 deletions

View File

@@ -1,27 +0,0 @@
# wrapper around cmake, see CMakeLists.txt for compile options
.PHONY: configure build clean nuke install install_service
BUILD_DIR ?= build
build: configure
cmake --build ${BUILD_DIR} -j
configure:
cmake -S . -B ${BUILD_DIR}
clean:
cmake --build $(BUILD_DIR) --target clean
nuke: clean
rm -rf $(BUILD_DIR)
install: build
mkdir -p ${HOME}/.local/bin
install ${BUILD_DIR}/linuxSmartie ${HOME}/.local/bin
install_service: install
mkdir -p ~/.config/systemd/user
cp linuxSmartie.service ~/.config/systemd/user/linuxSmartie.service
systemctl --user daemon-reload
systemctl --user enable linuxSmartie
systemctl --user start linuxSmartie