Changeset 236 in pacpusframework for trunk/cmake/PacpusConfiguration.cmake


Ignore:
Timestamp:
Nov 28, 2013, 5:07:16 PM (11 years ago)
Author:
Marek Kurdej
Message:

Experimental: using global logger object instead of trivial logger. Added: stub for colored log output on Linux.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cmake/PacpusConfiguration.cmake

    r187 r236  
    1919# Global configuration
    2020# ========================================
    21 set(PACPUS_USE_LOG      TRUE  CACHE BOOL "Logging using log4cxx, the library is required")
     21set(PACPUS_USE_LOG      TRUE  CACHE BOOL "Logging using Boost.Log, the library is required")
     22set(PACPUS_LOG_COLORED_OUTPUT FALSE CACHE BOOL "Logging in color.")
    2223set(PACPUS_INSTALL_3RD  FALSE CACHE BOOL "Installation of the 3rd party")
    2324set(PACPUS_BUILD_DOC    FALSE CACHE BOOL "Whether build the documentation - requires Doxygen")
     
    3233    endif()
    3334endif(PACPUS_USE_SOLUTION_FOLDERS)
     35
     36if(PACPUS_LOG_COLORED_OUTPUT)
     37    list(APPEND PACPUS_DEFINITIONS " -DPACPUS_LOG_COLORED_OUTPUT=1 ")
     38endif()
Note: See TracChangeset for help on using the changeset viewer.