mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-19 09:53:08 +02:00
use CMake project settings (#3315)
This adds a description as well as the homepage to the CMake settings. Further it would also now use the numbering cheme as supposed to in CMake, this way other people could now pin a specific version if taskwarrior is included in another project. Documentation from CMake is https://cmake.org/cmake/help/latest/command/project.html
This commit is contained in:
parent
dfaf3dfcb2
commit
8c2c629a4d
1 changed files with 6 additions and 3 deletions
|
@ -1,4 +1,10 @@
|
|||
cmake_minimum_required (VERSION 3.22)
|
||||
|
||||
project (task
|
||||
VERSION 3.0.0
|
||||
DESCRIPTION "Taskwarrior - a command-line TODO list manager"
|
||||
HOMEPAGE_URL https://taskwarrior.org/)
|
||||
|
||||
set (CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")
|
||||
|
||||
include (FetchContent)
|
||||
|
@ -7,11 +13,8 @@ include (CheckStructHasMember)
|
|||
|
||||
set (HAVE_CMAKE true)
|
||||
|
||||
project (task)
|
||||
include (CXXSniffer)
|
||||
|
||||
set (PROJECT_VERSION "3.0.0")
|
||||
|
||||
OPTION (ENABLE_WASM "Enable 'wasm' support" OFF)
|
||||
|
||||
if (ENABLE_WASM)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue