Add a warning that the CMakeLists.txt is unmaintained.

This commit is contained in:
Yamagi 2021-07-23 08:34:10 +02:00
parent 052066f355
commit c53bb15688

View file

@ -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)