anhero / JsonBox

This is a JSON C++ library. It can write and read JSON files with ease and speed.
MIT License
115 stars 60 forks source link

Allow building shared library #31

Closed mwoehlke-kitware closed 9 years ago

mwoehlke-kitware commented 9 years ago

Don't force library to be built static, but instead honor CMAKE_BUILD_SHARED. Update install locations to support building a shared library, and to honor LIB_SUFFIX.

mwoehlke-kitware commented 9 years ago

For now, this works on UNIX-like platforms. Windows needs #24 fixed in order for a shared library to be usable on those platforms.

madbranch commented 9 years ago

This pull request was included in another pull request.