mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-22 10:25:50 +01:00
34 lines
767 B
CMake
34 lines
767 B
CMake
set(LIBNAME "PocoWebWidgets")
|
|
set(LIBNAME "${LIBNAME}${LIB_EXT}")
|
|
|
|
set(SRCS "")
|
|
aux_source_directory(src SRCS)
|
|
|
|
if (NOT POCO_STATIC)
|
|
add_definitions(-DWebWidgets_EXPORTS -DPOCO_DLL)
|
|
endif (NOT POCO_STATIC)
|
|
|
|
add_library( ${LIBNAME} ${LIB_MODE} ${SRCS} )
|
|
set_target_properties( ${LIBNAME}
|
|
PROPERTIES
|
|
VERSION ${SHARED_LIBRARY_VERSION} SOVERSION ${SHARED_LIBRARY_VERSION} )
|
|
target_link_libraries( ${LIBNAME} PocoNet${LIB_EXT} PocoUtil${LIB_EXT} PocoXML${LIB_EXT} PocoFoundation${LIB_EXT} )
|
|
|
|
install(
|
|
DIRECTORY include/Poco
|
|
DESTINATION include
|
|
PATTERN ".svn" EXCLUDE
|
|
)
|
|
|
|
install(
|
|
TARGETS ${LIBNAME}
|
|
DESTINATION lib
|
|
)
|
|
|
|
add_subdirectory( ExtJS )
|
|
|
|
if (ENABLE_TESTS)
|
|
add_subdirectory(testsuite)
|
|
endif ()
|
|
|