Added a pkg-config file.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
f44830474a
commit
bdf8883d58
|
@ -0,0 +1,13 @@
|
||||||
|
name=@PROJECT_NAME@
|
||||||
|
prefix=@CMAKE_INSTALL_PREFIX@
|
||||||
|
exec_prefix=${prefix}
|
||||||
|
libdir=${prefix}/@CMAKE_INSTALL_LIBDIR@
|
||||||
|
includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@
|
||||||
|
|
||||||
|
Name: ${name}
|
||||||
|
Description: Saves, archives and retrieves URIs of things you want to remember.
|
||||||
|
Version: @PROJECT_VERSION@
|
||||||
|
Libs: -L${libdir} -l${name}
|
||||||
|
Cflags: -I${includedir}/${name}
|
||||||
|
Requires.private: curlpp sqlite3 libxdg-basedir icu-uc icu-i18n
|
||||||
|
Libs.private: -lvsqlitepp
|
|
@ -35,3 +35,8 @@ install(FILES ${headers_lib}
|
||||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME})
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME})
|
||||||
install(FILES ${headers_lib_export}
|
install(FILES ${headers_lib_export}
|
||||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME}/export)
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME}/export)
|
||||||
|
|
||||||
|
configure_file("${PROJECT_SOURCE_DIR}/remwharead.pc.in"
|
||||||
|
"${CMAKE_CURRENT_BINARY_DIR}/remwharead.pc" @ONLY)
|
||||||
|
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/remwharead.pc"
|
||||||
|
DESTINATION "${CMAKE_INSTALL_LIBDIR}/pkgconfig")
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
* #include <remwharead/remwharead.hpp>
|
* #include <remwharead/remwharead.hpp>
|
||||||
* @endcode
|
* @endcode
|
||||||
*
|
*
|
||||||
* Compile your code with `g++ -lremwharead`.
|
* Compile your code with `g++ $(pkg-config --cflags --libs remwharead)`.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "export/adoc.hpp"
|
#include "export/adoc.hpp"
|
||||||
|
|
Loading…
Reference in New Issue