mirror of
https://github.com/pocoproject/poco.git
synced 2025-11-24 06:04:15 +01:00
added Data, Foundation, Net and Util samples + some global cmake fixes
This commit is contained in:
@@ -10,14 +10,14 @@ set_target_properties( ${LIBNAME}
|
||||
PROPERTIES COMPILE_FLAGS ${DEBUG_CXX_FLAGS}
|
||||
VERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}
|
||||
SOVERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH})
|
||||
target_link_libraries( ${LIBNAME} ssl crypto)
|
||||
target_link_libraries( ${LIBNAME} PocoNetSSL PocoNet ssl crypto)
|
||||
|
||||
add_library( ${LIBNAMED} ${LIB_MODE} ${SRCS} )
|
||||
set_target_properties( ${LIBNAMED}
|
||||
PROPERTIES COMPILE_FLAGS "${RELEASE_CXX_FLAGS}"
|
||||
VERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}
|
||||
SOVERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH})
|
||||
target_link_libraries( ${LIBNAMED} ssl crypto)
|
||||
target_link_libraries( ${LIBNAMED} PocoNetSSLd PocoNetd ssl crypto)
|
||||
|
||||
install(
|
||||
DIRECTORY include/Poco
|
||||
@@ -28,3 +28,5 @@ install(
|
||||
TARGETS ${LIBNAME} ${LIBNAMED}
|
||||
DESTINATION lib
|
||||
)
|
||||
|
||||
add_subdirectory(samples)
|
||||
|
||||
Reference in New Issue
Block a user