3 ms·
A while back I needed to write a small library in C++. It took me about the same amount of time to write few dozen lines of CMake (to get build working with al
by zigzag312 3y ago
A while back I needed to write a small library in C++.
It took me about the same amount of time to write few dozen lines of CMake (to get build working with all the external libraries), as it took me to write few thousands lines of C++.
I wasted way too much time dealing with CMake.
- FpUser 3y ago>"few dozen lines of CMake (to get build working with all the external libraries), as it took me to write few thousands lines of C++." I claim BS unless those "thousands lines" were cut'n paste.
- zigzag312 3y agoNo, but it was a rewrite of C# code. Using MSVC compiler, targeting Windows and Linux. C++20 with modules. External libraries: libsodium, lmdb, roaring & rocksdb. First time using CMake.