Mentions légales du service

Skip to content
  • Jussi Lindgren's avatar
    everything: · 4d008a50
    Jussi Lindgren authored
    - Background: Previously, almost identical type- and platform -defining header code has been copy-pasted all over the OpenViBE codebase. This is maintenance heavy, error prone if any changes are made, and an unnecessary cognitive load. This commit alleviates the issue by making the subprojects include two global headers instead of using their own definitions.
    + Added openvibe-common/, a header-only project for hosting definitions used by the different openvibe subprojects. Most important of these are the various basic numeric types.
    * Renamed all OV*_API macros to OV_API, set by ov_common_defines.h
    * Renamed all OV*_OS_* defines to TARGET_OS_*, set by CMake
    * Renamed all OV*_BUILDTYPE_* defines to TARGET_BUILDTYPE_*, set by CMake
    * Renamed all OV*_ARCHITECTURE_* defines to TARGET_ARCHITECTURE_*, set by CMake
    * Renamed all OV*_COMPILER_* defines to TARGET_COMPILER_*, set by CMake
    - Removed the pretty-much-duplicated type, target and API definitions from all subprojects. The projects now depend on the headers from openvibe-common/ instead.  
    - Subprojects no longer make static assert checks on the numeric types, reducing their dependencies to Boost. Compiling openvibe-common/ will perform these tests.
    
    
    git-svn-id: svn://scm.gforge.inria.fr/svn/openvibe@3578 c330d7e9-fc0c-0410-a5b3-fd85c6f5aa8f
    4d008a50