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
Stefano Sanfilippo 2f91c61296 Port to LLVM 14.
2023-01-04 19:24:51 +01:00

24 lines
618 B
CMake

# Copyright 2017 the Monicelli project authors. All rights reserved.
# Use of this source code is governed by a GPLv3 license, see LICENSE.txt.
cmake_minimum_required(VERSION 3.7)
project(Monicelli VERSION 2.1.0 LANGUAGES C CXX)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
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 -Wno-unused-parameter)
endif()
add_subdirectory(src)
install(FILES README.md LICENSE.txt DESTINATION doc/monicelli)