How to build a dynamic library without editing CMakeLists.txt ?

You need an option when calling cmake, which forces you to do a shared obj

    1 answer 1

     cmake -DBUILD_SHARED_LIBS=ON CmakeLists.txt