3 ms·
> What is the CMake standard option for toggling between library types? -DBUILD_SHARED_LIBS=<ON,OFF> > What is the CMake standard option for toggling lto? -D
by slavik81 4y ago
> What is the CMake standard option for toggling between library types?
-DBUILD_SHARED_LIBS=<ON,OFF>
> What is the CMake standard option for toggling lto?
-DCMAKE_INTERPROCEDURAL_OPTIMIZATION=<ON,OFF>
> What is the CMake standard option for enabling sanitizers?
There isn't one, sadly. Though, you can set CXXFLAGS to configure whatever behaviour you want.