mirror of
https://github.com/jezhiggins/arabica
synced 2025-01-17 18:12:04 +01:00
added option to build Arabica as a shared library
This commit is contained in:
parent
c5de6cacf8
commit
aac23dcda8
1 changed files with 6 additions and 1 deletions
|
@ -9,6 +9,11 @@ project(arabica)
|
|||
|
||||
set(LIBNAME arabica)
|
||||
|
||||
#
|
||||
# Build as shared library
|
||||
#
|
||||
option(BUILD_SHARED_LIBS "Build as shared libaries" OFF)
|
||||
|
||||
#
|
||||
# Enable/Disable example build
|
||||
#
|
||||
|
@ -383,7 +388,7 @@ set(SOURCE_FILES
|
|||
source_group("Source Files" FILES ${SOURCE_FILES})
|
||||
|
||||
|
||||
add_library (${LIBNAME} STATIC
|
||||
add_library (${LIBNAME}
|
||||
${GENERATED_HEADER_FILES}
|
||||
${PUBLIC_HEADER_FILES}
|
||||
${SOURCE_FILES}
|
||||
|
|
Loading…
Reference in a new issue