Changeset 12060 for CMakeLists.txt


Ignore:
Timestamp:
Jun 19, 2013, 11:05:49 AM (11 years ago)
Author:
hock@…
Message:

Reintegrate branch: 20130111-hock-message_classes

improvements:

  • new message classes (reboost, zero-copy)
  • "fast path" for direct links (skip overlay layer)
  • link-properties accessible from the application
  • SystemQueue can call boost::bind functions
  • protlib compatibility removed (32bit overhead saved in every message)
  • addressing2
  • AddressDiscovery discoveres only addresses on which we're actually listening
  • ariba serialization usage reduced (sill used in OverlayMsg)
  • Node::connect, easier and cleaner interface to start-up ariba from the application
  • ariba configs via JSON, XML, etc (boost::property_tree)
  • keep-alive overhead greatly reduced
  • (relayed) overlay links can actually be closed now
  • lost messages are detected in most cases
  • notification to the application when link is transformed into direct-link
  • overlay routing: send message to second best hop if it would be dropped otherwise
  • SequenceNumbers (only mechanisms, so for: upward compatibility)
  • various small fixes


regressions:

  • bluetooth is not yet working again
  • bootstrap modules deactivated
  • liblog4xx is not working (use cout-logging)

This patch brings great performance and stability improvements at cost of backward compatibility.
Also bluetooth and the bootstrap modules have not been ported to the new interfaces, yet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMakeLists.txt

    r10752 r12060  
    4343set(ariba_VERSION_MAJOR 0)
    4444set(ariba_VERSION_MINOR 8)
    45 set(ariba_VERSION_PATCH 2)
     45set(ariba_VERSION_PATCH 99)
    4646set(ariba_VERSION ${ariba_VERSION_MAJOR}.${ariba_VERSION_MINOR}.${ariba_VERSION_PATCH})
    4747
     
    5151list(APPEND CMAKE_MODULE_PATH "${ariba_SOURCE_DIR}/CMakeModules")
    5252
    53 # Provide some choices for CMAKE_BUILD_TYPE
    54 set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS
    55     "" Release Debug RelWithDebInfo MinSizeRel)
     53
     54## Add build type: Profiling ##
     55SET( CMAKE_CXX_FLAGS_PROFILING "-O2 -g -pg" CACHE STRING
     56    "Flags used by the C++ compiler during profiling builds."
     57    FORCE )
     58SET( CMAKE_C_FLAGS_PROFILING "-O2 -g -pg" CACHE STRING
     59    "Flags used by the C compiler during profiling builds."
     60    FORCE )
     61SET( CMAKE_EXE_LINKER_FLAGS_PROFILING
     62    "" CACHE STRING
     63    "Flags used for linking binaries during profiling builds."
     64    FORCE )
     65SET( CMAKE_SHARED_LINKER_FLAGS_PROFILING
     66    "" CACHE STRING
     67    "Flags used by the shared libraries linker during profiling builds."
     68    FORCE )
     69MARK_AS_ADVANCED(
     70    CMAKE_CXX_FLAGS_PROFILING
     71    CMAKE_C_FLAGS_PROFILING
     72    CMAKE_EXE_LINKER_FLAGS_PROFILING
     73    CMAKE_SHARED_LINKER_FLAGS_PROFILING )
     74# Update the documentation string of CMAKE_BUILD_TYPE for GUIs
     75#SET( CMAKE_BUILD_TYPE "${CMAKE_BUILD_TYPE}" CACHE STRING
     76#    "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel Profiling."
     77#    FORCE )
     78## [Add build type: Profiling] ##
     79
     80## set default build type
     81IF(NOT CMAKE_BUILD_TYPE)
     82   SET(CMAKE_BUILD_TYPE Release
     83       CACHE STRING "Choose the type of build : None Debug Release RelWithDebInfo MinSizeRel Profiling."
     84       FORCE)
     85ENDIF(NOT CMAKE_BUILD_TYPE)
     86message("---> Current build type is: ${CMAKE_BUILD_TYPE}")
     87
     88
     89
     90
     91## Provide some choices for CMAKE_BUILD_TYPE
     92#set_property(CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS
     93#    "" Release Debug RelWithDebInfo MinSizeRel)
    5694
    5795# Explicitly add BUILD_SHARED_LIBS to the user interface and default to on
Note: See TracChangeset for help on using the changeset viewer.