From 0dc19894f43ae03a7e78dabfb3784695bd0216fd Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 19 Apr 2026 12:54:16 +0100 Subject: Switch the build system to CMake. --- make/test/compiler.cpp | 53 -------------------------------------------------- 1 file changed, 53 deletions(-) delete mode 100644 make/test/compiler.cpp (limited to 'make/test/compiler.cpp') diff --git a/make/test/compiler.cpp b/make/test/compiler.cpp deleted file mode 100644 index 0dd9b38b2..000000000 --- a/make/test/compiler.cpp +++ /dev/null @@ -1,53 +0,0 @@ -/* - * InspIRCd -- Internet Relay Chat Daemon - * - * Copyright (C) 2014, 2024 Sadie Powell - * - * This file is part of InspIRCd. InspIRCd is free software: you can - * redistribute it and/or modify it under the terms of the GNU General Public - * License as published by the Free Software Foundation, version 2. - * - * This program 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 General Public License for more - * details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ - - -#include - -#if defined __INTEL_CLANG_COMPILER // Also defines __clang__ -# define INSPIRCD_COMPILER_NAME "IntelClang" -# define INSPIRCD_COMPILER_VERSION (__INTEL_CLANG_COMPILER / 10000) << '.' << ((__INTEL_CLANG_COMPILER % 10000) / 100) -#elif defined __clang__ // Also defines __GNUC__ -# if defined __apple_build_version__ -# define INSPIRCD_COMPILER_NAME "AppleClang" -# else -# define INSPIRCD_COMPILER_NAME "Clang" -# if __clang_major__ < 9 -# define INSPIRCD_EXTRA_LDLIBS "-lc++fs" -# endif -# endif -# define INSPIRCD_COMPILER_VERSION __clang_major__ << '.' << __clang_minor__ -#elif defined __GNUC__ -# define INSPIRCD_COMPILER_NAME "GCC" -# define INSPIRCD_COMPILER_VERSION __GNUC__ << '.' << __GNUC_MINOR__ -# if __GNUC__ < 9 -# define INSPIRCD_EXTRA_LDLIBS "-lstdc++fs" -# endif -#endif - -#ifndef INSPIRCD_EXTRA_LDLIBS -# define INSPIRCD_EXTRA_LDLIBS "" -#endif - -int main() { - std::cout - << "NAME " << INSPIRCD_COMPILER_NAME << std::endl - << "VERSION " << INSPIRCD_COMPILER_VERSION << std::endl - << "EXTRA_LDLIBS " << INSPIRCD_EXTRA_LDLIBS << std::endl; - return 0; -} -- cgit v1.3.1-10-gc9f91