The RTI Connext DDS Micro source bundle includes a bash (Unix) and BAT (Windows) script to simplify the invocation of CMake. These scripts is a convenient way to invoke CMake with the correct options.
Unix:
RTIMEROOT/resource/script/rtime-make --type Debug --target self \
--name i86Linux2.6gcc4.4.5 -G "Unix Makefiles" --build
Windows:
C:RTIMEROOT\resource\scripts\rtime-make --config Debug --target self \
--name i86Win32VS2010 -G "Visual Studio 10 2013" --build
Explanation of arguments:
- - -config Debug : Create Debug build.
- - -target <target> : The target for the sources will be built. self indicates that the host machine is the target and RTI Connext DDS Micro will be built with the options that CMake automatically determines for the local compiler. Please refer to Cross Compiling RTI Connext DDS Micro for information for more information on specifying the target architecture to build for.
- - -name <name> : This is the name of the build and shall be a descriptive name following the recommendation on naming described in section Preparation for a Build. If - -name is not specified, the value for - -target will be used as name.
- - -build Build the generated project files.
On Unix:
- If gcc is part of the name GCC is assumed.
- If clang is part of the name clang is assumed.
On Windows:
- If Win32 if part of the name, a 32 bit Windows build is assumed.
- If Win64 if part of the name, a 64 bit Windows build is assumed.
To get a list of all the options:
rtime-make -h
To get a help for a specific target, use:
rtime-make --target <target> --help