Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The reason for deprecating the usage of '..\lib\tgbot.lib' in C++ CMake to '..\lib' is because it is no longer necessary to specify the exact filename of the library in the CMake file. Instead, specifying the directory where the library is located is sufficient, and CMake will link the library automatically. This makes it easier to update the library version in the future, without having to change the CMake file. Additionally, it adds flexibility for different platforms or library builds, which may have different filenames or extensions.