2009-02-17 20:02:37 +00:00
|
|
|
set(LIBNAME "PocoWebWidgets")
|
|
|
|
set(LIBNAMED "${LIBNAME}d")
|
|
|
|
|
|
|
|
set(SRCS "")
|
|
|
|
aux_source_directory(src SRCS)
|
|
|
|
|
|
|
|
add_library( ${LIBNAME} ${LIB_MODE} ${SRCS} )
|
|
|
|
set_target_properties( ${LIBNAME}
|
2009-08-26 12:26:22 +00:00
|
|
|
PROPERTIES COMPILE_FLAGS ${RELEASE_CXX_FLAGS}
|
2009-02-17 20:02:37 +00:00
|
|
|
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})
|
2009-02-22 19:58:27 +00:00
|
|
|
target_link_libraries( ${LIBNAME} PocoNet PocoUtil PocoXML PocoFoundation )
|
2009-02-17 20:02:37 +00:00
|
|
|
|
|
|
|
add_library( ${LIBNAMED} ${LIB_MODE} ${SRCS} )
|
|
|
|
set_target_properties( ${LIBNAMED}
|
2009-08-26 12:26:22 +00:00
|
|
|
PROPERTIES COMPILE_FLAGS "${DEBUG_CXX_FLAGS}"
|
2009-02-17 20:02:37 +00:00
|
|
|
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})
|
2009-02-22 19:58:27 +00:00
|
|
|
target_link_libraries( ${LIBNAMED} PocoNetd PocoUtild PocoXMLd PocoFoundationd )
|
2009-02-17 20:02:37 +00:00
|
|
|
|
2009-02-18 20:47:32 +00:00
|
|
|
install(
|
|
|
|
DIRECTORY include/Poco
|
|
|
|
DESTINATION include
|
2009-04-27 19:22:30 +00:00
|
|
|
PATTERN ".svn" EXCLUDE
|
2009-02-18 20:47:32 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
install(
|
|
|
|
TARGETS ${LIBNAME} ${LIBNAMED}
|
|
|
|
DESTINATION lib
|
|
|
|
)
|
|
|
|
|
2009-02-17 20:02:37 +00:00
|
|
|
add_subdirectory( ExtJS )
|
2009-02-18 20:47:32 +00:00
|
|
|
|
2009-02-21 20:19:53 +00:00
|
|
|
add_subdirectory( testsuite )
|