X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=CMakeLists.txt;h=0a754020586f10839fadceef949d09d9a4f16559;hb=52bbe6001445a59a60c95de0f4320a8166b4bddd;hp=d673cf81da6cd4b3d022b52eda8d5628edfeb353;hpb=b0d8c0dca6f8976dd6545023d3b6079e605e0acf;p=pulseview.git diff --git a/CMakeLists.txt b/CMakeLists.txt index d673cf81..0a754020 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,6 +20,7 @@ cmake_minimum_required(VERSION 2.6) include(FindPkgConfig) +include(GNUInstallDirs) project(pulseview) @@ -55,7 +56,7 @@ list(APPEND PKGDEPS ) if(ENABLE_SIGROKDECODE) - list(APPEND PKGDEPS libsigrokdecode>=0.1.0) + list(APPEND PKGDEPS libsigrokdecode>=0.2.0) endif() find_package(PkgConfig) @@ -100,6 +101,7 @@ configure_file ( set(pulseview_SOURCES main.cpp + pv/devicemanager.cpp pv/mainwindow.cpp pv/sigsession.cpp pv/data/analog.cpp @@ -234,8 +236,12 @@ endif() #= Installation #------------------------------------------------------------------------------- +# Install the executable. install(TARGETS ${PROJECT_NAME} DESTINATION bin/) +# Install the manpage. +install(FILES doc/pulseview.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 COMPONENT doc) + #=============================================================================== #= Packaging (handled by CPack) #-------------------------------------------------------------------------------