From 45eb9a809728219d43c456c4d16aa7872a5e0591 Mon Sep 17 00:00:00 2001 From: Ivailo Monev Date: Wed, 19 Feb 2020 15:35:54 +0000 Subject: [PATCH] cmake: remove unused systeminfo file Signed-off-by: Ivailo Monev --- cmake/systeminfo/CMakeLists.txt | 47 --------------------------------- cmake/systeminfo/README | 6 ----- 2 files changed, 53 deletions(-) delete mode 100644 cmake/systeminfo/CMakeLists.txt delete mode 100644 cmake/systeminfo/README diff --git a/cmake/systeminfo/CMakeLists.txt b/cmake/systeminfo/CMakeLists.txt deleted file mode 100644 index c2bb9579..00000000 --- a/cmake/systeminfo/CMakeLists.txt +++ /dev/null @@ -1,47 +0,0 @@ -cmake_minimum_required(VERSION 2.6) - -macro(LOG line) - message(STATUS ${line}) - file(APPEND ${CMAKE_CURRENT_BINARY_DIR}/SystemInfo.txt "${line}\n") -endmacro(LOG line) - -file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/SystemInfo.txt "CMake system information: \n") -message(STATUS "-----------------------------------") -message(STATUS "Printing system information: ") -message(STATUS "-----------------------------------") - -log("C compiler: ${CMAKE_C_COMPILER}") -log("CXX compiler: ${CMAKE_CXX_COMPILER}") -log("C compiler is gcc: ${CMAKE_COMPILER_IS_GNUCC}") -log("CXX compiler is g++: ${CMAKE_COMPILER_IS_GNUCXX}") -log("System: ${CMAKE_SYSTEM}") -log("System name: ${CMAKE_SYSTEM_NAME}") -log("System version: ${CMAKE_SYSTEM_VERSION}") - -if(UNIX) - log("This is some kind of UNIX environment") -endif(UNIX) - -if(WIN32) - log("This is Windows") -endif(WIN32) - -if(APPLE) - log("This is an Apple") -endif(APPLE) - -if(MINGW) - log("This is MinGW") -endif(MINGW) - -if(CYGWIN) - log("This is Cygwin") -endif(CYGWIN) - -if(BORLAND) - log("This is for a Borland compiler") -endif(BORLAND) - - -message(STATUS "-----------------------------------") - diff --git a/cmake/systeminfo/README b/cmake/systeminfo/README deleted file mode 100644 index ec080fa8..00000000 --- a/cmake/systeminfo/README +++ /dev/null @@ -1,6 +0,0 @@ -Run cmake on the CMakeLists.txt file in this directory and it will print out -the value of some cmake variables. These variables can be used in -CMakeLists.txt to determine the current system type. - -Alex -