Here is my proposal to define a CMake target and pkg-config support. A disadvantage is a bit the name, since tqdm is already used for the executable, the target should be something else. I chose tqdm.cpp, but I think not all files can be named that way.
Anyway, one can now have a CMakeLists.txt as follows:
Here is my proposal to define a CMake target and pkg-config support. A disadvantage is a bit the name, since
tqdm
is already used for the executable, the target should be something else. I chosetqdm.cpp
, but I think not all files can be named that way.Anyway, one can now have a
CMakeLists.txt
as follows:Happy to discuss!
Fixes https://github.com/tqdm/tqdm.cpp/issues/55