Building |me_h|
===============
.. highlight:: none
This section is for users who are already familiar with `CMake `_ and may have
built earlier versions of |me|. The sections following describe the process
in detail and are recommended for everyone building |me|.
This section assumes that the |me| source-bundle has been downloaded and installed and
that `CMake `_ is available.
1. Make sure `CMake `_ is installed and available.
2. Run rtime-make.
.. only:: not cert
On UNIX®, Linux®, and macOS® systems::
cd
# you should see directories such as rtiddsgen/ doc/ src/ include/
# and a file CMakeLists.txt
resource/scripts/rtime-make --target self --name i86Linux4gcc7.3.0 \
-G "Unix Makefiles" --build
On Windows® systems::
cd
# you should see directories such as rtiddsgen\ doc\ src\ include\
# and a file CMakeLists.txt
resource\scripts\rtime-make --target self --name i86Win32VS2015 \
-G "NMake Makefiles" --build
3. You will find the compiled |me| libraries here:
On UNIX-based systems: ::
# /lib/i86Linux4gcc7.3.0
On Windows systems: ::
# \lib\i86Win32VS2015
NOTE: ``rtime-make`` uses the platform specified with ``--name`` to determine
a few settings needed by |me|. Please refer to :ref:`prepare` for details.
For help, enter::
resource\scripts\rtime-make --help
To list available targets, enter::
resource\scripts\rtime-make --list
For help for a specific target, except self, enter::
resource\scripts\rtime-make --target --help
.. only:: cert
On UNIX®, Linux®, and macOS® systems::
cd
# you should see directories such as rti_me_cert.1.0/ doc/ cdr.1.0/
# and a file CMakeLists.txt
resource.1.0/scripts/rtime-make --target self --name i86Linux4gcc7.3.0 \
-G "Unix Makefiles" --build
On Windows® systems::
cd
# you should see directories such as rtiddsgen\ doc\ cdr.1.0\
# and a file CMakeLists.txt
resource.1.0\scripts\rtime-make --target self --name i86Win32VS2015 \
-G "NMake Makefiles" --build
3. You will find the |me| libraries here:
On UNIX-based systems: ::
# /rti_me_cert.1.0/lib/i86Linux4gcc7.3.0
On Windows systems: ::
# \rti_me_cert.1.0\lib\i86Win32VS2015
NOTE: ``rtime-make`` uses the platform specified with ``--name`` to determine
a few settings needed by |me|. Please refer to :ref:`prepare` for details.
For help, enter::
resource.1.0\scripts\rtime-make --help
To list available targets, enter::
resource.1.0\scripts\rtime-make --list
For help for a specific target, except self, enter::
resource.1.0\scripts\rtime-make --target --help