statzone

DNS zone file analyzer targeted at TLD zones
Log | Files | Refs | README | LICENSE

commit 90ca92b4c841b3a16334e888eabb6c51fda4108d
parent 648f730f5d7d3f2cd24e4d88b785d9fa8c28d3e9
Author: Frederic Cambus <fred@statdns.com>
Date:   Thu,  3 Jan 2019 12:42:24 +0100

Add an initial CMakeLists.txt, we can now build the project.

Diffstat:
ACMakeLists.txt | 28++++++++++++++++++++++++++++
1 file changed, 28 insertions(+), 0 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt @@ -0,0 +1,28 @@ +# +# StatZone +# Copyright (c) 2012-2019, Frederic Cambus +# https://www.statdns.com +# +# Created: 2012-02-13 +# Last Updated: 2019-01-03 +# +# StatZone is released under the BSD 2-Clause license +# See LICENSE file for details. +# + +cmake_minimum_required (VERSION 2.6) + +project (statzone C) + +include(CheckFunctionExists) +include(GNUInstallDirs) + +# Additional include directories for compat functions +include_directories("compat") + +set(SRC src/statzone.c src/strtolower.c) + +add_definitions(-Wall -Wextra -std=c99 -pedantic) +add_executable(statzone ${SRC}) + +install(TARGETS statzone DESTINATION bin)