-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
42 lines (32 loc) · 1.37 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# mrosconf: MikroTik RouterOS(TM) Configuration Downloader
# Copyright (C) 2020 Niels Penneman
#
# This file is part of mrosconf.
#
# mrosconf is free software: you can redistribute it and/or modify it under the
# terms of the GNU Affero General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option) any
# later version.
#
# mrosconf is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
# details.
#
# You should have received a copy of the GNU Affero General Public License
# along with mrosconf. If not, see <https://www.gnu.org/licenses/>.
#
# Mikrotik and RouterOS are trademarks of Mikrotikls SIA.
cmake_minimum_required (VERSION 3.7.2 FATAL_ERROR)
project (mrosconf)
set (SRC_DIR "${PROJECT_SOURCE_DIR}/src")
install (PROGRAMS ${SRC_DIR}/mrosconf DESTINATION bin)
set (CPACK_GENERATOR "DEB")
set (CPACK_DEBIAN_PACKAGE_ARCHITECTURE "all")
set (CPACK_DEBIAN_PACKAGE_DEPENDS "bash (>= 5.0), openssh-client (>=1:7.9p1-10+deb10u2)")
set (CPACK_DEBIAN_PACKAGE_MAINTAINER "Niels Penneman")
set (CPACK_PACKAGE_VERSION_MAJOR 1)
set (CPACK_PACKAGE_VERSION_MINOR 0)
set (CPACK_PACKAGE_VERSION_PATCH 0)
set (CPACK_DEBIAN_PACKAGE_RELEASE 1)
include (CPack)