
By default, when you build using Makefile files, output is sent to directory specified in sourceDir.

Skipping Ema Doxygen Build: BUILD_EMA_DOXYGEN:OFF Skipping Ema Unit Tests Build: BUILD_EMA_UNIT_TESTS:OFF Skipping Eta Doxygen Build: BUILD_ETA_DOXYGEN:OFF Skipping Eta Unit Tests Build: BUILD_ETA_UNIT_TESTS:OFF Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/8/bin/Hostx86/圆4/cl.exe - works Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/8/bin/Hostx86/圆4/cl.exe Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/8/bin/Hostx86/圆4/cl.exe - works

Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/8/bin/Hostx86/圆4/cl.exe The CXX compiler identification is MSVC 8.1 The C compiler identification is MSVC 8.1 BVisualStudio2017 -G "Visual StuWin64" -DBUILD_EMA_UNIT_TESTS=OFF -DBUILD_ETA_APPLICATIONS=ON -DBUILD_UNIT_TESTS=OFF -DBUILD_ETA_UNIT_TESTS=OFF -DBUILD_ETA_APPLICATIONS=ON It will generate the projects under folder c:\dev\RTSDK\VisualStudio2017.Ĭ:\dev\RTSDK>cmake -H. The command line will skip the UnitTest and GoogleTest projects. Sample 1 Generate Visual Studio 2017 project files for building both ETA and EMA Examples and TestTools. Below is sample command line you can used to generate build files. You can also use the following sample of a command line to generate Visual Studio project files for specific use cases. You can control aspects of how CMake builds the RTSDK by using command line options (for further details on the use of options, refer to Section _CMake Build Configuration Options_) from the RTSDK Installation Guide (RTSDK_C_Installation_Guide.pdf).
CMAKE INSTALL LINK GENERATOR
You can find list of Visual Studio generator from CMake online manual.
CMAKE INSTALL LINK WINDOWS
Note that in this article, we install the RTSDK in folder "C:\dev\RTSDK", the path will be sourceDir in the next step.Ģ.) Open a command window: on the Windows menu, in Search programs and files, type cmd and press ENTER.ģ.) Issue command cmake -HsourceDir -BbuildDir -G “VisualStudioVersion” Then unpack RTSDK package to directory of your choice.
CMAKE INSTALL LINK HOW TO
This article also describes how to use CMake GUI with the RTSDK, the GUI would be a better tool for the user who doesn't prefer the command line.ġ.) You can download Refinitiv Real-time SDK C/C++ from developer portal. This article could be a quick starter guide to provides sample CMake command for the user so that they can use sample command to generate build files and it should save time to learn CMake.

The main objective of this article is to help new API users who do not have experience with CMake to start using RTSDK as quick as possible. You can refer to RTSDK C/C++ 1.2 Migration Guide (RTSDK_C_Migration_Guide.pdf) provided in the RTSDK package for additional details about the change inside the package including the details about CMake specific options for EMA and ETA that you can use to generate Visual Studio solution and build files. With the open-source version 1.2 RTSDK release, no make files and Visual Studio project provided in the package.

In versions prior to 1.2, the RTSDK APIs were built without a CMake harness (i.e., developers used the static build files with other utilities such as Visual Studio or Linux make to build the APIs). The developer has to use CMake to generate Linux Makefile and Visual Studio solution for both EMA and ETA projects. There are changes in a directory structure and it also changes the ways developer compiles and builds the tools and examples inside the RTSDK package. Refinitiv Real-time SDK (RTSDK) C++ version 1.2 and higher supports open sourcing and uses more standards-based, freely-available open source tools to provide additional flexibility and benefit.
