2.3. Building Connext Micro

This section is for users who are already familiar with CMake and may have built earlier versions of Connext Micro. The sections following describe the process in detail and are recommended for everyone building Connext Micro.

This section assumes that the Connext Micro source-bundle has been downloaded and installed and that CMake is available.

  1. Make sure CMake is in the path.

  2. Run rtime-make.

    On UNIX® systems:

    cd <rti_me install directory>
    # you should see directories like doc/ lib/ rtiddsgen/ src/
    # and CMakeLists.txt
    
    resource/scripts/rtime-make --target x64Linux4gcc7.3.0 \
                -G "Unix Makefiles" --build
    

    On Windows® systems:

    cd <rti_me install directory>
    # you should see directories like doc/ lib/ rtiddsgen/ src/
    # and CMakeLists.txt
    
    resource\scripts\rtime-make --target x64Win64VS2017 \
                -G "NMake Makefiles" --build
    

    Note

    Running the command above will build debug libraries. To build release libraries, add the following flag:

    --config Release
    
  3. You will find the Connext Micro libraries here:

    On UNIX-based systems:

    # <rti_me install directory>/lib/x64Linux4gcc7.3.0
    

    On Windows systems:

    # <rti_me install directory>\lib\x64Win64VS2017
    

Note

rtime-make uses the platform specified with --target to determine a few settings needed by Connext Micro. Please refer to Preparing for a Build for details.