Static library support improvements (#123)
authorpast-due <30942300+past-due@users.noreply.github.com>
Mon, 30 Apr 2018 01:37:12 +0000 (21:37 -0400)
committerSteven G. Johnson <stevenj@mit.edu>
Mon, 30 Apr 2018 01:37:12 +0000 (21:37 -0400)
commit48949bd3ebd66bb94a40f4c3fcfb26dd4bf2be2b
treea134cb98c137196dac5fc013d244a844cae75e3a
parentfe3f6bda1108655f1dc9356f151a1fec76517efa
Static library support improvements (#123)

* `#define UTF8PROC_STATIC` to disable DLLEXPORT

`#define UTF8PROC_STATIC` to disable DLLEXPORT

* [CMake] Automatically define UTF8PROC_STATIC if BUILD_SHARED_LIBS is off

* [Makefile] Support additional UTF8PROC_DEFINES, which can be used to specify flags like `-DUTF8PROC_STATIC`
CMakeLists.txt
Makefile
utf8proc.h