From c53bb15688476fba9d0fc258fad161d1ecd44cc3 Mon Sep 17 00:00:00 2001 From: Yamagi Date: Fri, 23 Jul 2021 08:34:10 +0200 Subject: [PATCH] Add a warning that the CMakeLists.txt is unmaintained. --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index e2c8d62..e0c98d8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,5 +1,8 @@ cmake_minimum_required(VERSION 3.0) +# Print a message that using the Makefiles is recommended. +message(NOTICE: " The CMakeLists.txt is unmaintained. Use the Makefile if possible.") + # Enforce "Debug" as standard build type if(NOT CMAKE_BUILD_TYPE) set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel." FORCE)