From 0b17090231f0c5f7a74991f568d508563f2ef9c2 Mon Sep 17 00:00:00 2001 From: Marvin W Date: Fri, 3 Jan 2025 22:00:28 +0100 Subject: CMake: Mark as deprecated --- CMakeLists.txt | 1 + configure | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index fad4e2ff..847978df 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,6 +52,7 @@ list(SORT PLUGINS) string(REPLACE ";" ", " PLUGINS_TEXT "${PLUGINS}") message(STATUS "Configuring Dino ${PROJECT_VERSION} with plugins: ${PLUGINS_TEXT}") +message(WARNING "Using CMake, ./configure or make to build Dino is deprecated and will be removed before the 0.5 release. Use Meson instead.") # Prepare instal paths macro(set_path what val desc) diff --git a/configure b/configure index ab22d840..20e54e05 100755 --- a/configure +++ b/configure @@ -1,5 +1,10 @@ #!/bin/sh +echo "Warning in ./configure:" +echo " Using CMake, ./configure or make to build Dino is deprecated and will be" +echo " removed before the 0.5 release. Use Meson instead." +echo "" + OPTS=`getopt -o "h" --long \ help,fetch-only,no-debug,disable-fast-vapi,with-tests,release,with-libsoup3,\ enable-plugin:,disable-plugin:,\ @@ -235,7 +240,15 @@ cd .. cat << EOF > Makefile default: + @echo "Warning in Makefile:" + @echo " Using CMake, ./configure or make to build Dino is deprecated and will be" + @echo " removed before the 0.5 release. Use Meson instead." + @echo "" @sh -c "cd build; $exec_command" + @echo "" + @echo "Warning in Makefile:" + @echo " Using CMake, ./configure or make to build Dino is deprecated and will be" + @echo " removed before the 0.5 release. Use Meson instead." distclean: clean uninstall test: default @@ -245,3 +258,8 @@ test: default EOF echo "-- Configured. Type 'make' to build, 'make install' to install." + +echo "" +echo "Warning in ./configure:" +echo " Using CMake, ./configure or make to build Dino is deprecated and will be" +echo " removed before the 0.5 release. Use Meson instead." \ No newline at end of file -- cgit v1.3