This repository has been archived on 2024-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
pacciani/CMakeLists.txt

24 lines
594 B
CMake
Raw Normal View History

2017-10-12 22:36:56 +02:00
# Copyright 2017 the Monicelli project authors. All rights reserved.
# Use of this source code is governed by a GPLv3 license, see LICENSE.txt.
2014-11-29 00:47:50 +01:00
cmake_minimum_required(VERSION 3.7)
2019-06-25 10:44:10 +02:00
project(Monicelli VERSION 2.0.0 LANGUAGES CXX)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
2015-03-08 13:27:39 +01:00
2019-06-25 10:44:10 +02:00
set(CPACK_GENERATOR TGZ)
set(CPACK_PACKAGE_VERSION ${PROJECT_VERSION})
include(CPack)
include(Doxycelli)
if (MSVC)
add_compile_options(/W4 /WX)
else()
add_compile_options(-Wall -Wextra -pedantic -Werror)
endif()
add_subdirectory(src)
2017-10-12 22:36:56 +02:00
install(FILES README.md LICENSE.txt DESTINATION doc/monicelli)