How do I compile C ++ REST SDK to static library on Ubuntu Linux?

I want to compile the C ++ REST SDK ( https://casablanca.codeplex.com/ ) into a static library on Ubuntu. Has anyone done this? How to do it? Their documentation shows how to create a dynamic library for Ubuntu, but not statically.

Thank!

+3


source to share


1 answer


To create a static library, follow the same instructions as for creating a shared library, but add "-DBUILD_SHARED_LIBS=0"

cmake to your config line.



+3


source







All Articles