Skip to content
Snippets Groups Projects
Commit 5a04202e authored by Sergey Yakubov's avatar Sergey Yakubov
Browse files

Merge pull request #157 in ASAPO/asapo from twhite/pkgconfig to develop

* commit '67a15924':
  Add pkg-config files for consumer and producer APIs
parents be0b5142 67a15924
No related branches found
No related tags found
No related merge requests found
......@@ -10,3 +10,8 @@ endif()
if(BUILD_CONSUMER_TOOLS)
add_subdirectory(tools)
endif()
include(GNUInstallDirs)
configure_file(libasapo-consumer.pc.in libasapo-consumer.pc)
install(FILES ${CMAKE_BINARY_DIR}/consumer/libasapo-consumer.pc
DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
prefix=${CMAKE_INSTALL_PREFIX}
exec_prefix=${CMAKE_INSTALL_PREFIX}
libdir=${CMAKE_INSTALL_FULL_LIBDIR}
includedir=${CMAKE_INSTALL_FULL_INCLUDEDIR}
Name: libasapo-consumer
Description: ASAP::O consumer API
Version: ${ASAPO_CONSUMER_PROTOCOL}
Cflags: -I${CMAKE_INSTALL_FULL_INCLUDEDIR}
Libs: -L${CMAKE_INSTALL_FULL_LIBDIR} -lasapo-consumer -lasapo-fabric
Libs.private: -lcurl -lstdc++ -lpthread
......@@ -7,3 +7,8 @@ endif()
if(BUILD_EVENT_MONITOR_PRODUCER)
add_subdirectory(event_monitor_producer)
endif(BUILD_EVENT_MONITOR_PRODUCER)
include(GNUInstallDirs)
configure_file(libasapo-producer.pc.in libasapo-producer.pc)
install(FILES ${CMAKE_BINARY_DIR}/producer/libasapo-producer.pc
DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
prefix=${CMAKE_INSTALL_PREFIX}
exec_prefix=${CMAKE_INSTALL_PREFIX}
libdir=${CMAKE_INSTALL_FULL_LIBDIR}
includedir=${CMAKE_INSTALL_FULL_INCLUDEDIR}
Name: libasapo-producer
Description: ASAP::O producer API
Version: ${ASAPO_PRODUCER_PROTOCOL}
Cflags: -I${CMAKE_INSTALL_FULL_INCLUDEDIR}
Libs: -L${CMAKE_INSTALL_FULL_LIBDIR} -lasapo-producer -lasapo-fabric
Libs.private: -lcurl -lstdc++ -lpthread
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment