Changeset 236 in pacpusframework for trunk/cmake


Ignore:
Timestamp:
11/28/13 17:07:16 (11 years ago)
Author:
Marek Kurdej
Message:

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

Location:
trunk/cmake
Files:
3 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()
  • trunk/cmake/PacpusDependencies.cmake

    r234 r236  
    1010################################################################################
    1111# OUTPUT
    12 set(PACPUS_DEFINITIONS "")
    1312set(PACPUS_DEPENDENCIES_INC "")
    1413set(PACPUS_DEPENDENCIES_LIB "")
     
    120119            log
    121120            log_setup
     121            system
    122122    )
    123123    include_directories(${Boost_INCLUDE_DIRS})
  • trunk/cmake/PacpusUtilities.cmake

    r235 r236  
    345345        TARGETS ${ARGV}
    346346        RUNTIME DESTINATION ${PACPUS_INSTALL_DIR}/bin
    347         LIBRARY DESTINATION ${PACPUS_INSTALL_DIR}/lib
     347        LIBRARY DESTINATION ${PACPUS_INSTALL_DIR}/bin
    348348        ARCHIVE DESTINATION ${PACPUS_INSTALL_DIR}/lib
    349349    )
Note: See TracChangeset for help on using the changeset viewer.