diff options
author | Alex Neundorf <neundorf@kde.org> | 2011-07-10 20:05:32 +0200 |
---|---|---|
committer | Alex Neundorf <neundorf@kde.org> | 2011-07-10 20:05:32 +0200 |
commit | 7d9cb5b4bc17677936e6f8abe9c56700fabfa91c (patch) | |
tree | a42f1c44ab3546e5830796117a2cfa2e45fb52dc /attic | |
parent | bb427ab33a132ea3de1a4bf5d3240961d9d661d1 (diff) | |
download | extra-cmake-modules-7d9cb5b4bc17677936e6f8abe9c56700fabfa91c.tar.gz extra-cmake-modules-7d9cb5b4bc17677936e6f8abe9c56700fabfa91c.tar.bz2 |
Remove, cmake has a systeminfo itself (more complete etc.)
Alex
Diffstat (limited to 'attic')
-rw-r--r-- | attic/systeminfo/CMakeLists.txt | 45 | ||||
-rw-r--r-- | attic/systeminfo/README | 6 |
2 files changed, 0 insertions, 51 deletions
diff --git a/attic/systeminfo/CMakeLists.txt b/attic/systeminfo/CMakeLists.txt deleted file mode 100644 index 77339d79..00000000 --- a/attic/systeminfo/CMakeLists.txt +++ /dev/null @@ -1,45 +0,0 @@ -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/attic/systeminfo/README b/attic/systeminfo/README deleted file mode 100644 index ec080fa8..00000000 --- a/attic/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 - |