equal
deleted
inserted
replaced
12 # GNU General Public License for more details. |
12 # GNU General Public License for more details. |
13 # |
13 # |
14 # You should have received a copy of the GNU General Public License |
14 # You should have received a copy of the GNU General Public License |
15 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
15 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
16 |
16 |
17 set(LIBRARY_FILE "relpipe-lib-cli") |
17 set(LIBRARY_FILE ${PROJECT_CODE}.cpp) |
|
18 |
|
19 configure_file("pkg-config.cpp.pc.in" "${PROJECT_CODE}.cpp.pc" @ONLY) |
18 |
20 |
19 # Library output: |
21 # Library output: |
20 add_library( |
22 add_library( |
21 ${LIBRARY_FILE} SHARED |
23 ${LIBRARY_FILE} SHARED |
22 relpipe-lib-cli.cpp |
24 ${PROJECT_CODE}.cpp |
23 ) |
25 ) |
24 |
26 |
|
27 install(FILES "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_CODE}.cpp.pc" DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/pkgconfig/) |
|
28 install(DIRECTORY ../include/ DESTINATION include) |