From e00167d3b90b109cf96259d74049c184249f15dc Mon Sep 17 00:00:00 2001 From: Vladislav Nepogodin Date: Fri, 28 Jan 2022 03:19:24 +0400 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=20=20update=20fmtlib?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + CMakeLists.txt | 2 +- configure.sh | 98 +++++++++++++++++++++++++++++++++++++++++ subprojects/fmt.wrap | 2 +- toolbox.sh | 102 ------------------------------------------- 5 files changed, 101 insertions(+), 104 deletions(-) create mode 100755 configure.sh delete mode 100755 toolbox.sh diff --git a/.gitignore b/.gitignore index bcf582b..0955ed1 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ *.ctu-info .cache .idea +build.sh build cmake-build-release cmake-build-debug diff --git a/CMakeLists.txt b/CMakeLists.txt index 9c80a1c..86ac167 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -41,7 +41,7 @@ FetchContent_Declare(ftxui ) FetchContent_Declare(fmt GIT_REPOSITORY "https://github.com/fmtlib/fmt.git" - GIT_TAG "c06bef7273e594bfa91739e29d339fba51fd4e0e" + GIT_TAG "a7aecbfcaa0e1586da9cf8175bd8d1c4383acd8c" ) FetchContent_MakeAvailable(fmt) FetchContent_Declare(spdlog diff --git a/configure.sh b/configure.sh new file mode 100755 index 0000000..21a7d93 --- /dev/null +++ b/configure.sh @@ -0,0 +1,98 @@ +#!/bin/bash +# Copyright (C) 2022 Vladislav Nepogodin +# +# This file is part of CachyOS CLI. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +set -e + +cd "`dirname "$0"`" + +if [[ $1 == "--help" ]]; then +cat< build.sh <