Setting Up RCPPSW

Developer Setup

  1. RCPPSW uses LIBRA so go to ln-libra-req and install any needed packages.

  2. Setup RCPPSW’s dependencies (packages is fine, unless you’ll be modifying the dependencies too):

    • RCSW user setup

  3. Clone RCPPSW and init LIBRA:

    git clone git@github.com:jharwell/rcppsw.git
    cd rcppsw
    git submodule update --init --remote --recursive
    
  4. Build RCPPSW. From the root of the repo:

    mkdir build && cd build
    cmake <ARGS> ..
    make
    

    <ARGS> is a list of cmake arguments.

    Important

    RCPPSW and LIBRA output VERY thorough summaries of their build configuration, so check them to make sure you are building what you think you are.

    You can pass any option as part of <ARGS> that LIBRA supports (see ln-libra-capabilities). RCPPSW supports the following additional options:

    Argument

    Possible Values

    Meaning

    RCPPSW_AL_MT_SAFE_TYPES

    YES/NO

    Sets rcppsw::al::mt* to use std::atomic types if enabled. Otherwise, uses non-atomic versions. Default=YES.