[Cmake] mixing shared and static libraries

Ian Scott ian.m.scott at stud.man.ac.uk
Tue Feb 19 16:06:47 EST 2002


Is it possible to build shared libraries in some directories and static
libraries in others?

I have set BUILD_SHARED_LIBS to no in my root cmakelists.txt file. Then
setting it to YES in one of the subdirectories does not appear to have an
effect.

Also, can we specify different build settings for a single file in a
directory?

Thanks,
Ian.




More information about the CMake mailing list