added Data, Foundation, Net and Util samples + some global cmake fixes

This commit is contained in:
Marian Krivos
2009-02-19 20:35:03 +00:00
parent d141423a56
commit 129f21cc79
9 changed files with 57 additions and 99 deletions

View File

@@ -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)