author | František Kučera <franta-hg@frantovo.cz> |
Sat, 06 Jun 2020 01:50:43 +0200 | |
branch | v_0 |
changeset 23 | eab79900c9f1 |
parent 9 | 30528cbe8838 |
permissions | -rw-r--r-- |
9
30528cbe8838
cmake: generate pkg-config and install
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
1 |
prefix=@CMAKE_INSTALL_PREFIX@ |
30528cbe8838
cmake: generate pkg-config and install
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
2 |
libdir=${prefix}/lib/relpipe/ |
30528cbe8838
cmake: generate pkg-config and install
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
3 |
includedir=${prefix}/include/ |
30528cbe8838
cmake: generate pkg-config and install
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
4 |
|
30528cbe8838
cmake: generate pkg-config and install
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
5 |
Name: @PROJECT_TITLE@ |
30528cbe8838
cmake: generate pkg-config and install
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
6 |
Description: @PROJECT_DESCRIPTION@ |
30528cbe8838
cmake: generate pkg-config and install
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
7 |
Version: @PROJECT_VERSION@ |
30528cbe8838
cmake: generate pkg-config and install
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
8 |
|
30528cbe8838
cmake: generate pkg-config and install
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
9 |
# this is header-only library, so no .so |
30528cbe8838
cmake: generate pkg-config and install
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
10 |
# Libs: -L${libdir} -l@LIBRARY_FILE@ |
30528cbe8838
cmake: generate pkg-config and install
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
11 |
|
30528cbe8838
cmake: generate pkg-config and install
František Kučera <franta-hg@frantovo.cz>
parents:
diff
changeset
|
12 |
Cflags: -I${includedir} |