The project is a rocketmq 4.x cpp client E2E test project built using CMake, and the following shows how to compile and configure it.
The project relies on the following libraries, make sure you have them installed:
If you already have these libraries installed, CMake will find them automatically. If they are not installed, you can install them by following the steps in the link below:
You can use the following command to help the project find the cmake configuration file to find the installation location of the library if they are installed in a custom directory.
list(APPEND CMAKE_MODULE_PATH "custom_directory")
To compile the project, follow these steps:
Make sure you have CMake and the required compiler (e.g. g++) installed.
Create a build directory under the project root, such as build.
Go to the build directory and run the following command:
cmake .. make
This will generate the executable file.