Building a Project Using the SDK
Last updated
Last updated
The provided example applications can serve as a guide for creating a new project using the BMC C++ SDK. The examples are located in the examples
directory, and the instructions to build and execute them are similar to those related with .
Here is a step-by-step guide on how to build a project that uses the library:
Navigate to the directory containing the project that uses the BMC C++ SDK.
Ensure that the development environment is properly set up. To do this, follow the instructions in the section of our guide.
Create a CMakeLists.txt
file in the root directory of the project. An example of this file can be found .
Create a build
directory inside the project.
Navigate to the build
directory.
Configure CMake:
Linux/macOS
Windows 64
Windows 32
Build with CMake:
On Windows, verify that within the build
directory, there is a Release
(or Debug
) directory containing the project's executable. On Linux/macOS, look for the executable in the build
directory.
Below is an example of a CMakeLists.txt
file for building a sample application (i3c_cccs
) that uses the BMC C++ SDK as a dynamic library: