OSDN Git Service

binding with libharu.
[putex/putex.git] / src / texsourc / lib / libhpdf / cmake / modules / summary.cmake
1 # cmake/modules/summary.cmake
2 #
3 # Copyright (C) 2008  Werner Smekal
4 #
5 # Macro for outputting all the most important CMake variables for haru
6
7 # =======================================================================
8 # print summary of configuration to screen
9 # =======================================================================
10
11 macro(summary)
12 set(_output_results "
13 Summary of CMake build system results for the haru library
14
15 Install location variables which can be set by the user:
16 CMAKE_INSTALL_PREFIX:      ${CMAKE_INSTALL_PREFIX}
17 CMAKE_INSTALL_EXEC_PREFIX  ${CMAKE_INSTALL_EXEC_PREFIX}
18 CMAKE_INSTALL_BINDIR       ${CMAKE_INSTALL_BINDIR}
19 CMAKE_INSTALL_LIBDIR       ${CMAKE_INSTALL_LIBDIR}
20 CMAKE_INSTALL_INCLUDEDIR   ${CMAKE_INSTALL_INCLUDEDIR}
21
22 Other important CMake variables:
23
24 CMAKE_SYSTEM_NAME:      ${CMAKE_SYSTEM_NAME}
25 UNIX:                   ${UNIX}
26 WIN32:                  ${WIN32}
27 APPLE:                  ${APPLE}
28 MSVC:                   ${MSVC} (MSVC_VERSION:  ${MSVC_VERSION})
29 MINGW:                  ${MINGW}
30 MSYS:                   ${MSYS}
31 CYGWIN:                 ${CYGWIN}
32 BORLAND:                ${BORLAND}
33 WATCOM:           ${WATCOM}
34
35 CMAKE_BUILD_TYPE:       ${CMAKE_BUILD_TYPE}
36 CMAKE_C_COMPILER CMAKE_C_FLAGS:                 ${CMAKE_C_COMPILER} ${CMAKE_C_FLAGS}
37
38 Library options:
39 LIBHARU_SHARED:         ${LIBHARU_SHARED}
40 LIBHARU_STATIC:         ${LIBHARU_STATIC}
41 LIBHARU_EXAMPLES:       ${LIBHARU_EXAMPLES}
42 DEVPAK:                 ${DEVPAK}
43
44 Optional libraries:
45 HAVE_LIBZ:              ${HAVE_LIBZ}
46 HAVE_LIBPNG:            ${HAVE_LIBPNG}
47 ")
48 message("${_output_results}")
49 endmacro(summary)