mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-01 09:24:55 +02:00
line ending fixes
This commit is contained in:
parent
51dd9234f2
commit
c867a80520
@ -1,33 +1,33 @@
|
|||||||
set(LIBNAME "PocoCrypto")
|
set(LIBNAME "PocoCrypto")
|
||||||
set(LIBNAME "${LIBNAME}${LIB_EXT}")
|
set(LIBNAME "${LIBNAME}${LIB_EXT}")
|
||||||
|
|
||||||
aux_source_directory(src SRCS)
|
aux_source_directory(src SRCS)
|
||||||
add_definitions(-D_USRDLL -DCrypto_EXPORTS)
|
add_definitions(-D_USRDLL -DCrypto_EXPORTS)
|
||||||
include_directories( include)
|
include_directories( include)
|
||||||
|
|
||||||
add_library( ${LIBNAME} ${LIB_MODE} ${SRCS} )
|
add_library( ${LIBNAME} ${LIB_MODE} ${SRCS} )
|
||||||
set_target_properties( ${LIBNAME} PROPERTIES VERSION ${SHARED_LIBRARY_VERSION} SOVERSION ${SHARED_LIBRARY_VERSION} )
|
set_target_properties( ${LIBNAME} PROPERTIES VERSION ${SHARED_LIBRARY_VERSION} SOVERSION ${SHARED_LIBRARY_VERSION} )
|
||||||
|
|
||||||
#if(CMAKE_SYSTEM MATCHES "Windows")
|
#if(CMAKE_SYSTEM MATCHES "Windows")
|
||||||
# target_link_libraries( ${LIBNAME} PocoFoundation${LIB_EXT} ${LIB_EAY_RELEASE} ${OPENSSL_LIBRARIES} )
|
# target_link_libraries( ${LIBNAME} PocoFoundation${LIB_EXT} ${LIB_EAY_RELEASE} ${OPENSSL_LIBRARIES} )
|
||||||
#ELSE()
|
#ELSE()
|
||||||
# target_link_libraries( ${LIBNAME} PocoFoundation${LIB_EXT} ${OPENSSL_SSL_LIBRARY} ${OPENSSL_CRYPTO_LIBRARY} )
|
# target_link_libraries( ${LIBNAME} PocoFoundation${LIB_EXT} ${OPENSSL_SSL_LIBRARY} ${OPENSSL_CRYPTO_LIBRARY} )
|
||||||
#ENDIF()
|
#ENDIF()
|
||||||
|
|
||||||
target_link_libraries( ${LIBNAME} PocoFoundation${LIB_EXT} ${OPENSSL_LIBRARIES} )
|
target_link_libraries( ${LIBNAME} PocoFoundation${LIB_EXT} ${OPENSSL_LIBRARIES} )
|
||||||
|
|
||||||
install(
|
install(
|
||||||
DIRECTORY include/Poco
|
DIRECTORY include/Poco
|
||||||
DESTINATION include
|
DESTINATION include
|
||||||
PATTERN ".svn" EXCLUDE
|
PATTERN ".svn" EXCLUDE
|
||||||
)
|
)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS ${LIBNAME}
|
TARGETS ${LIBNAME}
|
||||||
DESTINATION lib
|
DESTINATION lib
|
||||||
)
|
)
|
||||||
|
|
||||||
if (ENABLE_TESTS)
|
if (ENABLE_TESTS)
|
||||||
add_subdirectory(samples)
|
add_subdirectory(samples)
|
||||||
add_subdirectory(testsuite)
|
add_subdirectory(testsuite)
|
||||||
endif ()
|
endif ()
|
||||||
|
@ -1,222 +1,222 @@
|
|||||||
set(LIBNAME "PocoFoundation")
|
set(LIBNAME "PocoFoundation")
|
||||||
if (CMAKE_BUILD_TYPE MATCHES Debug)
|
if (CMAKE_BUILD_TYPE MATCHES Debug)
|
||||||
set(LIBNAME "${LIBNAME}d")
|
set(LIBNAME "${LIBNAME}d")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
||||||
set( BASE_SRCS
|
set( BASE_SRCS
|
||||||
src/ASCIIEncoding.cpp
|
src/ASCIIEncoding.cpp
|
||||||
src/Ascii.cpp
|
src/Ascii.cpp
|
||||||
src/AtomicCounter.cpp
|
src/AtomicCounter.cpp
|
||||||
src/AbstractObserver.cpp
|
src/AbstractObserver.cpp
|
||||||
src/ActiveDispatcher.cpp
|
src/ActiveDispatcher.cpp
|
||||||
src/ArchiveStrategy.cpp
|
src/ArchiveStrategy.cpp
|
||||||
src/AsyncChannel.cpp
|
src/AsyncChannel.cpp
|
||||||
src/Base64Decoder.cpp
|
src/Base64Decoder.cpp
|
||||||
src/Base64Encoder.cpp
|
src/Base64Encoder.cpp
|
||||||
src/BinaryReader.cpp
|
src/BinaryReader.cpp
|
||||||
src/BinaryWriter.cpp
|
src/BinaryWriter.cpp
|
||||||
src/Bugcheck.cpp
|
src/Bugcheck.cpp
|
||||||
src/ByteOrder.cpp
|
src/ByteOrder.cpp
|
||||||
src/Channel.cpp
|
src/Channel.cpp
|
||||||
src/Checksum.cpp
|
src/Checksum.cpp
|
||||||
src/Condition.cpp
|
src/Condition.cpp
|
||||||
src/Configurable.cpp
|
src/Configurable.cpp
|
||||||
src/ConsoleChannel.cpp
|
src/ConsoleChannel.cpp
|
||||||
src/CountingStream.cpp
|
src/CountingStream.cpp
|
||||||
src/DateTime.cpp
|
src/DateTime.cpp
|
||||||
src/DateTimeFormat.cpp
|
src/DateTimeFormat.cpp
|
||||||
src/DateTimeFormatter.cpp
|
src/DateTimeFormatter.cpp
|
||||||
src/DateTimeParser.cpp
|
src/DateTimeParser.cpp
|
||||||
src/Debugger.cpp
|
src/Debugger.cpp
|
||||||
src/DeflatingStream.cpp
|
src/DeflatingStream.cpp
|
||||||
src/DigestEngine.cpp
|
src/DigestEngine.cpp
|
||||||
src/DigestStream.cpp
|
src/DigestStream.cpp
|
||||||
src/DirectoryIterator.cpp
|
src/DirectoryIterator.cpp
|
||||||
src/Environment.cpp
|
src/Environment.cpp
|
||||||
src/ErrorHandler.cpp
|
src/ErrorHandler.cpp
|
||||||
src/Event.cpp
|
src/Event.cpp
|
||||||
src/EventArgs.cpp
|
src/EventArgs.cpp
|
||||||
src/Exception.cpp
|
src/Exception.cpp
|
||||||
src/FPEnvironment.cpp
|
src/FPEnvironment.cpp
|
||||||
src/File.cpp
|
src/File.cpp
|
||||||
src/FIFOBufferStream.cpp
|
src/FIFOBufferStream.cpp
|
||||||
src/FileChannel.cpp
|
src/FileChannel.cpp
|
||||||
src/FileStream.cpp
|
src/FileStream.cpp
|
||||||
src/FileStreamFactory.cpp
|
src/FileStreamFactory.cpp
|
||||||
src/Format.cpp
|
src/Format.cpp
|
||||||
src/Formatter.cpp
|
src/Formatter.cpp
|
||||||
src/FormattingChannel.cpp
|
src/FormattingChannel.cpp
|
||||||
src/Glob.cpp
|
src/Glob.cpp
|
||||||
src/Hash.cpp
|
src/Hash.cpp
|
||||||
src/HashStatistic.cpp
|
src/HashStatistic.cpp
|
||||||
src/HexBinaryDecoder.cpp
|
src/HexBinaryDecoder.cpp
|
||||||
src/HexBinaryEncoder.cpp
|
src/HexBinaryEncoder.cpp
|
||||||
src/InflatingStream.cpp
|
src/InflatingStream.cpp
|
||||||
src/Latin1Encoding.cpp
|
src/Latin1Encoding.cpp
|
||||||
src/Latin2Encoding.cpp
|
src/Latin2Encoding.cpp
|
||||||
src/Latin9Encoding.cpp
|
src/Latin9Encoding.cpp
|
||||||
src/LineEndingConverter.cpp
|
src/LineEndingConverter.cpp
|
||||||
src/LocalDateTime.cpp
|
src/LocalDateTime.cpp
|
||||||
src/LogFile.cpp
|
src/LogFile.cpp
|
||||||
src/LogStream.cpp
|
src/LogStream.cpp
|
||||||
src/Logger.cpp
|
src/Logger.cpp
|
||||||
src/LoggingFactory.cpp
|
src/LoggingFactory.cpp
|
||||||
src/LoggingRegistry.cpp
|
src/LoggingRegistry.cpp
|
||||||
src/MD4Engine.cpp
|
src/MD4Engine.cpp
|
||||||
src/MD5Engine.cpp
|
src/MD5Engine.cpp
|
||||||
src/Manifest.cpp
|
src/Manifest.cpp
|
||||||
src/MemoryPool.cpp
|
src/MemoryPool.cpp
|
||||||
src/MemoryStream.cpp
|
src/MemoryStream.cpp
|
||||||
src/Message.cpp
|
src/Message.cpp
|
||||||
src/Mutex.cpp
|
src/Mutex.cpp
|
||||||
src/NamedEvent.cpp
|
src/NamedEvent.cpp
|
||||||
src/NamedMutex.cpp
|
src/NamedMutex.cpp
|
||||||
src/NestedDiagnosticContext.cpp
|
src/NestedDiagnosticContext.cpp
|
||||||
src/Notification.cpp
|
src/Notification.cpp
|
||||||
src/NotificationCenter.cpp
|
src/NotificationCenter.cpp
|
||||||
src/NotificationQueue.cpp
|
src/NotificationQueue.cpp
|
||||||
src/TimedNotificationQueue.cpp
|
src/TimedNotificationQueue.cpp
|
||||||
src/PriorityNotificationQueue.cpp
|
src/PriorityNotificationQueue.cpp
|
||||||
src/NullChannel.cpp
|
src/NullChannel.cpp
|
||||||
src/NullStream.cpp
|
src/NullStream.cpp
|
||||||
src/NumberFormatter.cpp
|
src/NumberFormatter.cpp
|
||||||
src/NumberParser.cpp
|
src/NumberParser.cpp
|
||||||
# src/OpcomChannel.cpp
|
# src/OpcomChannel.cpp
|
||||||
src/Path.cpp
|
src/Path.cpp
|
||||||
src/PatternFormatter.cpp
|
src/PatternFormatter.cpp
|
||||||
src/Pipe.cpp
|
src/Pipe.cpp
|
||||||
src/PipeImpl.cpp
|
src/PipeImpl.cpp
|
||||||
src/PipeStream.cpp
|
src/PipeStream.cpp
|
||||||
src/Process.cpp
|
src/Process.cpp
|
||||||
src/PurgeStrategy.cpp
|
src/PurgeStrategy.cpp
|
||||||
src/RWLock.cpp
|
src/RWLock.cpp
|
||||||
src/Random.cpp
|
src/Random.cpp
|
||||||
src/RandomStream.cpp
|
src/RandomStream.cpp
|
||||||
src/RefCountedObject.cpp
|
src/RefCountedObject.cpp
|
||||||
src/RegularExpression.cpp
|
src/RegularExpression.cpp
|
||||||
src/RotateStrategy.cpp
|
src/RotateStrategy.cpp
|
||||||
src/Runnable.cpp
|
src/Runnable.cpp
|
||||||
src/SHA1Engine.cpp
|
src/SHA1Engine.cpp
|
||||||
src/Semaphore.cpp
|
src/Semaphore.cpp
|
||||||
src/SharedLibrary.cpp
|
src/SharedLibrary.cpp
|
||||||
src/SharedMemory.cpp
|
src/SharedMemory.cpp
|
||||||
src/SignalHandler.cpp
|
src/SignalHandler.cpp
|
||||||
src/SimpleFileChannel.cpp
|
src/SimpleFileChannel.cpp
|
||||||
src/SplitterChannel.cpp
|
src/SplitterChannel.cpp
|
||||||
src/Stopwatch.cpp
|
src/Stopwatch.cpp
|
||||||
src/StreamChannel.cpp
|
src/StreamChannel.cpp
|
||||||
src/StreamConverter.cpp
|
src/StreamConverter.cpp
|
||||||
src/StreamCopier.cpp
|
src/StreamCopier.cpp
|
||||||
src/StreamTokenizer.cpp
|
src/StreamTokenizer.cpp
|
||||||
src/String.cpp
|
src/String.cpp
|
||||||
src/StringTokenizer.cpp
|
src/StringTokenizer.cpp
|
||||||
src/SynchronizedObject.cpp
|
src/SynchronizedObject.cpp
|
||||||
src/Task.cpp
|
src/Task.cpp
|
||||||
src/TaskManager.cpp
|
src/TaskManager.cpp
|
||||||
src/TaskNotification.cpp
|
src/TaskNotification.cpp
|
||||||
src/TeeStream.cpp
|
src/TeeStream.cpp
|
||||||
src/TemporaryFile.cpp
|
src/TemporaryFile.cpp
|
||||||
src/TextConverter.cpp
|
src/TextConverter.cpp
|
||||||
src/TextEncoding.cpp
|
src/TextEncoding.cpp
|
||||||
src/TextIterator.cpp
|
src/TextIterator.cpp
|
||||||
src/TextBufferIterator.cpp
|
src/TextBufferIterator.cpp
|
||||||
src/Thread.cpp
|
src/Thread.cpp
|
||||||
src/ThreadTarget.cpp
|
src/ThreadTarget.cpp
|
||||||
src/ThreadLocal.cpp
|
src/ThreadLocal.cpp
|
||||||
src/ThreadPool.cpp
|
src/ThreadPool.cpp
|
||||||
src/Timer.cpp
|
src/Timer.cpp
|
||||||
src/Timespan.cpp
|
src/Timespan.cpp
|
||||||
src/Timestamp.cpp
|
src/Timestamp.cpp
|
||||||
src/Timezone.cpp
|
src/Timezone.cpp
|
||||||
src/Token.cpp
|
src/Token.cpp
|
||||||
src/URI.cpp
|
src/URI.cpp
|
||||||
src/URIStreamFactory.cpp
|
src/URIStreamFactory.cpp
|
||||||
src/URIStreamOpener.cpp
|
src/URIStreamOpener.cpp
|
||||||
src/UTF16Encoding.cpp
|
src/UTF16Encoding.cpp
|
||||||
src/UTF32Encoding.cpp
|
src/UTF32Encoding.cpp
|
||||||
src/UTF8Encoding.cpp
|
src/UTF8Encoding.cpp
|
||||||
src/UTF8String.cpp
|
src/UTF8String.cpp
|
||||||
src/UUID.cpp
|
src/UUID.cpp
|
||||||
src/UUIDGenerator.cpp
|
src/UUIDGenerator.cpp
|
||||||
src/Unicode.cpp
|
src/Unicode.cpp
|
||||||
src/UnicodeConverter.cpp
|
src/UnicodeConverter.cpp
|
||||||
src/Var.cpp
|
src/Var.cpp
|
||||||
src/VarHolder.cpp
|
src/VarHolder.cpp
|
||||||
src/Void.cpp
|
src/Void.cpp
|
||||||
src/Windows1250Encoding.cpp
|
src/Windows1250Encoding.cpp
|
||||||
src/Windows1251Encoding.cpp
|
src/Windows1251Encoding.cpp
|
||||||
src/Windows1252Encoding.cpp
|
src/Windows1252Encoding.cpp
|
||||||
src/adler32.c
|
src/adler32.c
|
||||||
src/compress.c
|
src/compress.c
|
||||||
src/crc32.c
|
src/crc32.c
|
||||||
src/deflate.c
|
src/deflate.c
|
||||||
src/gzclose.c
|
src/gzclose.c
|
||||||
src/gzlib.c
|
src/gzlib.c
|
||||||
src/gzread.c
|
src/gzread.c
|
||||||
src/gzwrite.c
|
src/gzwrite.c
|
||||||
src/uncompr.c
|
src/uncompr.c
|
||||||
src/infback.c
|
src/infback.c
|
||||||
src/inffast.c
|
src/inffast.c
|
||||||
src/inflate.c
|
src/inflate.c
|
||||||
src/inftrees.c
|
src/inftrees.c
|
||||||
src/pcre_chartables.c
|
src/pcre_chartables.c
|
||||||
src/pcre_compile.c
|
src/pcre_compile.c
|
||||||
src/pcre_exec.c
|
src/pcre_exec.c
|
||||||
src/pcre_fullinfo.c
|
src/pcre_fullinfo.c
|
||||||
src/pcre_globals.c
|
src/pcre_globals.c
|
||||||
src/pcre_maketables.c
|
src/pcre_maketables.c
|
||||||
src/pcre_newline.c
|
src/pcre_newline.c
|
||||||
src/pcre_ord2utf8.c
|
src/pcre_ord2utf8.c
|
||||||
src/pcre_study.c
|
src/pcre_study.c
|
||||||
src/pcre_tables.c
|
src/pcre_tables.c
|
||||||
src/pcre_try_flipped.c
|
src/pcre_try_flipped.c
|
||||||
src/pcre_ucd.c
|
src/pcre_ucd.c
|
||||||
src/pcre_valid_utf8.c
|
src/pcre_valid_utf8.c
|
||||||
src/pcre_xclass.c
|
src/pcre_xclass.c
|
||||||
src/pocomsg.mc
|
src/pocomsg.mc
|
||||||
src/trees.c
|
src/trees.c
|
||||||
src/zutil.c
|
src/zutil.c
|
||||||
)
|
)
|
||||||
|
|
||||||
set(WIN_SRCS
|
set(WIN_SRCS
|
||||||
src/EventLogChannel.cpp
|
src/EventLogChannel.cpp
|
||||||
src/WindowsConsoleChannel.cpp
|
src/WindowsConsoleChannel.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
set(LIN_SRCS
|
set(LIN_SRCS
|
||||||
src/SyslogChannel.cpp
|
src/SyslogChannel.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
if(CMAKE_SYSTEM MATCHES "Windows")
|
if(CMAKE_SYSTEM MATCHES "Windows")
|
||||||
set(SRCS ${BASE_SRCS} ${WIN_SRCS})
|
set(SRCS ${BASE_SRCS} ${WIN_SRCS})
|
||||||
add_definitions( -DPCRE_STATIC -DFoundation_EXPORTS)
|
add_definitions( -DPCRE_STATIC -DFoundation_EXPORTS)
|
||||||
set(SYSLIBS ${SYSLIBS} iphlpapi)
|
set(SYSLIBS ${SYSLIBS} iphlpapi)
|
||||||
else (CMAKE_SYSTEM MATCHES "Windows")
|
else (CMAKE_SYSTEM MATCHES "Windows")
|
||||||
set(SRCS ${BASE_SRCS} ${LIN_SRCS})
|
set(SRCS ${BASE_SRCS} ${LIN_SRCS})
|
||||||
add_definitions( -DPCRE_STATIC)
|
add_definitions( -DPCRE_STATIC)
|
||||||
endif(CMAKE_SYSTEM MATCHES "Windows")
|
endif(CMAKE_SYSTEM MATCHES "Windows")
|
||||||
|
|
||||||
add_library( ${LIBNAME} ${LIB_MODE} ${SRCS} )
|
add_library( ${LIBNAME} ${LIB_MODE} ${SRCS} )
|
||||||
set_target_properties( ${LIBNAME} PROPERTIES VERSION ${SHARED_LIBRARY_VERSION} SOVERSION ${SHARED_LIBRARY_VERSION} )
|
set_target_properties( ${LIBNAME} PROPERTIES VERSION ${SHARED_LIBRARY_VERSION} SOVERSION ${SHARED_LIBRARY_VERSION} )
|
||||||
if (${CMAKE_CXX_COMPILER_ID} MATCHES "SunPro")
|
if (${CMAKE_CXX_COMPILER_ID} MATCHES "SunPro")
|
||||||
set_target_properties( ${LIBNAME} PROPERTIES LINK_FLAGS "-library=stlport4")
|
set_target_properties( ${LIBNAME} PROPERTIES LINK_FLAGS "-library=stlport4")
|
||||||
endif (${CMAKE_CXX_COMPILER_ID} MATCHES "SunPro")
|
endif (${CMAKE_CXX_COMPILER_ID} MATCHES "SunPro")
|
||||||
target_link_libraries( ${LIBNAME} ${SYSLIBS})
|
target_link_libraries( ${LIBNAME} ${SYSLIBS})
|
||||||
|
|
||||||
install(
|
install(
|
||||||
DIRECTORY include/Poco
|
DIRECTORY include/Poco
|
||||||
DESTINATION include
|
DESTINATION include
|
||||||
PATTERN ".svn" EXCLUDE
|
PATTERN ".svn" EXCLUDE
|
||||||
)
|
)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS ${LIBNAME}
|
TARGETS ${LIBNAME}
|
||||||
DESTINATION lib
|
DESTINATION lib
|
||||||
)
|
)
|
||||||
|
|
||||||
if (ENABLE_TESTS)
|
if (ENABLE_TESTS)
|
||||||
add_subdirectory( samples )
|
add_subdirectory( samples )
|
||||||
add_subdirectory( testsuite )
|
add_subdirectory( testsuite )
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
@ -1,31 +1,31 @@
|
|||||||
set(LIBNAME "PocoJSON")
|
set(LIBNAME "PocoJSON")
|
||||||
set(LIBNAME "${LIBNAME}${LIB_EXT}")
|
set(LIBNAME "${LIBNAME}${LIB_EXT}")
|
||||||
|
|
||||||
aux_source_directory(src SRCS)
|
aux_source_directory(src SRCS)
|
||||||
|
|
||||||
if (NOT POCO_STATIC)
|
if (NOT POCO_STATIC)
|
||||||
add_definitions(-DJSON_EXPORTS)
|
add_definitions(-DJSON_EXPORTS)
|
||||||
endif (NOT POCO_STATIC)
|
endif (NOT POCO_STATIC)
|
||||||
|
|
||||||
add_library( ${LIBNAME} ${LIB_MODE} ${SRCS} )
|
add_library( ${LIBNAME} ${LIB_MODE} ${SRCS} )
|
||||||
set_target_properties( ${LIBNAME}
|
set_target_properties( ${LIBNAME}
|
||||||
PROPERTIES
|
PROPERTIES
|
||||||
VERSION ${SHARED_LIBRARY_VERSION} SOVERSION ${SHARED_LIBRARY_VERSION} )
|
VERSION ${SHARED_LIBRARY_VERSION} SOVERSION ${SHARED_LIBRARY_VERSION} )
|
||||||
target_link_libraries( ${LIBNAME} PocoFoundation${LIB_EXT})
|
target_link_libraries( ${LIBNAME} PocoFoundation${LIB_EXT})
|
||||||
|
|
||||||
install(
|
install(
|
||||||
DIRECTORY include/Poco
|
DIRECTORY include/Poco
|
||||||
DESTINATION include
|
DESTINATION include
|
||||||
PATTERN ".svn" EXCLUDE
|
PATTERN ".svn" EXCLUDE
|
||||||
)
|
)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS ${LIBNAME}
|
TARGETS ${LIBNAME}
|
||||||
DESTINATION lib
|
DESTINATION lib
|
||||||
)
|
)
|
||||||
|
|
||||||
if (ENABLE_TESTS)
|
if (ENABLE_TESTS)
|
||||||
add_subdirectory(samples)
|
add_subdirectory(samples)
|
||||||
add_subdirectory(testsuite)
|
add_subdirectory(testsuite)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
@ -1,32 +1,32 @@
|
|||||||
set(LIBNAME "PocoNetSSL")
|
set(LIBNAME "PocoNetSSL")
|
||||||
set(LIBNAME "${LIBNAME}${LIB_EXT}")
|
set(LIBNAME "${LIBNAME}${LIB_EXT}")
|
||||||
|
|
||||||
aux_source_directory(src SRCS)
|
aux_source_directory(src SRCS)
|
||||||
include_directories( ${OPENSSL_INCLUDE_DIR} )
|
include_directories( ${OPENSSL_INCLUDE_DIR} )
|
||||||
|
|
||||||
if (NOT POCO_STATIC)
|
if (NOT POCO_STATIC)
|
||||||
add_definitions(-DNetSSL_EXPORTS)
|
add_definitions(-DNetSSL_EXPORTS)
|
||||||
endif (NOT POCO_STATIC)
|
endif (NOT POCO_STATIC)
|
||||||
|
|
||||||
add_library( ${LIBNAME} ${LIB_MODE} ${SRCS} )
|
add_library( ${LIBNAME} ${LIB_MODE} ${SRCS} )
|
||||||
set_target_properties( ${LIBNAME}
|
set_target_properties( ${LIBNAME}
|
||||||
PROPERTIES
|
PROPERTIES
|
||||||
VERSION ${SHARED_LIBRARY_VERSION} SOVERSION ${SHARED_LIBRARY_VERSION} )
|
VERSION ${SHARED_LIBRARY_VERSION} SOVERSION ${SHARED_LIBRARY_VERSION} )
|
||||||
target_link_libraries( ${LIBNAME} PocoCrypto${LIB_EXT} PocoNet${LIB_EXT} PocoUtil${LIB_EXT} PocoFoundation${LIB_EXT} ${OPENSSL_SSL_LIBRARY} ${OPENSSL_CRYPTO_LIBRARY} )
|
target_link_libraries( ${LIBNAME} PocoCrypto${LIB_EXT} PocoNet${LIB_EXT} PocoUtil${LIB_EXT} PocoFoundation${LIB_EXT} ${OPENSSL_SSL_LIBRARY} ${OPENSSL_CRYPTO_LIBRARY} )
|
||||||
|
|
||||||
install(
|
install(
|
||||||
DIRECTORY include/Poco
|
DIRECTORY include/Poco
|
||||||
DESTINATION include
|
DESTINATION include
|
||||||
PATTERN ".svn" EXCLUDE
|
PATTERN ".svn" EXCLUDE
|
||||||
)
|
)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS ${LIBNAME}
|
TARGETS ${LIBNAME}
|
||||||
DESTINATION lib
|
DESTINATION lib
|
||||||
)
|
)
|
||||||
|
|
||||||
if (ENABLE_TESTS)
|
if (ENABLE_TESTS)
|
||||||
add_subdirectory(samples)
|
add_subdirectory(samples)
|
||||||
add_subdirectory(testsuite)
|
add_subdirectory(testsuite)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
@ -1,32 +1,32 @@
|
|||||||
set(LIBNAME "PocoPDF")
|
set(LIBNAME "PocoPDF")
|
||||||
set(LIBNAME "${LIBNAME}${LIB_EXT}")
|
set(LIBNAME "${LIBNAME}${LIB_EXT}")
|
||||||
|
|
||||||
aux_source_directory(src SRCS)
|
aux_source_directory(src SRCS)
|
||||||
include_directories(include/Poco/PDF) # zip src
|
include_directories(include/Poco/PDF) # zip src
|
||||||
|
|
||||||
if (NOT POCO_STATIC)
|
if (NOT POCO_STATIC)
|
||||||
add_definitions(-DJSON_EXPORTS)
|
add_definitions(-DJSON_EXPORTS)
|
||||||
endif (NOT POCO_STATIC)
|
endif (NOT POCO_STATIC)
|
||||||
|
|
||||||
add_library( ${LIBNAME} ${LIB_MODE} ${SRCS} )
|
add_library( ${LIBNAME} ${LIB_MODE} ${SRCS} )
|
||||||
set_target_properties( ${LIBNAME}
|
set_target_properties( ${LIBNAME}
|
||||||
PROPERTIES
|
PROPERTIES
|
||||||
VERSION ${SHARED_LIBRARY_VERSION} SOVERSION ${SHARED_LIBRARY_VERSION} )
|
VERSION ${SHARED_LIBRARY_VERSION} SOVERSION ${SHARED_LIBRARY_VERSION} )
|
||||||
target_link_libraries( ${LIBNAME} PocoFoundation${LIB_EXT})
|
target_link_libraries( ${LIBNAME} PocoFoundation${LIB_EXT})
|
||||||
|
|
||||||
install(
|
install(
|
||||||
DIRECTORY include/Poco
|
DIRECTORY include/Poco
|
||||||
DESTINATION include
|
DESTINATION include
|
||||||
PATTERN ".svn" EXCLUDE
|
PATTERN ".svn" EXCLUDE
|
||||||
)
|
)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS ${LIBNAME}
|
TARGETS ${LIBNAME}
|
||||||
DESTINATION lib
|
DESTINATION lib
|
||||||
)
|
)
|
||||||
|
|
||||||
if (ENABLE_TESTS)
|
if (ENABLE_TESTS)
|
||||||
add_subdirectory(samples)
|
add_subdirectory(samples)
|
||||||
add_subdirectory(testsuite)
|
add_subdirectory(testsuite)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
@ -1,67 +1,67 @@
|
|||||||
set(LIBNAME "PocoUtil")
|
set(LIBNAME "PocoUtil")
|
||||||
set(LIBNAME "${LIBNAME}${LIB_EXT}")
|
set(LIBNAME "${LIBNAME}${LIB_EXT}")
|
||||||
|
|
||||||
set( BASE_SRCS
|
set( BASE_SRCS
|
||||||
src/AbstractConfiguration.cpp
|
src/AbstractConfiguration.cpp
|
||||||
src/JSONConfiguration.cpp
|
src/JSONConfiguration.cpp
|
||||||
src/Application.cpp
|
src/Application.cpp
|
||||||
src/ConfigurationMapper.cpp
|
src/ConfigurationMapper.cpp
|
||||||
src/ConfigurationView.cpp
|
src/ConfigurationView.cpp
|
||||||
src/FilesystemConfiguration.cpp
|
src/FilesystemConfiguration.cpp
|
||||||
src/HelpFormatter.cpp
|
src/HelpFormatter.cpp
|
||||||
src/IniFileConfiguration.cpp
|
src/IniFileConfiguration.cpp
|
||||||
src/IntValidator.cpp
|
src/IntValidator.cpp
|
||||||
src/LayeredConfiguration.cpp
|
src/LayeredConfiguration.cpp
|
||||||
src/LoggingConfigurator.cpp
|
src/LoggingConfigurator.cpp
|
||||||
src/LoggingSubsystem.cpp
|
src/LoggingSubsystem.cpp
|
||||||
src/MapConfiguration.cpp
|
src/MapConfiguration.cpp
|
||||||
src/Option.cpp
|
src/Option.cpp
|
||||||
src/OptionCallback.cpp
|
src/OptionCallback.cpp
|
||||||
src/OptionException.cpp
|
src/OptionException.cpp
|
||||||
src/OptionProcessor.cpp
|
src/OptionProcessor.cpp
|
||||||
src/OptionSet.cpp
|
src/OptionSet.cpp
|
||||||
src/PropertyFileConfiguration.cpp
|
src/PropertyFileConfiguration.cpp
|
||||||
src/RegExpValidator.cpp
|
src/RegExpValidator.cpp
|
||||||
src/ServerApplication.cpp
|
src/ServerApplication.cpp
|
||||||
src/Subsystem.cpp
|
src/Subsystem.cpp
|
||||||
src/SystemConfiguration.cpp
|
src/SystemConfiguration.cpp
|
||||||
src/Validator.cpp
|
src/Validator.cpp
|
||||||
src/XMLConfiguration.cpp
|
src/XMLConfiguration.cpp
|
||||||
src/Timer.cpp
|
src/Timer.cpp
|
||||||
src/TimerTask.cpp
|
src/TimerTask.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
set( WIN_SRCS
|
set( WIN_SRCS
|
||||||
src/WinRegistryConfiguration.cpp
|
src/WinRegistryConfiguration.cpp
|
||||||
src/WinRegistryKey.cpp
|
src/WinRegistryKey.cpp
|
||||||
src/WinService.cpp
|
src/WinService.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
if(CMAKE_SYSTEM MATCHES "Windows")
|
if(CMAKE_SYSTEM MATCHES "Windows")
|
||||||
set(SRCS ${BASE_SRCS} ${WIN_SRCS})
|
set(SRCS ${BASE_SRCS} ${WIN_SRCS})
|
||||||
add_definitions(-DUtil_EXPORTS)
|
add_definitions(-DUtil_EXPORTS)
|
||||||
else (CMAKE_SYSTEM MATCHES "Windows")
|
else (CMAKE_SYSTEM MATCHES "Windows")
|
||||||
set(SRCS ${BASE_SRCS})
|
set(SRCS ${BASE_SRCS})
|
||||||
endif(CMAKE_SYSTEM MATCHES "Windows")
|
endif(CMAKE_SYSTEM MATCHES "Windows")
|
||||||
|
|
||||||
add_library( ${LIBNAME} ${LIB_MODE} ${SRCS} )
|
add_library( ${LIBNAME} ${LIB_MODE} ${SRCS} )
|
||||||
set_target_properties( ${LIBNAME}
|
set_target_properties( ${LIBNAME}
|
||||||
PROPERTIES
|
PROPERTIES
|
||||||
VERSION ${SHARED_LIBRARY_VERSION} SOVERSION ${SHARED_LIBRARY_VERSION} )
|
VERSION ${SHARED_LIBRARY_VERSION} SOVERSION ${SHARED_LIBRARY_VERSION} )
|
||||||
target_link_libraries( ${LIBNAME} PocoJSON${LIB_EXT} PocoXML${LIB_EXT} PocoFoundation${LIB_EXT})
|
target_link_libraries( ${LIBNAME} PocoJSON${LIB_EXT} PocoXML${LIB_EXT} PocoFoundation${LIB_EXT})
|
||||||
|
|
||||||
install(
|
install(
|
||||||
DIRECTORY include/Poco
|
DIRECTORY include/Poco
|
||||||
DESTINATION include
|
DESTINATION include
|
||||||
PATTERN ".svn" EXCLUDE
|
PATTERN ".svn" EXCLUDE
|
||||||
)
|
)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS ${LIBNAME}
|
TARGETS ${LIBNAME}
|
||||||
DESTINATION lib
|
DESTINATION lib
|
||||||
)
|
)
|
||||||
|
|
||||||
if (ENABLE_TESTS)
|
if (ENABLE_TESTS)
|
||||||
add_subdirectory(samples)
|
add_subdirectory(samples)
|
||||||
add_subdirectory(testsuite)
|
add_subdirectory(testsuite)
|
||||||
endif ()
|
endif ()
|
||||||
|
@ -1,29 +1,29 @@
|
|||||||
set(LIBNAME "PocoXML")
|
set(LIBNAME "PocoXML")
|
||||||
set(LIBNAME "${LIBNAME}${LIB_EXT}")
|
set(LIBNAME "${LIBNAME}${LIB_EXT}")
|
||||||
|
|
||||||
aux_source_directory(src SRCS)
|
aux_source_directory(src SRCS)
|
||||||
|
|
||||||
add_definitions(-D_USRDLL -DXML_NS -DXML_DTD -DHAVE_EXPAT_CONFIG_H -DXML_EXPORTS)
|
add_definitions(-D_USRDLL -DXML_NS -DXML_DTD -DHAVE_EXPAT_CONFIG_H -DXML_EXPORTS)
|
||||||
|
|
||||||
add_library( ${LIBNAME} ${LIB_MODE} ${SRCS} )
|
add_library( ${LIBNAME} ${LIB_MODE} ${SRCS} )
|
||||||
set_target_properties( ${LIBNAME}
|
set_target_properties( ${LIBNAME}
|
||||||
PROPERTIES
|
PROPERTIES
|
||||||
VERSION ${SHARED_LIBRARY_VERSION} SOVERSION ${SHARED_LIBRARY_VERSION} )
|
VERSION ${SHARED_LIBRARY_VERSION} SOVERSION ${SHARED_LIBRARY_VERSION} )
|
||||||
target_link_libraries( ${LIBNAME} PocoFoundation${LIB_EXT})
|
target_link_libraries( ${LIBNAME} PocoFoundation${LIB_EXT})
|
||||||
|
|
||||||
install(
|
install(
|
||||||
DIRECTORY include/Poco
|
DIRECTORY include/Poco
|
||||||
DESTINATION include
|
DESTINATION include
|
||||||
PATTERN ".svn" EXCLUDE
|
PATTERN ".svn" EXCLUDE
|
||||||
)
|
)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS ${LIBNAME}
|
TARGETS ${LIBNAME}
|
||||||
DESTINATION lib
|
DESTINATION lib
|
||||||
)
|
)
|
||||||
|
|
||||||
if (ENABLE_TESTS)
|
if (ENABLE_TESTS)
|
||||||
add_subdirectory(samples)
|
add_subdirectory(samples)
|
||||||
add_subdirectory(testsuite)
|
add_subdirectory(testsuite)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
@ -1,31 +1,31 @@
|
|||||||
set(LIBNAME "PocoZip")
|
set(LIBNAME "PocoZip")
|
||||||
set(LIBNAME "${LIBNAME}${LIB_EXT}")
|
set(LIBNAME "${LIBNAME}${LIB_EXT}")
|
||||||
|
|
||||||
aux_source_directory(src SRCS)
|
aux_source_directory(src SRCS)
|
||||||
|
|
||||||
if (NOT POCO_STATIC)
|
if (NOT POCO_STATIC)
|
||||||
add_definitions(-DZip_EXPORTS)
|
add_definitions(-DZip_EXPORTS)
|
||||||
endif (NOT POCO_STATIC)
|
endif (NOT POCO_STATIC)
|
||||||
|
|
||||||
add_library( ${LIBNAME} ${LIB_MODE} ${SRCS} )
|
add_library( ${LIBNAME} ${LIB_MODE} ${SRCS} )
|
||||||
set_target_properties( ${LIBNAME}
|
set_target_properties( ${LIBNAME}
|
||||||
PROPERTIES
|
PROPERTIES
|
||||||
VERSION ${SHARED_LIBRARY_VERSION} SOVERSION ${SHARED_LIBRARY_VERSION} )
|
VERSION ${SHARED_LIBRARY_VERSION} SOVERSION ${SHARED_LIBRARY_VERSION} )
|
||||||
target_link_libraries( ${LIBNAME} PocoUtil${LIB_EXT} PocoXML${LIB_EXT} PocoFoundation${LIB_EXT})
|
target_link_libraries( ${LIBNAME} PocoUtil${LIB_EXT} PocoXML${LIB_EXT} PocoFoundation${LIB_EXT})
|
||||||
|
|
||||||
install(
|
install(
|
||||||
DIRECTORY include/Poco
|
DIRECTORY include/Poco
|
||||||
DESTINATION include
|
DESTINATION include
|
||||||
PATTERN ".svn" EXCLUDE
|
PATTERN ".svn" EXCLUDE
|
||||||
)
|
)
|
||||||
|
|
||||||
install(
|
install(
|
||||||
TARGETS ${LIBNAME}
|
TARGETS ${LIBNAME}
|
||||||
DESTINATION lib
|
DESTINATION lib
|
||||||
)
|
)
|
||||||
|
|
||||||
if (ENABLE_TESTS)
|
if (ENABLE_TESTS)
|
||||||
add_subdirectory(samples)
|
add_subdirectory(samples)
|
||||||
add_subdirectory(testsuite)
|
add_subdirectory(testsuite)
|
||||||
endif ()
|
endif ()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user