mirror of
https://github.com/yquake2/ctf.git
synced 2024-11-10 06:31:34 +00:00
Add a warning that the CMakeLists.txt is unmaintained.
This commit is contained in:
parent
2e2e1945e8
commit
55b80715ac
1 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
||||||
cmake_minimum_required(VERSION 3.0)
|
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
|
# Enforce "Debug" as standard build type
|
||||||
if(NOT CMAKE_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)
|
set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "Choose the type of build, options are: Debug Release RelWithDebInfo MinSizeRel." FORCE)
|
||||||
|
|
Loading…
Reference in a new issue