|
|
@@ -39,11 +39,10 @@ Target_Include_Directories ( libhelloworld-objects |
|
|
|
|
|
|
|
# Static Library ################################################################################## |
|
|
|
|
|
|
|
Message ( WARNING "Please configure the output name of the static library target!" ) |
|
|
|
Add_Library ( libhelloworld-static STATIC $<TARGET_OBJECTS:libhelloworld-objects> ) |
|
|
|
Set_Target_Properties ( libhelloworld-static |
|
|
|
PROPERTIES |
|
|
|
OUTPUT_NAME "helloworld" |
|
|
|
OUTPUT_NAME "${LIBHELLOWORLD_OUTPUTNAME}" |
|
|
|
VERSION ${LIBHELLOWORLD_VERSION} ) |
|
|
|
Target_Include_Directories ( libhelloworld-static |
|
|
|
PUBLIC |
|
|
@@ -52,11 +51,10 @@ Target_Include_Directories ( libhelloworld-static |
|
|
|
|
|
|
|
# Shared Library ################################################################################## |
|
|
|
|
|
|
|
Message ( WARNING "Please configure the output name of the shared library target!" ) |
|
|
|
Add_Library ( libhelloworld-shared SHARED $<TARGET_OBJECTS:libhelloworld-objects> ) |
|
|
|
Set_Target_Properties ( libhelloworld-shared |
|
|
|
PROPERTIES |
|
|
|
OUTPUT_NAME "helloworld" |
|
|
|
OUTPUT_NAME "${LIBHELLOWORLD_OUTPUTNAME}" |
|
|
|
VERSION ${LIBHELLOWORLD_VERSION} |
|
|
|
SOVERSION ${LIBHELLOWORLD_VERSION_SHORT} ) |
|
|
|
Target_Include_Directories ( libhelloworld-shared |
|
|
|