Build a tarball with "make package".

This commit is contained in:
Stefano Sanfilippo 2019-06-25 10:44:10 +02:00
parent e48cb899f4
commit 7a72294426

View File

@ -2,10 +2,14 @@
# Use of this source code is governed by a GPLv3 license, see LICENSE.txt. # Use of this source code is governed by a GPLv3 license, see LICENSE.txt.
cmake_minimum_required(VERSION 3.7) cmake_minimum_required(VERSION 3.7)
project(Monicelli CXX) project(Monicelli VERSION 2.0.0 LANGUAGES CXX)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake") list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
set(CPACK_GENERATOR TGZ)
set(CPACK_PACKAGE_VERSION ${PROJECT_VERSION})
include(CPack)
include(Doxycelli) include(Doxycelli)
add_subdirectory(src) add_subdirectory(src)