diff --git a/DSView/CMake/FindFFTW.cmake b/CMake/FindFFTW.cmake similarity index 84% rename from DSView/CMake/FindFFTW.cmake rename to CMake/FindFFTW.cmake index e11a77b5..82095c7e 100755 --- a/DSView/CMake/FindFFTW.cmake +++ b/CMake/FindFFTW.cmake @@ -37,13 +37,10 @@ if (FFTW_INCLUDE_DIR AND FFTW_LIBRARY) ${FFTW_INCLUDE_DIR} ) - set(FFTW_LIBRARYS + set(FFTW_LIBRARIES ${FFTW_LIBRARY} ) - - message(STATUS "Found FFTW:") - message(STATUS " - includes: ${FFTW_INCLUDE_DIR}") - message(STATUS " - libraries: ${FFTW_LIBRARY}") + endif(FFTW_INCLUDE_DIR AND FFTW_LIBRARY) diff --git a/DSView/CMake/FindFFTW.cmake.bak b/CMake/FindFFTW.cmake.bak similarity index 100% rename from DSView/CMake/FindFFTW.cmake.bak rename to CMake/FindFFTW.cmake.bak diff --git a/DSView/CMake/Findlibusb-1.0.cmake b/CMake/Findlibusb-1.0.cmake similarity index 95% rename from DSView/CMake/Findlibusb-1.0.cmake rename to CMake/Findlibusb-1.0.cmake index 0bf79a24..663f7d79 100755 --- a/DSView/CMake/Findlibusb-1.0.cmake +++ b/CMake/Findlibusb-1.0.cmake @@ -84,9 +84,9 @@ else (LIBUSB_1_LIBRARIES AND LIBUSB_1_INCLUDE_DIRS) if (LIBUSB_1_FOUND) if (NOT libusb_1_FIND_QUIETLY) - message(STATUS "Found libusb-1.0:") - message(STATUS " - Includes: ${LIBUSB_1_INCLUDE_DIRS}") - message(STATUS " - Libraries: ${LIBUSB_1_LIBRARIES}") + #message(STATUS "Found libusb-1.0:") + # message(STATUS " - Includes: ${LIBUSB_1_INCLUDE_DIRS}") + # message(STATUS " - Libraries: ${LIBUSB_1_LIBRARIES}") endif (NOT libusb_1_FIND_QUIETLY) else (LIBUSB_1_FOUND) if (libusb_1_FIND_REQUIRED) diff --git a/DSView/CMake/Findlibzip.cmake b/CMake/Findlibzip.cmake similarity index 100% rename from DSView/CMake/Findlibzip.cmake rename to CMake/Findlibzip.cmake diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100755 index 00000000..9df3fb08 --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,626 @@ +## +## This file is part of the DSView project. +## +## Copyright (C) 2012 Joel Holdsworth +## Copyright (C) 2012-2013 Alexandru Gagniuc +## Copyright (C) 2013-2022 DreamSourceLab +## +## This program is free software: you can redistribute it and/or modify +## it under the terms of the GNU General Public License as published by +## the Free Software Foundation, either version 2 of the License, or +## (at your option) any later version. +## +## This program is distributed in the hope that it will be useful, +## but WITHOUT ANY WARRANTY; without even the implied warranty of +## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +## GNU General Public License for more details. +## +## You should have received a copy of the GNU General Public License +## along with this program. If not, see . +## + +cmake_minimum_required(VERSION 2.8.6) + +project(DSView) + +#=============================================================================== +#= Config Header +#------------------------------------------------------------------------------- + +set(DS_TITLE DSView) +set(DS_DESCRIPTION "A GUI for instruments of DreamSourceLab") + +set(DS_VERSION_MAJOR 1) +set(DS_VERSION_MINOR 2) +set(DS_VERSION_MICRO 0) +set(DS_VERSION_STRING ${DS_VERSION_MAJOR}.${DS_VERSION_MINOR}.${DS_VERSION_MICRO}-RC7 ) + +configure_file ( + ${PROJECT_SOURCE_DIR}/DSView/config.h.in + ${PROJECT_BINARY_DIR}/DSView/config.h +) + + +#=============================================================================== +#=pkg config +#------------------------------------------------------------------------------- +include(FindPkgConfig) +include(GNUInstallDirs) + +list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/CMake") + +find_package(PkgConfig) + +#=============================================================================== +#= User Options +#------------------------------------------------------------------------------- + +set(DISABLE_WERROR TRUE) #Build without -Werror +set(ENABLE_SIGNALS TRUE) #Build with UNIX signals +set(ENABLE_COTIRE FALSE) #Enable cotire +set(ENABLE_TESTS FALSE) #Enable unit tests +set(STATIC_PKGDEPS_LIBS FALSE) #Statically link to (pkg-config) libraries + +if(WIN32) + # On Windows/MinGW we need to statically link to libraries. + # This option is user configurable, but enable it by default on win32. + set(STATIC_PKGDEPS_LIBS TRUE) + + # Windows does not support UNIX signals. + set(ENABLE_SIGNALS FALSE) +endif() + +if(NOT CMAKE_BUILD_TYPE) + set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING + "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel." + FORCE) +endif() + +#=============================================================================== +#= glib-2.0 +#------------------------------------------------------------------------------- +pkg_search_module(GLIB REQUIRED glib-2.0) +message("-- glib-2.0:") +MESSAGE(STATUS " - includes:" ${GLIB_INCLUDE_DIRS}) +MESSAGE(STATUS " - libraries:" ${GLIB_LIBRARIES}) +include_directories(${GLIB_INCLUDE_DIRS}) +link_directories(${GLIB_LIBRARIES_DIRS}) + +#=============================================================================== +#= python3 +#------------------------------------------------------------------------------- +find_package(PythonLibs 3 REQUIRED) +message("-- python3:") +MESSAGE(STATUS " - includes:" ${PYTHON_INCLUDE_DIR}) +MESSAGE(STATUS " - libraries:" ${PYTHON_LIBRARIES}) +include_directories(${PYTHON_INCLUDE_DIR}) +link_directories(${PYTHON_LIBRARIES}) + +#=============================================================================== +#= FFTW +#------------------------------------------------------------------------------- +find_package(FFTW REQUIRED) +message("-- FFTW:") +MESSAGE(STATUS " - includes:" ${FFTW_INCLUDE_DIRS}) +MESSAGE(STATUS " - libraries:" ${FFTW_LIBRARIES}) +include_directories(${FFTW_INCLUDE_DIRS}) +link_directories(${FFTW_LIBRARIES}) + +#=============================================================================== +#= libusb-1.0 +#------------------------------------------------------------------------------- +find_package(libusb-1.0 REQUIRED) +message("-- libusb-1.0:") +MESSAGE(STATUS " - includes:" ${LIBUSB_1_INCLUDE_DIRS}) +MESSAGE(STATUS " - libraries:" ${LIBUSB_1_LIBRARIES}) +include_directories(${LIBUSB_1_INCLUDE_DIRS}) +link_directories(${LIBUSB_1_LIBRARIES}) + +#=============================================================================== +#= zlib +#------------------------------------------------------------------------------- +find_package(ZLIB REQUIRED) +message("-- zlib:") +MESSAGE(STATUS " - includes:" ${ZLIB_INCLUDE_DIRS}) +MESSAGE(STATUS " - libraries:" ${ZLIB_LIBRARIES}) +include_directories(${ZLIB_INCLUDE_DIRS}) +link_directories(${ZLIB_LIBRARIES}) + +#=============================================================================== +#= libzip +#------------------------------------------------------------------------------- +find_package(libzip REQUIRED) +message("-- libzip:") +MESSAGE(STATUS " - includes:" ${PC_LIBZIP_INCLUDE_DIRS}) +MESSAGE(STATUS " - libraries:" ${PC_LIBZIP_LIBRARIES}) +include_directories(${PC_LIBZIP_INCLUDE_DIRS}) +link_directories(${PC_LIBZIP_LIBRARIES}) + +#=============================================================================== +#= Qt5 +#------------------------------------------------------------------------------- +find_package(Qt5Core REQUIRED) + +if(Qt5Core_FOUND) + message("-- Qt5:") + MESSAGE(STATUS " - includes:" ${Qt5Core_INCLUDE_DIRS}) + find_package(Qt5Widgets REQUIRED) + find_package(Qt5Gui REQUIRED) + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Qt5Widgets_EXECUTABLE_COMPILE_FLAGS}") + set(QT_INCLUDE_DIRS ${Qt5Gui_INCLUDE_DIRS} ${Qt5Widgets_INCLUDE_DIRS}) + set(QT_LIBRARIES Qt5::Gui Qt5::Widgets) + add_definitions(${Qt5Gui_DEFINITIONS} ${Qt5Widgets_DEFINITIONS}) +else() + message(FATAL_ERROR "-- Have not fond qt5 core, please install it!") +endif() + +#=============================================================================== +#= Dependencies +#------------------------------------------------------------------------------- + + +list(APPEND PKGDEPS + +) + +###pkg_check_modules(PKGDEPS REQUIRED ${PKGDEPS}) + +find_package(Threads) +find_package(Boost 1.42 REQUIRED) + + +#=============================================================================== +#= DSView sources +#------------------------------------------------------------------------------- + +set(DSView_SOURCES + DSView/main.cpp + DSView/dsapplication.cpp + DSView/pv/sigsession.cpp + DSView/pv/mainwindow.cpp + DSView/pv/devicemanager.cpp + DSView/pv/data/snapshot.cpp + DSView/pv/data/signaldata.cpp + DSView/pv/data/logicsnapshot.cpp + DSView/pv/data/logic.cpp + DSView/pv/data/analogsnapshot.cpp + DSView/pv/data/analog.cpp + DSView/pv/dialogs/deviceoptions.cpp + DSView/pv/prop/property.cpp + DSView/pv/prop/int.cpp + DSView/pv/prop/enum.cpp + DSView/pv/prop/double.cpp + DSView/pv/prop/bool.cpp + DSView/pv/prop/binding/binding.cpp + DSView/pv/toolbars/samplingbar.cpp + DSView/pv/view/viewport.cpp + DSView/pv/view/view.cpp + DSView/pv/view/timemarker.cpp + DSView/pv/view/signal.cpp + DSView/pv/view/ruler.cpp + DSView/pv/view/logicsignal.cpp + DSView/pv/view/header.cpp + DSView/pv/view/cursor.cpp + DSView/pv/view/analogsignal.cpp + DSView/pv/prop/binding/deviceoptions.cpp + DSView/pv/toolbars/trigbar.cpp + DSView/pv/toolbars/filebar.cpp + DSView/pv/dock/protocoldock.cpp + DSView/pv/dock/triggerdock.cpp + DSView/pv/dock/measuredock.cpp + DSView/pv/dock/searchdock.cpp + DSView/pv/toolbars/logobar.cpp + DSView/pv/data/groupsnapshot.cpp + DSView/pv/view/groupsignal.cpp + DSView/pv/data/group.cpp + DSView/pv/dialogs/about.cpp + DSView/pv/dialogs/search.cpp + DSView/pv/data/dsosnapshot.cpp + DSView/pv/data/dso.cpp + DSView/pv/view/dsosignal.cpp + DSView/pv/view/dsldial.cpp + DSView/pv/dock/dsotriggerdock.cpp + DSView/pv/view/trace.cpp + DSView/pv/view/selectableitem.cpp + DSView/pv/data/decoderstack.cpp + DSView/pv/data/decode/rowdata.cpp + DSView/pv/data/decode/row.cpp + DSView/pv/data/decode/decoder.cpp + DSView/pv/data/decode/annotation.cpp + DSView/pv/view/decodetrace.cpp + DSView/pv/prop/binding/decoderoptions.cpp + DSView/pv/widgets/fakelineedit.cpp + DSView/pv/widgets/decodermenu.cpp + DSView/pv/widgets/decodergroupbox.cpp + DSView/pv/prop/string.cpp + DSView/pv/device/sessionfile.cpp + DSView/pv/device/inputfile.cpp + DSView/pv/device/file.cpp + DSView/pv/device/devinst.cpp + DSView/pv/dialogs/storeprogress.cpp + DSView/pv/storesession.cpp + DSView/pv/view/devmode.cpp + DSView/pv/device/device.cpp + DSView/pv/dialogs/waitingdialog.cpp + DSView/pv/dialogs/dsomeasure.cpp + DSView/pv/dialogs/calibration.cpp + DSView/pv/data/decodermodel.cpp + DSView/pv/dialogs/protocollist.cpp + DSView/pv/dialogs/protocolexp.cpp + DSView/pv/dialogs/fftoptions.cpp + DSView/pv/data/mathstack.cpp + DSView/pv/view/mathtrace.cpp + DSView/pv/toolbars/titlebar.cpp + DSView/pv/mainframe.cpp + DSView/pv/widgets/border.cpp + DSView/pv/dialogs/dsmessagebox.cpp + DSView/pv/dialogs/shadow.cpp + DSView/pv/dialogs/dsdialog.cpp + DSView/pv/dialogs/interval.cpp + DSView/pv/prop/binding/probeoptions.cpp + DSView/pv/view/viewstatus.cpp + DSView/pv/dialogs/lissajousoptions.cpp + DSView/pv/view/lissajoustrace.cpp + DSView/pv/view/spectrumtrace.cpp + DSView/pv/data/spectrumstack.cpp + DSView/pv/dialogs/mathoptions.cpp + DSView/pv/dialogs/regionoptions.cpp + DSView/pv/view/xcursor.cpp + DSView/pv/dock/protocoldock.cpp + DSView/pv/data/decoderstack.cpp + DSView/pv/data/decode/annotation.cpp + DSView/pv/data/decode/decoder.cpp + DSView/pv/data/decode/row.cpp + DSView/pv/data/decode/rowdata.cpp + DSView/pv/prop/binding/decoderoptions.cpp + DSView/pv/view/decodetrace.cpp + DSView/pv/widgets/decodergroupbox.cpp + DSView/pv/widgets/decodermenu.cpp + DSView/pv/config/appconfig.cpp + DSView/pv/appcontrol.cpp + DSView/pv/dstimer.cpp + DSView/pv/eventobject.cpp + DSView/pv/ZipMaker.cpp + DSView/pv/data/decode/annotationrestable.cpp + DSView/pv/data/decode/decoderstatus.cpp + DSView/pv/dock/protocolitemlayer.cpp + DSView/pv/ui/msgbox.cpp + DSView/pv/ui/dscombobox.cpp + DSView/pv/dsvdef.cpp + DSView/pv/minizip/zip.c + DSView/pv/minizip/unzip.c + DSView/pv/minizip/ioapi.c + DSView/pv/dialogs/applicationpardlg.cpp + DSView/pv/dock/keywordlineedit.cpp + DSView/pv/dock/searchcombobox.cpp + DSView/pv/dialogs/decoderoptionsdlg.cpp +) + +set(DSView_HEADERS + DSView/mystyle.h + DSView/pv/sigsession.h + DSView/pv/mainwindow.h + DSView/pv/dialogs/deviceoptions.h + DSView/pv/prop/property.h + DSView/pv/prop/int.h + DSView/pv/prop/enum.h + DSView/pv/prop/double.h + DSView/pv/prop/bool.h + DSView/pv/toolbars/samplingbar.h + DSView/pv/view/viewport.h + DSView/pv/view/view.h + DSView/pv/view/timemarker.h + DSView/pv/view/ruler.h + DSView/pv/view/header.h + DSView/pv/view/cursor.h + DSView/pv/toolbars/trigbar.h + DSView/pv/toolbars/filebar.h + DSView/pv/dock/protocoldock.h + DSView/pv/dock/triggerdock.h + DSView/pv/dock/measuredock.h + DSView/pv/dock/searchdock.h + DSView/pv/toolbars/logobar.h + DSView/pv/dialogs/about.h + DSView/pv/dialogs/search.h + DSView/pv/dock/dsotriggerdock.h + DSView/pv/view/trace.h + DSView/pv/view/selectableitem.h + DSView/pv/data/decoderstack.h + DSView/pv/view/decodetrace.h + DSView/pv/widgets/fakelineedit.h + DSView/pv/widgets/decodermenu.h + DSView/pv/widgets/decodergroupbox.h + DSView/pv/prop/string.h + DSView/pv/device/devinst.h + DSView/pv/dialogs/storeprogress.h + DSView/pv/storesession.h + DSView/pv/view/devmode.h + DSView/pv/dialogs/waitingdialog.h + DSView/pv/dialogs/dsomeasure.h + DSView/pv/dialogs/calibration.h + DSView/pv/dialogs/protocollist.h + DSView/pv/dialogs/protocolexp.h + DSView/pv/dialogs/fftoptions.h + DSView/pv/data/mathstack.h + DSView/pv/view/mathtrace.h + DSView/pv/view/viewstatus.h + DSView/pv/toolbars/titlebar.h + DSView/pv/mainframe.h + DSView/pv/widgets/border.h + DSView/pv/dialogs/dsmessagebox.h + DSView/pv/dialogs/shadow.h + DSView/pv/dialogs/dsdialog.h + DSView/pv/dialogs/interval.h + DSView/pv/dialogs/lissajousoptions.h + DSView/pv/view/lissajoustrace.h + DSView/pv/view/spectrumtrace.h + DSView/pv/data/spectrumstack.h + DSView/pv/dialogs/mathoptions.h + DSView/pv/dialogs/regionoptions.h + DSView/pv/view/xcursor.h + DSView/pv/view/signal.h + DSView/pv/view/logicsignal.h + DSView/pv/view/analogsignal.h + DSView/pv/view/dsosignal.h + DSView/pv/dock/protocoldock.h + DSView/pv/data/decoderstack.h + DSView/pv/view/decodetrace.h + DSView/pv/widgets/decodergroupbox.h + DSView/pv/widgets/decodermenu.h + DSView/pv/config/appconfig.h + DSView/pv/appcontrol.h + DSView/pv/dstimer.h + DSView/pv/eventobject.h + DSView/pv/ZipMaker.h + DSView/pv/data/decode/annotationrestable.h + DSView/pv/data/decode/decoderstatus.h + DSView/pv/dock/protocolitemlayer.h + DSView/pv/ui/msgbox.h + DSView/pv/ui/dscombobox.h + DSView/pv/dsvdef.h + DSView/pv/minizip/zip.h + DSView/pv/minizip/unzip.h + DSView/pv/minizip/ioapi.h + DSView/pv/dialogs/applicationpardlg.h + DSView/pv/dock/keywordlineedit.h + DSView/pv/dock/searchcombobox.h + DSView/pv/dialogs/decoderoptionsdlg.h +) + +#=============================================================================== +#= libsigrok4DSL source +#------------------------------------------------------------------------------- +set(libsigrok4DSL_SOURCES + libsigrok4DSL/version.c + libsigrok4DSL/strutil.c + libsigrok4DSL/std.c + libsigrok4DSL/session_file.c + libsigrok4DSL/session_driver.c + libsigrok4DSL/session.c + libsigrok4DSL/log.c + libsigrok4DSL/hwdriver.c + libsigrok4DSL/error.c + libsigrok4DSL/backend.c + libsigrok4DSL/output/output.c + libsigrok4DSL/input/input.c + libsigrok4DSL/hardware/demo/demo.c + libsigrok4DSL/input/in_binary.c + libsigrok4DSL/input/in_vcd.c + libsigrok4DSL/input/in_wav.c + libsigrok4DSL/output/csv.c + libsigrok4DSL/output/gnuplot.c + libsigrok4DSL/output/srzip.c + libsigrok4DSL/output/vcd.c + libsigrok4DSL/hardware/DSL/dslogic.c + libsigrok4DSL/hardware/common/usb.c + libsigrok4DSL/hardware/common/ezusb.c + libsigrok4DSL/trigger.c + libsigrok4DSL/dsdevice.c + libsigrok4DSL/hardware/DSL/dscope.c + libsigrok4DSL/hardware/DSL/command.c + libsigrok4DSL/hardware/DSL/dsl.c +) + +set(libsigrok4DSL_HEADERS + libsigrok4DSL/version.h + libsigrok4DSL/proto.h + libsigrok4DSL/libsigrok-internal.h + libsigrok4DSL/libsigrok.h + libsigrok4DSL/config.h + libsigrok4DSL/hardware/DSL/command.h + libsigrok4DSL/hardware/DSL/dsl.h +) + +#=============================================================================== +#= libsigrokdecode4DSL source +#------------------------------------------------------------------------------- +set(libsigrokdecode4DSL_SOURCES + libsigrokdecode4DSL/type_decoder.c + libsigrokdecode4DSL/srd.c + libsigrokdecode4DSL/module_sigrokdecode.c + libsigrokdecode4DSL/decoder.c + libsigrokdecode4DSL/error.c + libsigrokdecode4DSL/exception.c + libsigrokdecode4DSL/instance.c + libsigrokdecode4DSL/log.c + libsigrokdecode4DSL/session.c + libsigrokdecode4DSL/util.c + libsigrokdecode4DSL/version.c +) + +set(libsigrokdecode4DSL_HEADERS + libsigrokdecode4DSL/libsigrokdecode-internal.h + libsigrokdecode4DSL/libsigrokdecode.h + libsigrokdecode4DSL/config.h + libsigrokdecode4DSL/version.h +) + +set(DSView_FORMS +) + +set(DSView_RESOURCES + DSView/DSView.qrc + DSView/themes/breeze.qrc + DSView/languages/language.qrc +) + + +if(WIN32) + # Use the DSView icon for the DSView.exe executable. + set(CMAKE_RC_COMPILE_OBJECT "${CMAKE_RC_COMPILER} -O coff -I${CMAKE_CURRENT_SOURCE_DIR} ") + enable_language(RC) + list(APPEND DSView_SOURCES DSView/DSView.rc) +endif() + +if(Qt5Core_FOUND) + qt5_wrap_cpp(DSView_HEADERS_MOC ${DSView_HEADERS}) + qt5_wrap_ui(DSView_FORMS_HEADERS ${DSView_FORMS}) + qt5_add_resources(DSView_RESOURCES_RCC ${DSView_RESOURCES}) +endif() + +#=============================================================================== +#= Global Definitions +#------------------------------------------------------------------------------- + +add_definitions(${QT_DEFINITIONS}) +add_definitions(-Wall -Wextra -Wno-return-type -Wno-ignored-qualifiers) + +if(NOT DISABLE_WERROR) + add_definitions(-Werror) +endif() + +set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") +set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=c99") + +#=============================================================================== +#= Global Include Directories +#------------------------------------------------------------------------------- + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${Boost_INCLUDE_DIRS} + ${QT_INCLUDE_DIRS} +) + +include_directories( + ./DSView + ./libsigrok4DSL + ./libsigrokdecode4DSL +) + +if(STATIC_PKGDEPS_LIBS) + include_directories(${PKGDEPS_STATIC_INCLUDE_DIRS}) +else() + include_directories(${PKGDEPS_INCLUDE_DIRS}) +endif() + +#=============================================================================== +#= Release flags +#------------------------------------------------------------------------------- +set(CMAKE_CXX_FLAGS "-Wall -Wextra") +set(CMAKE_BUILD_TYPE Release) +set(CMAKE_CXX_FLAGS_DEBUG "-g") +set(CMAKE_CXX_FLAGS_RELEASE "-O3") +add_compile_options(-O3) + +#=============================================================================== +#= Linker Configuration +#------------------------------------------------------------------------------- + +link_directories(${Boost_LIBRARY_DIRS}) + +set(DSVIEW_LINK_LIBS + ${CMAKE_THREAD_LIBS_INIT} + ${Boost_LIBRARIES} + ${QT_LIBRARIES} + ${LIBUSB_1_LIBRARIES} + ${FFTW_LIBRARIES} + ${PYTHON_LIBRARIES} + ${GLIB_LIBRARIES} + ${ZLIB_LIBRARIES} + ${PC_LIBZIP_LIBRARIES} +) + +if(STATIC_PKGDEPS_LIBS) + link_directories(${PKGDEPS_STATIC_LIBRARY_DIRS}) + list(APPEND DSVIEW_LINK_LIBS ${PKGDEPS_STATIC_LIBRARIES}) +if(WIN32) + # Workaround for a MinGW linking issue. + list(APPEND PULSEVIEW_LINK_LIBS "-llzma -llcms2") +endif() +else() + link_directories(${PKGDEPS_LIBRARY_DIRS}) + list(APPEND DSVIEW_LINK_LIBS ${PKGDEPS_LIBRARIES}) +endif() + +add_executable(${PROJECT_NAME} + ${DSView_SOURCES} + ${DSView_HEADERS_MOC} + ${DSView_FORMS_HEADERS} + ${DSView_RESOURCES_RCC} + ${libsigrok4DSL_SOURCES} + ${libsigrokdecode4DSL_SOURCES} +) + +target_link_libraries(${PROJECT_NAME} ${DSVIEW_LINK_LIBS}) + +if(WIN32) +# Pass -mwindows so that no "DOS box" will open when PulseView is started. +set_target_properties(${PROJECT_NAME} PROPERTIES LINK_FLAGS "-mwindows") +endif() + +if(ENABLE_COTIRE) + include(cotire) + cotire(${PROJECT_NAME}) +endif() + +set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_SOURCE_DIR}/build") + +#=============================================================================== +#= Installation +#------------------------------------------------------------------------------- + +# Install the executable. +install(TARGETS ${PROJECT_NAME} DESTINATION bin) +install(DIRECTORY DSView/res DESTINATION share/DSView) +install(FILES DSView/icons/logo.svg DESTINATION share/DSView RENAME logo.svg) +install(FILES DSView/icons/logo.svg DESTINATION share/icons/hicolor/scalable/apps RENAME dsview.svg) +install(FILES DSView/icons/logo.svg DESTINATION share/pixmaps RENAME dsview.svg) +install(FILES DSView/DreamSourceLab.rules DESTINATION /lib/udev/rules.d RENAME 60-dreamsourcelab.rules) +install(FILES DSView/DSView.desktop DESTINATION /usr/share/applications RENAME dsview.desktop) + +install(FILES NEWS25 DESTINATION share/DSView RENAME NEWS25) +install(FILES NEWS31 DESTINATION share/DSView RENAME NEWS31) +install(FILES ug25.pdf DESTINATION share/DSView RENAME ug25.pdf) +install(FILES ug31.pdf DESTINATION share/DSView RENAME ug31.pdf) + +install(DIRECTORY libsigrokdecode4DSL/decoders DESTINATION share/libsigrokdecode4DSL) + +#=============================================================================== +#= Packaging (handled by CPack) +#------------------------------------------------------------------------------- + +set(CPACK_PACKAGE_VERSION_MAJOR ${DS_VERSION_MAJOR}) +set(CPACK_PACKAGE_VERSION_MINOR ${DS_VERSION_MINOR}) +set(CPACK_PACKAGE_VERSION_PATCH ${DS_VERSION_MICRO}) +set(CPACK_PACKAGE_DESCRIPTION_FILE ${CMAKE_CURRENT_SOURCE_DIR}/DSView/README) +set(CPACK_RESOURCE_FILE_LICENSE ${CMAKE_CURRENT_SOURCE_DIR}/DSView/COPYING) +set(CPACK_SOURCE_IGNORE_FILES ${CMAKE_CURRENT_BINARY_DIR} ".gitignore" ".git") +set(CPACK_SOURCE_PACKAGE_FILE_NAME + "${CMAKE_PROJECT_NAME}-${DS_VERSION_MAJOR}.${DS_VERSION_MINOR}.${DS_VERSION_MICRO}") +set(CPACK_SOURCE_GENERATOR "TGZ") + +include(CPack) + +#=============================================================================== +#= Tests +#------------------------------------------------------------------------------- + +if(ENABLE_TESTS) + add_subdirectory(test) + enable_testing() + add_test(test ${CMAKE_CURRENT_BINARY_DIR}/DSView/test/DSView-test) +endif(ENABLE_TESTS) + + diff --git a/DSView/CMake/Findlibsigrok4DSL.cmake b/DSView/CMake/Findlibsigrok4DSL.cmake deleted file mode 100755 index 536544d6..00000000 --- a/DSView/CMake/Findlibsigrok4DSL.cmake +++ /dev/null @@ -1,44 +0,0 @@ - -#libsigrok4DSL -#LIBSIGROK4DSL - - -FIND_PATH(LIBSIGROK4DSL_INCLUDE_DIR - NAMES - libsigrok.h - - PATHS - /usr/local/include - /usr/include - - PATH_SUFFIXES - libsigrok4DSL - ) - -FIND_LIBRARY(LIBSIGROK4DSL_LIBRARY - NAMES - sigrok4DSL - - PATHS - /usr/local/lib - /usr/lib - - PATH_SUFFIXES - libsigrok4DSL - ) - -if (LIBSIGROK4DSL_INCLUDE_DIR AND LIBSIGROK4DSL_LIBRARY) - set (LIBSIGROK4DSL_FOUND TRUE) - - set(LIBSIGROK4DSL_INCLUDE_DIRS - ${LIBSIGROK4DSL_INCLUDE_DIR} - ) - - set(LIBSIGROK4DSL_LIBRARYS - ${LIBSIGROK4DSL_LIBRARY} - ) - - message(STATUS "Found libsigrok4DSL:") - message(STATUS " - includes: ${LIBSIGROK4DSL_INCLUDE_DIR}") - message(STATUS " - libraries: ${LIBSIGROK4DSL_LIBRARY}") -endif(LIBSIGROK4DSL_INCLUDE_DIR AND LIBSIGROK4DSL_LIBRARY) diff --git a/DSView/CMake/Findlibsigrokdecode4DSL.cmake b/DSView/CMake/Findlibsigrokdecode4DSL.cmake deleted file mode 100755 index 0c1f8179..00000000 --- a/DSView/CMake/Findlibsigrokdecode4DSL.cmake +++ /dev/null @@ -1,44 +0,0 @@ - -#libsigrokdecode4DSL -#LIBSIGROKDECODE4DSL - -FIND_PATH(LIBSIGROKDECODE4DSL_INCLUDE_DIR - NAMES - libsigrokdecode.h - - PATHS - /usr/local/include - /usr/include - - PATH_SUFFIXES - libsigrokdecode4DSL - ) - -FIND_LIBRARY(LIBSIGROKDECODE4DSL_LIBRARY - NAMES - sigrokdecode4DSL - - PATHS - /usr/local/lib - /usr/lib - - PATH_SUFFIXES - libsigrokdecode4DSL - ) - -if (LIBSIGROKDECODE4DSL_INCLUDE_DIR AND LIBSIGROKDECODE4DSL_LIBRARY) - set (LIBSIGROKDECODE4DSL_FOUND TRUE) - - set(LIBSIGROKDECODE4DSL_INCLUDE_DIRS - ${LIBSIGROKDECODE4DSL_INCLUDE_DIR} - ) - - set(LIBSIGROKDECODE4DSL_LIBRARYS - ${LIBSIGROKDECODE4DSL_LIBRARY} - ) - - message(STATUS "Found libsigrokdecode4DSL:") - message(STATUS " - includes: ${LIBSIGROKDECODE4DSL_INCLUDE_DIR}") - message(STATUS " - libraries: ${LIBSIGROKDECODE4DSL_LIBRARY}") -endif(LIBSIGROKDECODE4DSL_INCLUDE_DIR AND LIBSIGROKDECODE4DSL_LIBRARY) - diff --git a/DSView/CMakeLists.txt b/DSView/CMakeLists.txt deleted file mode 100755 index 09014860..00000000 --- a/DSView/CMakeLists.txt +++ /dev/null @@ -1,518 +0,0 @@ -## -## This file is part of the DSView project. -## -## Copyright (C) 2012 Joel Holdsworth -## Copyright (C) 2012-2013 Alexandru Gagniuc -## Copyright (C) 2013-2014 DreamSourceLab -## -## This program is free software: you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation, either version 2 of the License, or -## (at your option) any later version. -## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with this program. If not, see . -## - -cmake_minimum_required(VERSION 2.8.6) - -include(FindPkgConfig) -include(GNUInstallDirs) - -set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/CMake") - -set(CMAKE_CXX_FLAGS "-Wall -Wextra") -set(CMAKE_BUILD_TYPE Release) -set(CMAKE_CXX_FLAGS_DEBUG "-g") -set(CMAKE_CXX_FLAGS_RELEASE "-O3") - -project(DSView) - -#=============================================================================== -#= User Options -#------------------------------------------------------------------------------- - -option(DISABLE_WERROR "Build without -Werror" TRUE) -option(ENABLE_SIGNALS "Build with UNIX signals" TRUE) -option(ENABLE_COTIRE "Enable cotire" FALSE) -option(ENABLE_TESTS "Enable unit tests" FALSE) -option(STATIC_PKGDEPS_LIBS "Statically link to (pkg-config) libraries" FALSE) -option(FORCE_QT4 "Force use of Qt4 even if Qt5 is available" FALSE) - -if(WIN32) - # On Windows/MinGW we need to statically link to libraries. - # This option is user configurable, but enable it by default on win32. - set(STATIC_PKGDEPS_LIBS TRUE) - - # Windows does not support UNIX signals. - set(ENABLE_SIGNALS FALSE) -endif() - -if(NOT CMAKE_BUILD_TYPE) - set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING - "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel." - FORCE) -endif() - -#=============================================================================== -#= Dependencies -#------------------------------------------------------------------------------- - - -list(APPEND PKGDEPS - "libzip >= 0.10" - "libusb-1.0 >= 1.0.16" -) - -find_package(PkgConfig) -pkg_check_modules(PKGDEPS REQUIRED ${PKGDEPS}) - -pkg_search_module(GLIB REQUIRED glib-2.0) -message("-- glib-2.0:") -MESSAGE(STATUS " - includes:" ${GLIB_INCLUDE_DIRS}) -MESSAGE(STATUS " - libraries:" ${GLIB_LIBRARIES}) -include_directories(${GLIB_INCLUDE_DIRS}) -link_directories(${GLIB_LIBRARIES_DIRS}) - -if(FORCE_QT4) - set(Qt5Core_FOUND FALSE) - message("- Set qt5core fond flase") -else() - #============= - # try to find qt5 package - #============= - find_package(Qt5Core QUIET) -endif() - -if(Qt5Core_FOUND) - message("-- Using Qt5:") - message(" - includes:${Qt5Core_INCLUDE_DIRS}") - find_package(Qt5Widgets REQUIRED) - find_package(Qt5Gui REQUIRED) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${Qt5Widgets_EXECUTABLE_COMPILE_FLAGS}") - set(QT_INCLUDE_DIRS ${Qt5Gui_INCLUDE_DIRS} ${Qt5Widgets_INCLUDE_DIRS}) - set(QT_LIBRARIES Qt5::Gui Qt5::Widgets) - add_definitions(${Qt5Gui_DEFINITIONS} ${Qt5Widgets_DEFINITIONS}) -else() - message(WARNING "-- Have not fond qt5 core, please install it!") - find_program(QT_QMAKE_EXECUTABLE NAMES qmake4 qmake-qt4 qmake-mac) - find_package(Qt4 REQUIRED) -endif() - -find_package(Threads) - -find_package(PythonLibs 3 EXACT) -find_package(Boost 1.42 REQUIRED) -find_package(libusb-1.0 REQUIRED) -find_package(ZLIB REQUIRED) -find_package(libzip REQUIRED) -find_package(FFTW REQUIRED) -find_package(libsigrok4DSL REQUIRED) -find_package(libsigrokdecode4DSL REQUIRED) - - -#=============================================================================== -#= Config Header -#------------------------------------------------------------------------------- - -set(DS_TITLE DSView) -set(DS_DESCRIPTION "A GUI for instruments of DreamSourceLab") - -set(DS_VERSION_MAJOR 1) -set(DS_VERSION_MINOR 2) -set(DS_VERSION_MICRO 0) -set(DS_VERSION_STRING - ${DS_VERSION_MAJOR}.${DS_VERSION_MINOR}.${DS_VERSION_MICRO}-RC6 -) - -configure_file ( - ${PROJECT_SOURCE_DIR}/config.h.in - ${PROJECT_BINARY_DIR}/config.h -) - -#=============================================================================== -#= Sources -#------------------------------------------------------------------------------- - -set(DSView_SOURCES - main.cpp - pv/sigsession.cpp - pv/mainwindow.cpp - pv/devicemanager.cpp - pv/data/snapshot.cpp - pv/data/signaldata.cpp - pv/data/logicsnapshot.cpp - pv/data/logic.cpp - pv/data/analogsnapshot.cpp - pv/data/analog.cpp - pv/dialogs/deviceoptions.cpp - pv/prop/property.cpp - pv/prop/int.cpp - pv/prop/enum.cpp - pv/prop/double.cpp - pv/prop/bool.cpp - pv/prop/binding/binding.cpp - pv/toolbars/samplingbar.cpp - pv/view/viewport.cpp - pv/view/view.cpp - pv/view/timemarker.cpp - pv/view/signal.cpp - pv/view/ruler.cpp - pv/view/logicsignal.cpp - pv/view/header.cpp - pv/view/cursor.cpp - pv/view/analogsignal.cpp - pv/prop/binding/deviceoptions.cpp - pv/toolbars/trigbar.cpp - pv/toolbars/filebar.cpp - pv/dock/protocoldock.cpp - pv/dock/triggerdock.cpp - pv/dock/measuredock.cpp - pv/dock/searchdock.cpp - pv/toolbars/logobar.cpp - pv/data/groupsnapshot.cpp - pv/view/groupsignal.cpp - pv/data/group.cpp - pv/dialogs/about.cpp - pv/dialogs/search.cpp - pv/data/dsosnapshot.cpp - pv/data/dso.cpp - pv/view/dsosignal.cpp - pv/view/dsldial.cpp - pv/dock/dsotriggerdock.cpp - pv/view/trace.cpp - pv/view/selectableitem.cpp - pv/data/decoderstack.cpp - pv/data/decode/rowdata.cpp - pv/data/decode/row.cpp - pv/data/decode/decoder.cpp - pv/data/decode/annotation.cpp - pv/view/decodetrace.cpp - pv/prop/binding/decoderoptions.cpp - pv/widgets/fakelineedit.cpp - pv/widgets/decodermenu.cpp - pv/widgets/decodergroupbox.cpp - pv/prop/string.cpp - pv/device/sessionfile.cpp - pv/device/inputfile.cpp - pv/device/file.cpp - pv/device/devinst.cpp - pv/dialogs/storeprogress.cpp - pv/storesession.cpp - pv/view/devmode.cpp - pv/device/device.cpp - pv/dialogs/waitingdialog.cpp - pv/dialogs/dsomeasure.cpp - pv/dialogs/calibration.cpp - pv/data/decodermodel.cpp - pv/dialogs/protocollist.cpp - pv/dialogs/protocolexp.cpp - pv/dialogs/fftoptions.cpp - pv/data/mathstack.cpp - pv/view/mathtrace.cpp - dsapplication.cpp - pv/toolbars/titlebar.cpp - pv/mainframe.cpp - pv/widgets/border.cpp - pv/dialogs/dsmessagebox.cpp - pv/dialogs/shadow.cpp - pv/dialogs/dsdialog.cpp - pv/dialogs/interval.cpp - pv/prop/binding/probeoptions.cpp - pv/view/viewstatus.cpp - pv/dialogs/lissajousoptions.cpp - pv/view/lissajoustrace.cpp - pv/view/spectrumtrace.cpp - pv/data/spectrumstack.cpp - pv/dialogs/mathoptions.cpp - pv/dialogs/regionoptions.cpp - pv/view/xcursor.cpp - pv/config/appconfig.cpp - pv/appcontrol.cpp - pv/dstimer.cpp - pv/eventobject.cpp - pv/ZipMaker.cpp - pv/data/decode/annotationrestable.cpp - pv/data/decode/decoderstatus.cpp - pv/dock/protocolitemlayer.cpp - pv/ui/msgbox.cpp - pv/ui/dscombobox.cpp - pv/dsvdef.cpp - pv/minizip/zip.c - pv/minizip/unzip.c - pv/minizip/ioapi.c - pv/dialogs/applicationpardlg.cpp - pv/dock/keywordlineedit.cpp - pv/dock/searchcombobox.cpp - pv/dialogs/decoderoptionsdlg.cpp -) - -set(DSView_HEADERS - pv/sigsession.h - pv/mainwindow.h - pv/dialogs/deviceoptions.h - pv/prop/property.h - pv/prop/int.h - pv/prop/enum.h - pv/prop/double.h - pv/prop/bool.h - pv/toolbars/samplingbar.h - pv/view/viewport.h - pv/view/view.h - pv/view/timemarker.h - pv/view/ruler.h - pv/view/header.h - pv/view/cursor.h - pv/toolbars/trigbar.h - pv/toolbars/filebar.h - pv/dock/protocoldock.h - pv/dock/triggerdock.h - pv/dock/measuredock.h - pv/dock/searchdock.h - pv/toolbars/logobar.h - pv/dialogs/about.h - pv/dialogs/search.h - pv/dock/dsotriggerdock.h - pv/view/trace.h - pv/view/selectableitem.h - pv/data/decoderstack.h - pv/view/decodetrace.h - pv/widgets/fakelineedit.h - pv/widgets/decodermenu.h - pv/widgets/decodergroupbox.h - pv/prop/string.h - pv/device/devinst.h - pv/dialogs/storeprogress.h - pv/storesession.h - pv/view/devmode.h - pv/dialogs/waitingdialog.h - pv/dialogs/dsomeasure.h - pv/dialogs/calibration.h - pv/dialogs/protocollist.h - pv/dialogs/protocolexp.h - pv/dialogs/fftoptions.h - pv/data/mathstack.h - pv/view/mathtrace.h - pv/view/viewstatus.h - pv/toolbars/titlebar.h - pv/mainframe.h - pv/widgets/border.h - pv/dialogs/dsmessagebox.h - pv/dialogs/shadow.h - pv/dialogs/dsdialog.h - pv/dialogs/interval.h - pv/dialogs/lissajousoptions.h - pv/view/lissajoustrace.h - pv/view/spectrumtrace.h - pv/data/spectrumstack.h - pv/dialogs/mathoptions.h - pv/dialogs/regionoptions.h - pv/view/xcursor.h - pv/view/signal.h - pv/view/logicsignal.h - pv/view/analogsignal.h - pv/view/dsosignal.h - mystyle.h - pv/config/appconfig.h - pv/appcontrol.h - pv/dstimer.h - pv/eventobject.h - pv/ZipMaker.h - pv/data/decode/annotationrestable.h - pv/data/decode/decoderstatus.h - pv/dock/protocolitemlayer.h - pv/ui/msgbox.h - pv/ui/dscombobox.h - pv/dsvdef.h - pv/minizip/zip.h - pv/minizip/unzip.h - pv/minizip/ioapi.h - pv/dialogs/applicationpardlg.h - pv/dock/keywordlineedit.h - pv/dock/searchcombobox.h - pv/dialogs/decoderoptionsdlg.h -) - -set(DSView_FORMS -) - -set(DSView_RESOURCES - DSView.qrc - themes/breeze.qrc - languages/language.qrc -) - - -list(APPEND DSView_SOURCES - pv/dock/protocoldock.cpp - pv/data/decoderstack.cpp - pv/data/decode/annotation.cpp - pv/data/decode/decoder.cpp - pv/data/decode/row.cpp - pv/data/decode/rowdata.cpp - pv/prop/binding/decoderoptions.cpp - pv/view/decodetrace.cpp - pv/widgets/decodergroupbox.cpp - pv/widgets/decodermenu.cpp -) - -list(APPEND DSView_HEADERS - pv/dock/protocoldock.h - pv/data/decoderstack.h - pv/view/decodetrace.h - pv/widgets/decodergroupbox.h - pv/widgets/decodermenu.h -) - - -if(WIN32) - # Use the DSView icon for the DSView.exe executable. - set(CMAKE_RC_COMPILE_OBJECT "${CMAKE_RC_COMPILER} -O coff -I${CMAKE_CURRENT_SOURCE_DIR} ") - enable_language(RC) - list(APPEND DSView_SOURCES DSView.rc) -endif() - -if(Qt5Core_FOUND) - qt5_wrap_cpp(DSView_HEADERS_MOC ${DSView_HEADERS}) - qt5_wrap_ui(DSView_FORMS_HEADERS ${DSView_FORMS}) - qt5_add_resources(DSView_RESOURCES_RCC ${DSView_RESOURCES}) -else() - qt4_wrap_cpp(DSView_HEADERS_MOC ${DSView_HEADERS}) - qt4_wrap_ui(DSView_FORMS_HEADERS ${DSView_FORMS}) - qt4_add_resources(DSView_RESOURCES_RCC ${DSView_RESOURCES}) - include(${QT_USE_FILE}) -endif() - -#=============================================================================== -#= Global Definitions -#------------------------------------------------------------------------------- - -add_definitions(${QT_DEFINITIONS}) -add_definitions(-std=c++11 -Wall -Wextra -Wno-return-type -Wno-ignored-qualifiers) - -add_definitions(-DENABLE_DECODE) - -if(NOT DISABLE_WERROR) - add_definitions(-Werror) -endif() - -#=============================================================================== -#= Global Include Directories -#------------------------------------------------------------------------------- - -include_directories( - ${CMAKE_CURRENT_BINARY_DIR} - ${CMAKE_CURRENT_SOURCE_DIR} - ${Boost_INCLUDE_DIRS} - ${QT_INCLUDE_DIRS} -) - -if(STATIC_PKGDEPS_LIBS) - include_directories(${PKGDEPS_STATIC_INCLUDE_DIRS}) -else() - include_directories(${PKGDEPS_INCLUDE_DIRS}) -endif() - -#=============================================================================== -#= Linker Configuration -#------------------------------------------------------------------------------- - -link_directories(${Boost_LIBRARY_DIRS}) - -set(DSVIEW_LINK_LIBS - ${Boost_LIBRARIES} - ${CMAKE_THREAD_LIBS_INIT} - ${QT_LIBRARIES} - ${LIBUSB_1_LIBRARIES} - ${FFTW_LIBRARIES} -) - -if(STATIC_PKGDEPS_LIBS) - link_directories(${PKGDEPS_STATIC_LIBRARY_DIRS}) - list(APPEND DSVIEW_LINK_LIBS ${PKGDEPS_STATIC_LIBRARIES}) -if(WIN32) - # Workaround for a MinGW linking issue. - list(APPEND PULSEVIEW_LINK_LIBS "-llzma -llcms2") -endif() -else() - link_directories(${PKGDEPS_LIBRARY_DIRS}) - list(APPEND DSVIEW_LINK_LIBS ${PKGDEPS_LIBRARIES}) -endif() - -list(APPEND DSVIEW_LINK_LIBS ${PYTHON_LIBRARIES}) - -add_executable(${PROJECT_NAME} - ${DSView_SOURCES} - ${DSView_HEADERS_MOC} - ${DSView_FORMS_HEADERS} - ${DSView_RESOURCES_RCC} -) - -target_link_libraries(${PROJECT_NAME} ${DSVIEW_LINK_LIBS}) - -if(WIN32) -# Pass -mwindows so that no "DOS box" will open when PulseView is started. -set_target_properties(${PROJECT_NAME} PROPERTIES LINK_FLAGS "-mwindows") -endif() - -target_link_libraries(${PROJECT_NAME} -lz) -target_link_libraries(${PROJECT_NAME} ${GLIB_LIBRARIES}) -target_link_libraries(${PROJECT_NAME} ${LIBSIGROK4DSL_LIBRARY}) -target_link_libraries(${PROJECT_NAME} ${LIBSIGROKDECODE4DSL_LIBRARY}) -target_link_libraries(${PROJECT_NAME} ${LIBUSB_1_LIBRARIES}) -target_link_libraries(${PROJECT_NAME} ${PYTHON_LIBRARIES}) -target_link_libraries(${PROJECT_NAME} ${FFTW_LIBRARYS}) - -if(ENABLE_COTIRE) - include(cotire) - cotire(${PROJECT_NAME}) -endif() -set_target_properties(${PROJECT_NAME} PROPERTIES INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib") - -#=============================================================================== -#= Installation -#------------------------------------------------------------------------------- - -# Install the executable. -install(TARGETS ${PROJECT_NAME} DESTINATION bin) -install(DIRECTORY res DESTINATION share/${PROJECT_NAME}) -install(FILES icons/logo.svg DESTINATION share/${PROJECT_NAME} RENAME logo.svg) -install(FILES icons/logo.svg DESTINATION share/icons/hicolor/scalable/apps RENAME dsview.svg) -install(FILES icons/logo.svg DESTINATION share/pixmaps RENAME dsview.svg) -install(FILES ../NEWS25 DESTINATION share/${PROJECT_NAME} RENAME NEWS25) -install(FILES ../NEWS31 DESTINATION share/${PROJECT_NAME} RENAME NEWS31) -install(FILES ../ug25.pdf DESTINATION share/${PROJECT_NAME} RENAME ug25.pdf) -install(FILES ../ug31.pdf DESTINATION share/${PROJECT_NAME} RENAME ug31.pdf) -install(FILES DreamSourceLab.rules DESTINATION /lib/udev/rules.d RENAME 60-dreamsourcelab.rules) -install(FILES DSView.desktop DESTINATION /usr/share/applications RENAME dsview.desktop) - -#=============================================================================== -#= Packaging (handled by CPack) -#------------------------------------------------------------------------------- - -set(CPACK_PACKAGE_VERSION_MAJOR ${DS_VERSION_MAJOR}) -set(CPACK_PACKAGE_VERSION_MINOR ${DS_VERSION_MINOR}) -set(CPACK_PACKAGE_VERSION_PATCH ${DS_VERSION_MICRO}) -set(CPACK_PACKAGE_DESCRIPTION_FILE ${CMAKE_CURRENT_SOURCE_DIR}/README) -set(CPACK_RESOURCE_FILE_LICENSE ${CMAKE_CURRENT_SOURCE_DIR}/COPYING) -set(CPACK_SOURCE_IGNORE_FILES ${CMAKE_CURRENT_BINARY_DIR} ".gitignore" ".git") -set(CPACK_SOURCE_PACKAGE_FILE_NAME - "${CMAKE_PROJECT_NAME}-${DS_VERSION_MAJOR}.${DS_VERSION_MINOR}.${DS_VERSION_MICRO}") -set(CPACK_SOURCE_GENERATOR "TGZ") - -include(CPack) - -#=============================================================================== -#= Tests -#------------------------------------------------------------------------------- - -if(ENABLE_TESTS) - add_subdirectory(test) - enable_testing() - add_test(test ${CMAKE_CURRENT_BINARY_DIR}/test/DSView-test) -endif(ENABLE_TESTS) diff --git a/DSView/INSTALL b/DSView/INSTALL deleted file mode 100755 index bb41a599..00000000 --- a/DSView/INSTALL +++ /dev/null @@ -1,49 +0,0 @@ -------------------------------------------------------------------------------- -INSTALL -------------------------------------------------------------------------------- - -Requirements ------------- - - - git - - g++ - - make - - libtool - - pkg-config >= 0.22 - - cmake >= 2.6 - - libglib >= 2.28.0 - - Qt >= 4.5 - - libboost >= 1.42 (including the following libs): - - libboost-system - - libboost-thread - - libsigrok4DSL >= 0.2.0 - - -Building and installing ------------------------ -Get the DSView source code from: www.dreamsourcelab.com/download.html -In order to build it, run: - - $ cd DSView - $ cmake . - $ make - -For installing PulseView: - - $ make install - -See the following wiki page for more (OS-specific) instructions: - - http://sigrok.org/wiki/Building - - -Creating a source distribution package --------------------------------------- - -In order to build a source package begin with an unconfigured source tree. - - $ mkdir dist - $ cd dist - $ cmake .. - $ make package_source - diff --git a/DSView/clean b/DSView/clean deleted file mode 100755 index a25331be..00000000 --- a/DSView/clean +++ /dev/null @@ -1,13 +0,0 @@ -echo "rm cmake cache begin..." -rm ./cmake_install.cmake -rm -r ./CMakeFiles -rm ./Makefile -rm ./CMakeCache.txt -rm ./*.cmake -rm ./DSView -rm ./DSView.qrc.depends -sudo rm ./install_manifest.txt - -find . -name 'moc_*.cpp*' | xargs rm -rf -find . -name 'qrc_*.cpp' | xargs rm -rf -echo "rm cmake cache end..." diff --git a/DSView/config.h b/DSView/config.h index ca7cd7d1..c48851fa 100755 --- a/DSView/config.h +++ b/DSView/config.h @@ -30,6 +30,6 @@ #define DS_VERSION_MAJOR 1 #define DS_VERSION_MINOR 2 #define DS_VERSION_MICRO 0 -#define DS_VERSION_STRING "1.2.0-RC6" +#define DS_VERSION_STRING "1.2.0-RC7" #endif diff --git a/DSView/main.cpp b/DSView/main.cpp index 2f1cbb53..8d08b0c7 100755 --- a/DSView/main.cpp +++ b/DSView/main.cpp @@ -41,8 +41,7 @@ #ifdef _WIN32 #include #endif - -//#include + void usage() { diff --git a/DSView/pv/appcontrol.cpp b/DSView/pv/appcontrol.cpp index 280e9ce4..a86b8d67 100644 --- a/DSView/pv/appcontrol.cpp +++ b/DSView/pv/appcontrol.cpp @@ -21,8 +21,8 @@ #include "appcontrol.h" -#include -#include +#include "libsigrok.h" +#include "libsigrokdecode.h" #include #include #include diff --git a/DSView/pv/data/analogsnapshot.h b/DSView/pv/data/analogsnapshot.h index e9716a45..5f3cf246 100755 --- a/DSView/pv/data/analogsnapshot.h +++ b/DSView/pv/data/analogsnapshot.h @@ -24,7 +24,7 @@ #ifndef DSVIEW_PV_DATA_ANALOGSNAPSHOT_H #define DSVIEW_PV_DATA_ANALOGSNAPSHOT_H -#include +#include "libsigrok.h" #include "snapshot.h" diff --git a/DSView/pv/data/decode/annotation.cpp b/DSView/pv/data/decode/annotation.cpp index 6fa853d3..1deb8bb0 100755 --- a/DSView/pv/data/decode/annotation.cpp +++ b/DSView/pv/data/decode/annotation.cpp @@ -20,7 +20,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#include +#include "libsigrokdecode.h" #include #include diff --git a/DSView/pv/data/decode/decoder.cpp b/DSView/pv/data/decode/decoder.cpp index 7a7c2877..0abbf846 100755 --- a/DSView/pv/data/decode/decoder.cpp +++ b/DSView/pv/data/decode/decoder.cpp @@ -20,7 +20,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#include +#include "libsigrokdecode.h" #include "decoder.h" #include diff --git a/DSView/pv/data/decode/row.cpp b/DSView/pv/data/decode/row.cpp index 47425af6..3f0d3f5a 100755 --- a/DSView/pv/data/decode/row.cpp +++ b/DSView/pv/data/decode/row.cpp @@ -21,7 +21,7 @@ #include "row.h" -#include +#include "libsigrokdecode.h" #include namespace pv { diff --git a/DSView/pv/data/decodermodel.cpp b/DSView/pv/data/decodermodel.cpp index 0b92e580..26a6bef2 100755 --- a/DSView/pv/data/decodermodel.cpp +++ b/DSView/pv/data/decodermodel.cpp @@ -19,7 +19,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#include +#include "libsigrokdecode.h" #include "decode/annotation.h" #include "decode/rowdata.h" diff --git a/DSView/pv/data/decoderstack.h b/DSView/pv/data/decoderstack.h index c3093196..8efdd931 100755 --- a/DSView/pv/data/decoderstack.h +++ b/DSView/pv/data/decoderstack.h @@ -23,7 +23,7 @@ #ifndef DSVIEW_PV_DATA_DECODERSTACK_H #define DSVIEW_PV_DATA_DECODERSTACK_H -#include +#include "libsigrokdecode.h" #include #include #include diff --git a/DSView/pv/data/dsosnapshot.h b/DSView/pv/data/dsosnapshot.h index b32eb78f..6b89d88e 100755 --- a/DSView/pv/data/dsosnapshot.h +++ b/DSView/pv/data/dsosnapshot.h @@ -27,7 +27,7 @@ #include #include -#include +#include "libsigrok.h" #include "snapshot.h" namespace DsoSnapshotTest { diff --git a/DSView/pv/data/logicsnapshot.h b/DSView/pv/data/logicsnapshot.h index d30d87e8..096be5d2 100755 --- a/DSView/pv/data/logicsnapshot.h +++ b/DSView/pv/data/logicsnapshot.h @@ -24,7 +24,7 @@ #ifndef DSVIEW_PV_DATA_LOGICSNAPSHOT_H #define DSVIEW_PV_DATA_LOGICSNAPSHOT_H -#include +#include "libsigrok.h" #include "snapshot.h" diff --git a/DSView/pv/device/devinst.h b/DSView/pv/device/devinst.h index 83b1a884..641b088f 100755 --- a/DSView/pv/device/devinst.h +++ b/DSView/pv/device/devinst.h @@ -28,7 +28,7 @@ #include #include -#include +#include "libsigrok.h" struct sr_dev_inst; struct sr_channel; diff --git a/DSView/pv/dialogs/decoderoptionsdlg.cpp b/DSView/pv/dialogs/decoderoptionsdlg.cpp index e5510d35..0bf32cbb 100644 --- a/DSView/pv/dialogs/decoderoptionsdlg.cpp +++ b/DSView/pv/dialogs/decoderoptionsdlg.cpp @@ -20,7 +20,7 @@ */ #include "decoderoptionsdlg.h" -#include +#include "libsigrokdecode.h" #include #include #include diff --git a/DSView/pv/dialogs/deviceoptions.h b/DSView/pv/dialogs/deviceoptions.h index 7c4d1cdd..272a7a58 100755 --- a/DSView/pv/dialogs/deviceoptions.h +++ b/DSView/pv/dialogs/deviceoptions.h @@ -37,7 +37,7 @@ #include #include -#include +#include "libsigrok.h" #include "../device/devinst.h" #include "../prop/binding/deviceoptions.h" #include "../prop/binding/probeoptions.h" diff --git a/DSView/pv/dock/protocoldock.h b/DSView/pv/dock/protocoldock.h index 141b9a41..8d893df0 100755 --- a/DSView/pv/dock/protocoldock.h +++ b/DSView/pv/dock/protocoldock.h @@ -23,7 +23,7 @@ #ifndef DSVIEW_PV_PROTOCOLDOCK_H #define DSVIEW_PV_PROTOCOLDOCK_H -#include +#include "libsigrokdecode.h" #include #include diff --git a/DSView/pv/dock/triggerdock.cpp b/DSView/pv/dock/triggerdock.cpp index 962f6a9f..cf09043c 100755 --- a/DSView/pv/dock/triggerdock.cpp +++ b/DSView/pv/dock/triggerdock.cpp @@ -35,7 +35,7 @@ #include #include -#include +#include "libsigrok.h" namespace pv { namespace dock { diff --git a/DSView/pv/prop/binding/decoderoptions.cpp b/DSView/pv/prop/binding/decoderoptions.cpp index 0b687f2a..e7162ff0 100755 --- a/DSView/pv/prop/binding/decoderoptions.cpp +++ b/DSView/pv/prop/binding/decoderoptions.cpp @@ -19,12 +19,10 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#include +#include "libsigrokdecode.h" #include "decoderoptions.h" - -#include - +#include #include #include "../../data/decoderstack.h" diff --git a/DSView/pv/prop/binding/deviceoptions.h b/DSView/pv/prop/binding/deviceoptions.h index 6de00e81..24909e98 100755 --- a/DSView/pv/prop/binding/deviceoptions.h +++ b/DSView/pv/prop/binding/deviceoptions.h @@ -29,7 +29,7 @@ #include -#include +#include "libsigrok.h" #include "binding.h" namespace pv { diff --git a/DSView/pv/prop/binding/probeoptions.h b/DSView/pv/prop/binding/probeoptions.h index 3d82c719..b8c08938 100755 --- a/DSView/pv/prop/binding/probeoptions.h +++ b/DSView/pv/prop/binding/probeoptions.h @@ -28,7 +28,7 @@ #include -#include +#include "libsigrok.h" #include "binding.h" namespace pv { diff --git a/DSView/pv/sigsession.cpp b/DSView/pv/sigsession.cpp index 8c2126d0..416bd570 100755 --- a/DSView/pv/sigsession.cpp +++ b/DSView/pv/sigsession.cpp @@ -21,8 +21,7 @@ */ -#include - +#include "libsigrokdecode.h" #include "sigsession.h" #include "mainwindow.h" diff --git a/DSView/pv/sigsession.h b/DSView/pv/sigsession.h index 73445000..b3d88a17 100755 --- a/DSView/pv/sigsession.h +++ b/DSView/pv/sigsession.h @@ -37,7 +37,7 @@ #include "interface/icallbacks.h" #include "dstimer.h" -#include +#include "libsigrok.h" struct srd_decoder; struct srd_channel; diff --git a/DSView/pv/storesession.cpp b/DSView/pv/storesession.cpp index 77090213..e521caf3 100755 --- a/DSView/pv/storesession.cpp +++ b/DSView/pv/storesession.cpp @@ -56,7 +56,7 @@ #include #endif -#include +#include "libsigrokdecode.h" #include "config/appconfig.h" #include "dsvdef.h" diff --git a/DSView/pv/storesession.h b/DSView/pv/storesession.h index 4130b880..caabaed6 100755 --- a/DSView/pv/storesession.h +++ b/DSView/pv/storesession.h @@ -27,7 +27,7 @@ #include #include #include -#include +#include "libsigrok.h" #include "interface/icallbacks.h" diff --git a/DSView/pv/toolbars/logobar.h b/DSView/pv/toolbars/logobar.h index 62edf003..2ec47acc 100755 --- a/DSView/pv/toolbars/logobar.h +++ b/DSView/pv/toolbars/logobar.h @@ -27,7 +27,7 @@ #include #include #include -#include +#include "libsigrok.h" #include "../sigsession.h" #include "../interface/uicallback.h" diff --git a/DSView/pv/view/decodetrace.cpp b/DSView/pv/view/decodetrace.cpp index 464515f7..ca3df9ef 100755 --- a/DSView/pv/view/decodetrace.cpp +++ b/DSView/pv/view/decodetrace.cpp @@ -20,13 +20,11 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#include +#include "libsigrokdecode.h" #include "../dsvdef.h" - #include - #include #include #include diff --git a/DSView/pv/view/devmode.h b/DSView/pv/view/devmode.h index 8ad6bbd0..6159ce7b 100755 --- a/DSView/pv/view/devmode.h +++ b/DSView/pv/view/devmode.h @@ -34,7 +34,7 @@ #include #include -#include +#include "libsigrok.h" namespace pv { diff --git a/DSView/pv/view/logicsignal.cpp b/DSView/pv/view/logicsignal.cpp index 636f4db9..5d37cd44 100755 --- a/DSView/pv/view/logicsignal.cpp +++ b/DSView/pv/view/logicsignal.cpp @@ -20,7 +20,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#include +#include "libsigrokdecode.h" #include #include diff --git a/DSView/pv/view/signal.h b/DSView/pv/view/signal.h index 931d54b6..75f2b935 100755 --- a/DSView/pv/view/signal.h +++ b/DSView/pv/view/signal.h @@ -34,7 +34,7 @@ #include #include -#include +#include "libsigrok.h" #include "trace.h" namespace pv { diff --git a/DSView/pv/view/viewstatus.h b/DSView/pv/view/viewstatus.h index c4125ca3..50426621 100755 --- a/DSView/pv/view/viewstatus.h +++ b/DSView/pv/view/viewstatus.h @@ -28,7 +28,7 @@ #include #include -#include +#include "libsigrok.h" namespace pv { diff --git a/DSView/pv/widgets/decodergroupbox.cpp b/DSView/pv/widgets/decodergroupbox.cpp index d40a0418..2d402bbb 100755 --- a/DSView/pv/widgets/decodergroupbox.cpp +++ b/DSView/pv/widgets/decodergroupbox.cpp @@ -19,7 +19,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#include +#include "libsigrokdecode.h" #include "decodergroupbox.h" #include "../data/decoderstack.h" diff --git a/DSView/pv/widgets/decodermenu.cpp b/DSView/pv/widgets/decodermenu.cpp index f0a7a201..4f750859 100755 --- a/DSView/pv/widgets/decodermenu.cpp +++ b/DSView/pv/widgets/decodermenu.cpp @@ -19,7 +19,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ -#include +#include "libsigrokdecode.h" #include "decodermenu.h" #include diff --git a/INSTALL b/INSTALL index ce837d86..d8be814f 100755 --- a/INSTALL +++ b/INSTALL @@ -26,16 +26,13 @@ Requirements - check >= 0.9.4 (optional, only needed to run unit tests) - libfftw3 >= 3.3 - zlib (on ubuntu, zlib package name is zlib1g-dev) + + Building and installing ----------------------- -Step1: Get the DSView source code, and switch to right branch, the newest branch is dev-tai - $ git clone git://github.com/DreamSourceLab/DSView - - - -Step2: Installing the requirements: +Step1: Installing the requirements: please check your respective distro's package manager tool if you use other distros Debian/Ubuntu: @@ -53,39 +50,15 @@ Arch: python boost qt5 fftw +Step2: Get the DSView source code + $ git clone https://github.com/DreamSourceLab/DSView + Step3: Building - - $ cd libsigrok4DSL - $ ./autogen.sh - $ ./configure - $ make - $ sudo make install - $ cd .. - - $ cd libsigrokdecode4DSL - $ ./autogen.sh - $ ./configure - $ make - $ sudo make install - $ cd .. - - $ cd DSView $ cmake . - -/* - * If this step fails, - * make sure that your pkg-config is properly configured - * to find the libsigrok and libsigrokdecode libraries - * (It's not by default in Fedora 23). - * To do this add "export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig" - * or "export PKG_CONFIG_PATH=/usr/lib/pkgconfig" - * or "export PKG_CONFIG_PATH=/usr/lib64/pkgconfig" - * to your ~/.bashrc and reload it `. ~/.bashrc`. - */ - - $ make + $ make $ sudo make install See the following wiki page for more (OS-specific) instructions: http://sigrok.org/wiki/Building + diff --git a/clean b/clean new file mode 100755 index 00000000..6b568a40 --- /dev/null +++ b/clean @@ -0,0 +1 @@ +./cmake_clear diff --git a/DSView/cmake_clear b/cmake_clear similarity index 83% rename from DSView/cmake_clear rename to cmake_clear index bdbf6674..2a3d82ae 100755 --- a/DSView/cmake_clear +++ b/cmake_clear @@ -1,12 +1,16 @@ echo "rm cmake cache begin..." -rm ./cmake_install.cmake + +sudo rm -r ./build rm -r ./CMakeFiles + +rm ./cmake_install.cmake rm ./Makefile rm ./CMakeCache.txt rm ./*.cmake -rm ./DSView rm ./DSView.qrc.depends -#rm ./install_manifest.txt + find . -name 'moc_*.cpp*' | xargs rm -rf find . -name 'qrc_*.cpp' | xargs rm -rf + +rm ./install_manifest.txt echo "rm cmake cache end..." diff --git a/libsigrok4DSL/INSTALL b/libsigrok4DSL/INSTALL deleted file mode 100755 index a1e89e18..00000000 --- a/libsigrok4DSL/INSTALL +++ /dev/null @@ -1,370 +0,0 @@ -Installation Instructions -************************* - -Copyright (C) 1994-1996, 1999-2002, 2004-2011 Free Software Foundation, -Inc. - - Copying and distribution of this file, with or without modification, -are permitted in any medium without royalty provided the copyright -notice and this notice are preserved. This file is offered as-is, -without warranty of any kind. - -Basic Installation -================== - - Briefly, the shell commands `./configure; make; make install' should -configure, build, and install this package. The following -more-detailed instructions are generic; see the `README' file for -instructions specific to this package. Some packages provide this -`INSTALL' file but do not implement all of the features documented -below. The lack of an optional feature in a given package is not -necessarily a bug. More recommendations for GNU packages can be found -in *note Makefile Conventions: (standards)Makefile Conventions. - - The `configure' shell script attempts to guess correct values for -various system-dependent variables used during compilation. It uses -those values to create a `Makefile' in each directory of the package. -It may also create one or more `.h' files containing system-dependent -definitions. Finally, it creates a shell script `config.status' that -you can run in the future to recreate the current configuration, and a -file `config.log' containing compiler output (useful mainly for -debugging `configure'). - - It can also use an optional file (typically called `config.cache' -and enabled with `--cache-file=config.cache' or simply `-C') that saves -the results of its tests to speed up reconfiguring. Caching is -disabled by default to prevent problems with accidental use of stale -cache files. - - If you need to do unusual things to compile the package, please try -to figure out how `configure' could check whether to do them, and mail -diffs or instructions to the address given in the `README' so they can -be considered for the next release. If you are using the cache, and at -some point `config.cache' contains results you don't want to keep, you -may remove or edit it. - - The file `configure.ac' (or `configure.in') is used to create -`configure' by a program called `autoconf'. You need `configure.ac' if -you want to change it or regenerate `configure' using a newer version -of `autoconf'. - - The simplest way to compile this package is: - - 1. `cd' to the directory containing the package's source code and type - `./configure' to configure the package for your system. - - Running `configure' might take a while. While running, it prints - some messages telling which features it is checking for. - - 2. Type `make' to compile the package. - - 3. Optionally, type `make check' to run any self-tests that come with - the package, generally using the just-built uninstalled binaries. - - 4. Type `make install' to install the programs and any data files and - documentation. When installing into a prefix owned by root, it is - recommended that the package be configured and built as a regular - user, and only the `make install' phase executed with root - privileges. - - 5. Optionally, type `make installcheck' to repeat any self-tests, but - this time using the binaries in their final installed location. - This target does not install anything. Running this target as a - regular user, particularly if the prior `make install' required - root privileges, verifies that the installation completed - correctly. - - 6. You can remove the program binaries and object files from the - source code directory by typing `make clean'. To also remove the - files that `configure' created (so you can compile the package for - a different kind of computer), type `make distclean'. There is - also a `make maintainer-clean' target, but that is intended mainly - for the package's developers. If you use it, you may have to get - all sorts of other programs in order to regenerate files that came - with the distribution. - - 7. Often, you can also type `make uninstall' to remove the installed - files again. In practice, not all packages have tested that - uninstallation works correctly, even though it is required by the - GNU Coding Standards. - - 8. Some packages, particularly those that use Automake, provide `make - distcheck', which can by used by developers to test that all other - targets like `make install' and `make uninstall' work correctly. - This target is generally not run by end users. - -Compilers and Options -===================== - - Some systems require unusual options for compilation or linking that -the `configure' script does not know about. Run `./configure --help' -for details on some of the pertinent environment variables. - - You can give `configure' initial values for configuration parameters -by setting variables in the command line or in the environment. Here -is an example: - - ./configure CC=c99 CFLAGS=-g LIBS=-lposix - - *Note Defining Variables::, for more details. - -Compiling For Multiple Architectures -==================================== - - You can compile the package for more than one kind of computer at the -same time, by placing the object files for each architecture in their -own directory. To do this, you can use GNU `make'. `cd' to the -directory where you want the object files and executables to go and run -the `configure' script. `configure' automatically checks for the -source code in the directory that `configure' is in and in `..'. This -is known as a "VPATH" build. - - With a non-GNU `make', it is safer to compile the package for one -architecture at a time in the source code directory. After you have -installed the package for one architecture, use `make distclean' before -reconfiguring for another architecture. - - On MacOS X 10.5 and later systems, you can create libraries and -executables that work on multiple system types--known as "fat" or -"universal" binaries--by specifying multiple `-arch' options to the -compiler but only a single `-arch' option to the preprocessor. Like -this: - - ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ - CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ - CPP="gcc -E" CXXCPP="g++ -E" - - This is not guaranteed to produce working output in all cases, you -may have to build one architecture at a time and combine the results -using the `lipo' tool if you have problems. - -Installation Names -================== - - By default, `make install' installs the package's commands under -`/usr/local/bin', include files under `/usr/local/include', etc. You -can specify an installation prefix other than `/usr/local' by giving -`configure' the option `--prefix=PREFIX', where PREFIX must be an -absolute file name. - - You can specify separate installation prefixes for -architecture-specific files and architecture-independent files. If you -pass the option `--exec-prefix=PREFIX' to `configure', the package uses -PREFIX as the prefix for installing programs and libraries. -Documentation and other data files still use the regular prefix. - - In addition, if you use an unusual directory layout you can give -options like `--bindir=DIR' to specify different values for particular -kinds of files. Run `configure --help' for a list of the directories -you can set and what kinds of files go in them. In general, the -default for these options is expressed in terms of `${prefix}', so that -specifying just `--prefix' will affect all of the other directory -specifications that were not explicitly provided. - - The most portable way to affect installation locations is to pass the -correct locations to `configure'; however, many packages provide one or -both of the following shortcuts of passing variable assignments to the -`make install' command line to change installation locations without -having to reconfigure or recompile. - - The first method involves providing an override variable for each -affected directory. For example, `make install -prefix=/alternate/directory' will choose an alternate location for all -directory configuration variables that were expressed in terms of -`${prefix}'. Any directories that were specified during `configure', -but not in terms of `${prefix}', must each be overridden at install -time for the entire installation to be relocated. The approach of -makefile variable overrides for each directory variable is required by -the GNU Coding Standards, and ideally causes no recompilation. -However, some platforms have known limitations with the semantics of -shared libraries that end up requiring recompilation when using this -method, particularly noticeable in packages that use GNU Libtool. - - The second method involves providing the `DESTDIR' variable. For -example, `make install DESTDIR=/alternate/directory' will prepend -`/alternate/directory' before all installation names. The approach of -`DESTDIR' overrides is not required by the GNU Coding Standards, and -does not work on platforms that have drive letters. On the other hand, -it does better at avoiding recompilation issues, and works well even -when some directory options were not specified in terms of `${prefix}' -at `configure' time. - -Optional Features -================= - - If the package supports it, you can cause programs to be installed -with an extra prefix or suffix on their names by giving `configure' the -option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. - - Some packages pay attention to `--enable-FEATURE' options to -`configure', where FEATURE indicates an optional part of the package. -They may also pay attention to `--with-PACKAGE' options, where PACKAGE -is something like `gnu-as' or `x' (for the X Window System). The -`README' should mention any `--enable-' and `--with-' options that the -package recognizes. - - For packages that use the X Window System, `configure' can usually -find the X include and library files automatically, but if it doesn't, -you can use the `configure' options `--x-includes=DIR' and -`--x-libraries=DIR' to specify their locations. - - Some packages offer the ability to configure how verbose the -execution of `make' will be. For these packages, running `./configure ---enable-silent-rules' sets the default to minimal output, which can be -overridden with `make V=1'; while running `./configure ---disable-silent-rules' sets the default to verbose, which can be -overridden with `make V=0'. - -Particular systems -================== - - On HP-UX, the default C compiler is not ANSI C compatible. If GNU -CC is not installed, it is recommended to use the following options in -order to use an ANSI C compiler: - - ./configure CC="cc -Ae -D_XOPEN_SOURCE=500" - -and if that doesn't work, install pre-built binaries of GCC for HP-UX. - - HP-UX `make' updates targets which have the same time stamps as -their prerequisites, which makes it generally unusable when shipped -generated files such as `configure' are involved. Use GNU `make' -instead. - - On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot -parse its `' header file. The option `-nodtk' can be used as -a workaround. If GNU CC is not installed, it is therefore recommended -to try - - ./configure CC="cc" - -and if that doesn't work, try - - ./configure CC="cc -nodtk" - - On Solaris, don't put `/usr/ucb' early in your `PATH'. This -directory contains several dysfunctional programs; working variants of -these programs are available in `/usr/bin'. So, if you need `/usr/ucb' -in your `PATH', put it _after_ `/usr/bin'. - - On Haiku, software installed for all users goes in `/boot/common', -not `/usr/local'. It is recommended to use the following options: - - ./configure --prefix=/boot/common - -Specifying the System Type -========================== - - There may be some features `configure' cannot figure out -automatically, but needs to determine by the type of machine the package -will run on. Usually, assuming the package is built to be run on the -_same_ architectures, `configure' can figure that out, but if it prints -a message saying it cannot guess the machine type, give it the -`--build=TYPE' option. TYPE can either be a short name for the system -type, such as `sun4', or a canonical name which has the form: - - CPU-COMPANY-SYSTEM - -where SYSTEM can have one of these forms: - - OS - KERNEL-OS - - See the file `config.sub' for the possible values of each field. If -`config.sub' isn't included in this package, then this package doesn't -need to know the machine type. - - If you are _building_ compiler tools for cross-compiling, you should -use the option `--target=TYPE' to select the type of system they will -produce code for. - - If you want to _use_ a cross compiler, that generates code for a -platform different from the build platform, you should specify the -"host" platform (i.e., that on which the generated programs will -eventually be run) with `--host=TYPE'. - -Sharing Defaults -================ - - If you want to set default values for `configure' scripts to share, -you can create a site shell script called `config.site' that gives -default values for variables like `CC', `cache_file', and `prefix'. -`configure' looks for `PREFIX/share/config.site' if it exists, then -`PREFIX/etc/config.site' if it exists. Or, you can set the -`CONFIG_SITE' environment variable to the location of the site script. -A warning: not all `configure' scripts look for a site script. - -Defining Variables -================== - - Variables not defined in a site shell script can be set in the -environment passed to `configure'. However, some packages may run -configure again during the build, and the customized values of these -variables may be lost. In order to avoid this problem, you should set -them in the `configure' command line, using `VAR=value'. For example: - - ./configure CC=/usr/local2/bin/gcc - -causes the specified `gcc' to be used as the C compiler (unless it is -overridden in the site shell script). - -Unfortunately, this technique does not work for `CONFIG_SHELL' due to -an Autoconf bug. Until the bug is fixed you can use this workaround: - - CONFIG_SHELL=/bin/bash /bin/bash ./configure CONFIG_SHELL=/bin/bash - -`configure' Invocation -====================== - - `configure' recognizes the following options to control how it -operates. - -`--help' -`-h' - Print a summary of all of the options to `configure', and exit. - -`--help=short' -`--help=recursive' - Print a summary of the options unique to this package's - `configure', and exit. The `short' variant lists options used - only in the top level, while the `recursive' variant lists options - also present in any nested packages. - -`--version' -`-V' - Print the version of Autoconf used to generate the `configure' - script, and exit. - -`--cache-file=FILE' - Enable the cache: use and save the results of the tests in FILE, - traditionally `config.cache'. FILE defaults to `/dev/null' to - disable caching. - -`--config-cache' -`-C' - Alias for `--cache-file=config.cache'. - -`--quiet' -`--silent' -`-q' - Do not print messages saying which checks are being made. To - suppress all normal output, redirect it to `/dev/null' (any error - messages will still be shown). - -`--srcdir=DIR' - Look for the package's source code in directory DIR. Usually - `configure' can determine that directory automatically. - -`--prefix=DIR' - Use DIR as the installation prefix. *note Installation Names:: - for more details, including other options available for fine-tuning - the installation locations. - -`--no-create' -`-n' - Run the configure checks, but stop before creating any output - files. - -`configure' also accepts some other, not widely useful, options. Run -`configure --help' for more details. - diff --git a/libsigrok4DSL/Makefile.am b/libsigrok4DSL/Makefile.am deleted file mode 100755 index e882c0e2..00000000 --- a/libsigrok4DSL/Makefile.am +++ /dev/null @@ -1,73 +0,0 @@ -## -## This file is part of the libsigrok4DSL project. -## -## Copyright (C) 2010-2012 Bert Vermeulen -## Copyright (C) 2012 Alexandru Gagniuc -## -## This program is free software: you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation, either version 3 of the License, or -## (at your option) any later version. -## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with this program. If not, see . -## - -ACLOCAL_AMFLAGS = -I autostuff - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - -I/usr/include/glib-2.0 - -export AM_CPPFLAGS - - -SUBDIRS = hardware input output tests - -lib_LTLIBRARIES = libsigrok4DSL.la - -libsigrok4DSL_la_SOURCES = \ - backend.c \ - dsdevice.c \ - session.c \ - session_file.c \ - session_driver.c \ - hwdriver.c \ - strutil.c \ - log.c \ - trigger.c \ - version.c \ - error.c \ - std.c - -libsigrok4DSL_la_LIBADD = \ - $(LIBOBJS) \ - hardware/libsigrok4DSLhardware.la \ - input/libsigrok4DSLinput.la \ - output/libsigrok4DSLoutput.la - - -libsigrok4DSL_la_LDFLAGS = $(SR_LIB_LDFLAGS) - -library_includedir = $(includedir)/libsigrok4DSL -library_include_HEADERS = libsigrok.h proto.h version.h -noinst_HEADERS = libsigrok-internal.h - -pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = libsigrok4DSL.pc - -EXTRA_DIST = Doxyfile README.devices - -MAINTAINERCLEANFILES = ChangeLog - -.PHONY: ChangeLog -ChangeLog: - git --git-dir $(top_srcdir)/.git log > ChangeLog || touch ChangeLog - -dist-hook: ChangeLog - diff --git a/libsigrok4DSL/autogen.sh b/libsigrok4DSL/autogen.sh deleted file mode 100755 index f683d318..00000000 --- a/libsigrok4DSL/autogen.sh +++ /dev/null @@ -1,60 +0,0 @@ -#!/bin/sh -## -## This file is part of the libsigrok project. -## -## Copyright (C) 2010-2012 Bert Vermeulen -## -## This program is free software: you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation, either version 3 of the License, or -## (at your option) any later version. -## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with this program. If not, see . -## - -OS=`uname` - -LIBTOOLIZE=libtoolize -ACLOCAL_DIR= - -if [ "x$OS" = "xDarwin" ]; then - LIBTOOLIZE=glibtoolize - - if [ -d /sw/share/aclocal ]; then - # fink installs aclocal macros here - ACLOCAL_DIR="-I /sw/share/aclocal" - elif [ -d /opt/local/share/aclocal ]; then - # Macports installs aclocal macros here - ACLOCAL_DIR="-I /opt/local/share/aclocal" - elif [ -d /usr/local/share/aclocal ]; then - # Homebrew installs aclocal macros here - ACLOCAL_DIR="-I /usr/local/share/aclocal" - elif [ -d /usr/share/aclocal ]; then - # Xcode installs aclocal macros here - ACLOCAL_DIR="-I /usr/share/aclocal" - fi - -elif [ "x$OS" = "xMINGW32_NT-5.1" ]; then - # Windows XP - ACLOCAL_DIR="-I /usr/local/share/aclocal" -elif [ "x$OS" = "xMINGW32_NT-6.0" ]; then - # Windows Vista - ACLOCAL_DIR="-I /usr/local/share/aclocal" -elif [ "x$OS" = "xMINGW32_NT-6.1" ]; then - # Windows 7 - ACLOCAL_DIR="-I /usr/local/share/aclocal" -fi - -echo "Generating build system..." -${LIBTOOLIZE} --install --copy --quiet || exit 1 -aclocal ${ACLOCAL_DIR} || exit 1 -autoheader || exit 1 -automake --add-missing --copy || exit 1 -autoconf || exit 1 - diff --git a/libsigrok4DSL/configure.ac b/libsigrok4DSL/configure.ac deleted file mode 100755 index a413d6eb..00000000 --- a/libsigrok4DSL/configure.ac +++ /dev/null @@ -1,270 +0,0 @@ -## -## This file is part of the libsigrok project. -## -## Copyright (C) 2010-2012 Bert Vermeulen -## Copyright (C) 2012 Alexandru Gagniuc -## -## This program is free software: you can redistribute it and/or modify -## it under the terms of the GNU General Public License as published by -## the Free Software Foundation, either version 3 of the License, or -## (at your option) any later version. -## -## This program is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -## GNU General Public License for more details. -## -## You should have received a copy of the GNU General Public License -## along with this program. If not, see . -## - -# We require at least autoconf 2.63 (AC_INIT format changed there). -AC_PREREQ([2.63]) - -# libsigrok package version number (NOT the same as shared lib version!). -m4_define([sr_package_version_major], [0]) -m4_define([sr_package_version_minor], [2]) -m4_define([sr_package_version_micro], [0]) -m4_define([sr_package_version], [sr_package_version_major.sr_package_version_minor.sr_package_version_micro]) - -AC_INIT([libsigrok4DSL], [sr_package_version], [support@dreamsourcelab.com], - [libsigrok4DSL], [http://www.dreamsourcelab.com]) -AC_CONFIG_HEADER([config.h]) -AC_CONFIG_MACRO_DIR([autostuff]) -AC_CONFIG_AUX_DIR([autostuff]) - -# We require at least automake 1.11 (needed for 'silent rules'). -AM_INIT_AUTOMAKE([1.11 -Wall -Werror check-news color-tests]) -m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) -m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) - -AH_TOP([#ifndef SR_CONFIG_H -#define SR_CONFIG_H /* To stop multiple inclusions. */]) -AH_BOTTOM([#endif /* SR_CONFIG_H */]) - -# Enable more compiler warnings via -Wall and -Wextra. Add -fvisibility=hidden -# and enforce use of SR_API to explicitly mark all public API functions. -CFLAGS="$CFLAGS -Wall -Wextra -fvisibility=hidden -ludev -Wl,--rpath=/usr/local/lib" - -# Checks for programs. -AC_PROG_CC -AC_PROG_CC_STDC -AC_PROG_CPP -AC_PROG_INSTALL -AC_PROG_LN_S - -# https://github.com/rsyslog/rsyslog/issues/1179 -# Seems libtool doesn't honors ARFLAGS, but statically set AR_FLAGS=cru -# This causes a few warnings on build: -# "ar u modifier ignored since D is the default (see U)" -m4_divert_text([DEFAULTS], [: "${ARFLAGS=cr} ${AR_FLAGS=cr}"]) - -# Required for per-target flags or subdir-objects with C sources. -AM_PROG_CC_C_O - -# Initialize libtool. -LT_INIT - -# Initialize pkg-config. -# We require at least 0.22, as "Requires.private" behaviour changed there. -PKG_PROG_PKG_CONFIG([0.22]) - -# Library version for libsigrok (NOT the same as the package version). -# Carefully read the libtool docs before updating these numbers! -# The algorithm for determining which number to change (and how) is nontrivial! -# http://www.gnu.org/software/libtool/manual/libtool.html#Updating-version-info -SR_LIB_VERSION_CURRENT=1 -SR_LIB_VERSION_REVISION=2 -SR_LIB_VERSION_AGE=0 -SR_LIB_VERSION="$SR_LIB_VERSION_CURRENT:$SR_LIB_VERSION_REVISION:$SR_LIB_VERSION_AGE" -SR_LIB_LDFLAGS="-version-info $SR_LIB_VERSION" -AC_SUBST(SR_LIB_VERSION_CURRENT) -AC_SUBST(SR_LIB_VERSION_REVISION) -AC_SUBST(SR_LIB_VERSION_AGE) -AC_SUBST(SR_LIB_VERSION) -AC_SUBST(SR_LIB_LDFLAGS) - -AC_ARG_ENABLE(all-drivers, AC_HELP_STRING([--enable-all-drivers], - [enable all drivers by default [default=yes]]), - [HW_ENABLED_DEFAULT="$enableval"], - [HW_ENABLED_DEFAULT="yes"]) - -AC_ARG_ENABLE(demo, AC_HELP_STRING([--enable-demo], - [enable demo driver support [default=yes]]), - [HW_DEMO="$enableval"], - [HW_DEMO=$HW_ENABLED_DEFAULT]) -AC_ARG_ENABLE(DSL, AC_HELP_STRING([--enable-DSL], - [enable DreamSourceLab hardware support [default=yes]]), - [HW_DSL="$enableval"], - [HW_DSL=$HW_ENABLED_DEFAULT]) -# Checks for libraries. - -case "$host" in -*mingw*) - # We need to link against the Winsock2 library for SCPI over TCP. - LIBS="$LIBS -lws2_32";; -esac - -# This variable collects the pkg-config names of all detected libs. -# It is then used to construct the "Requires.private:" field in the -# libsigrok4DSL.pc file. -SR_PKGLIBS="" - -# libm (the standard math library) is always needed. -AC_SEARCH_LIBS([pow], [m]) - -# libglib-2.0 is always needed. Abort if it's not found. -# Note: glib-2.0 is part of the libsigrok API (hard pkg-config requirement). -# We require at least 2.32.0 due to e.g. g_variant_new_fixed_array(). -AM_PATH_GLIB_2_0([2.32.0], - [CFLAGS="$CFLAGS $GLIB_CFLAGS"; LIBS="$LIBS $GLIB_LIBS"]) - -# libzip is always needed. Abort if it's not found. -PKG_CHECK_MODULES([libzip], [libzip >= 0.10], - [CFLAGS="$CFLAGS $libzip_CFLAGS"; LIBS="$LIBS $libzip_LIBS"; - SR_PKGLIBS="$SR_PKGLIBS libzip"]) - -# libserialport is only needed for some hardware drivers. Disable the -# respective drivers if it is not found. -PKG_CHECK_MODULES([libserialport], [libserialport >= 0.1.0], - [have_libserialport="yes"; CFLAGS="$CFLAGS $libserialport_CFLAGS"; - LIBS="$LIBS $libserialport_LIBS"; - SR_PKGLIBS="$SR_PKGLIBS libserialport"], - [have_libserialport="no"]) - -# Define HAVE_LIBSERIALPORT in config.h if we found libserialport. -if test "x$have_libserialport" != "xno"; then - AC_DEFINE_UNQUOTED(HAVE_LIBSERIALPORT, [1], - [Specifies whether we have libserialport.]) -fi - -# Serial port helper code is only compiled in if libserialport was found. -AM_CONDITIONAL(NEED_SERIAL, test "x$have_libserialport" != xno) - -# libusb-1.0 is only needed for some hardware drivers. Disable the respective -# drivers if it is not found. -case "$host" in -*freebsd*) - # FreeBSD comes with an "integrated" libusb-1.0-style USB API. - # This means libusb-1.0 is always available, no need to check for it, - # and no need to (potentially) disable any drivers if it's not found. - AC_DEFINE_UNQUOTED(HAVE_LIBUSB_1_0, [1], - [Specifies whether we have a libusb.h header.]) - ;; -*) - PKG_CHECK_MODULES([libusb], [libusb-1.0 >= 1.0.9], - [have_libusb1_0="yes"; CFLAGS="$CFLAGS $libusb_CFLAGS"; - LIBS="$LIBS $libusb_LIBS"; - SR_PKGLIBS="$SR_PKGLIBS libusb-1.0"], - [have_libusb1_0="no"]) - - # Define HAVE_LIBUSB_1_0 in config.h if we found libusb-1.0. - if test "x$have_libusb1_0" != "xno"; then - AC_DEFINE_UNQUOTED(HAVE_LIBUSB_1_0, [1], - [Specifies whether we have a libusb.h header.]) - fi - ;; -esac - - - -# The Check unit testing framework is optional. Disable if not found. -PKG_CHECK_MODULES([check], [check >= 0.9.4], - [have_check="yes"; CFLAGS="$CFLAGS $check_CFLAGS"; - LIBS="$LIBS $check_LIBS"], [have_check="no"]) -AM_CONDITIONAL(HAVE_CHECK, test x"$have_check" = "xyes") - -# The OLS driver uses serial port file descriptors directly, and therefore -# will not currently work on Windows. - - -AC_SUBST(SR_PKGLIBS) - -# Now set AM_CONDITIONALs and AC_DEFINEs for the enabled/disabled drivers. - - - -AM_CONDITIONAL(HW_DEMO, test x$HW_DEMO = xyes) -if test "x$HW_DEMO" = "xyes"; then - AC_DEFINE(HAVE_LA_DEMO, 1, [Demo driver support]) -fi - -AM_CONDITIONAL(HW_DSL, test x$HW_DSL = xyes) -if test "x$HW_DSL" = "xyes"; then - AC_DEFINE(HAVE_DSL_DEVICE, 1, [DreamSourceLab hardware driver support]) -fi - -# Checks for header files. -# These are already checked: inttypes.h stdint.h stdlib.h string.h unistd.h. -AC_CHECK_HEADERS([fcntl.h sys/time.h termios.h]) - -# Checks for typedefs, structures, and compiler characteristics. -AC_C_BIGENDIAN -AC_C_INLINE -AC_TYPE_INT8_T -AC_TYPE_INT16_T -AC_TYPE_INT32_T -AC_TYPE_INT64_T -AC_TYPE_UINT8_T -AC_TYPE_UINT16_T -AC_TYPE_UINT32_T -AC_TYPE_UINT64_T -AC_TYPE_SIZE_T - -# Checks for library functions. -AC_CHECK_FUNCS([gettimeofday memset strchr strcspn strdup strerror strncasecmp strstr strtol strtoul strtoull]) - -AC_SUBST(FIRMWARE_DIR, "$datadir/sigrok-firmware") -AC_SUBST(MAKEFLAGS, '--no-print-directory') -AC_SUBST(AM_LIBTOOLFLAGS, '--silent') - -SR_PACKAGE_VERSION_MAJOR=sr_package_version_major -SR_PACKAGE_VERSION_MINOR=sr_package_version_minor -SR_PACKAGE_VERSION_MICRO=sr_package_version_micro -SR_PACKAGE_VERSION=sr_package_version - -AC_SUBST(SR_PACKAGE_VERSION_MAJOR) -AC_SUBST(SR_PACKAGE_VERSION_MINOR) -AC_SUBST(SR_PACKAGE_VERSION_MICRO) -AC_SUBST(SR_PACKAGE_VERSION) - -AC_CONFIG_FILES([Makefile version.h hardware/Makefile - hardware/demo/Makefile - hardware/common/Makefile - hardware/DSL/Makefile - input/Makefile - output/Makefile - libsigrok4DSL.pc - tests/Makefile - ]) - -AC_OUTPUT - -echo -echo "libsigrok configuration summary:" -echo -echo " - Package version (major.minor.micro): $SR_PACKAGE_VERSION" -echo " - Library version (current:revision:age): $SR_LIB_VERSION" -echo " - Prefix: $prefix" -echo " - Building on: $build" -echo " - Building for: $host" -echo -echo "Detected libraries:" -echo - -# Note: This only works for libs with pkg-config integration. -for lib in "glib-2.0 >= 2.32.0" "libzip >= 0.10" "libserialport >= 0.1.0" "libusb-1.0 >= 1.0.9" "libftdi >= 0.16" "libudev >= 151" "alsa >= 1.0" "check >= 0.9.4"; do - if `$PKG_CONFIG --exists $lib`; then - ver=`$PKG_CONFIG --modversion $lib` - answer="yes ($ver)" - else - answer="no" - fi - echo " - $lib: $answer" -done - -echo -e "\nEnabled hardware drivers:\n" -echo " - demo............................ $HW_DEMO" -echo " - DreamSourceLab.................. $HW_DSL" -echo - diff --git a/libsigrok4DSL/libsigrok4DSL.pc.in b/libsigrok4DSL/libsigrok4DSL.pc.in deleted file mode 100755 index 49300b54..00000000 --- a/libsigrok4DSL/libsigrok4DSL.pc.in +++ /dev/null @@ -1,15 +0,0 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ - -Name: libsigrok4DSL -Description: Backend library of DSView software based on libsigrok -URL: http://www.dreamsourcelab.com -Requires: glib-2.0 -Requires.private: @SR_PKGLIBS@ -Version: @VERSION@ -Libs: -L${libdir} -lsigrok4DSL -Libs.private: -lm -Cflags: -I${includedir} - diff --git a/libsigrokdecode4DSL/Doxyfile b/libsigrokdecode4DSL/Doxyfile deleted file mode 100755 index 47550ce0..00000000 --- a/libsigrokdecode4DSL/Doxyfile +++ /dev/null @@ -1,2455 +0,0 @@ -# Doxyfile 1.8.13 - -# This file describes the settings to be used by the documentation system -# doxygen (www.doxygen.org) for a project. -# -# All text after a double hash (##) is considered a comment and is placed in -# front of the TAG it is preceding. -# -# All text after a single hash (#) is considered a comment and will be ignored. -# The format is: -# TAG = value [value, ...] -# For lists, items can also be appended using: -# TAG += value [value, ...] -# Values that contain spaces should be placed between quotes (\" \"). - -#--------------------------------------------------------------------------- -# Project related configuration options -#--------------------------------------------------------------------------- - -# This tag specifies the encoding used for all characters in the config file -# that follow. The default is UTF-8 which is also the encoding used for all text -# before the first occurrence of this tag. Doxygen uses libiconv (or the iconv -# built into libc) for the transcoding. See http://www.gnu.org/software/libiconv -# for the list of possible encodings. -# The default value is: UTF-8. - -DOXYFILE_ENCODING = UTF-8 - -# The PROJECT_NAME tag is a single word (or a sequence of words surrounded by -# double-quotes, unless you are using Doxywizard) that should identify the -# project for which the documentation is generated. This name is used in the -# title of most generated pages and in a few other places. -# The default value is: My Project. - -PROJECT_NAME = "libsigrokdecode" - -# The PROJECT_NUMBER tag can be used to enter a project or revision number. This -# could be handy for archiving the generated documentation or if some version -# control system is used. - -PROJECT_NUMBER = "unreleased development snapshot" - -# Using the PROJECT_BRIEF tag one can provide an optional one line description -# for a project that appears at the top of each page and should give viewer a -# quick idea about the purpose of the project. Keep the description short. - -PROJECT_BRIEF = "sigrok protocol decoding library" - -# With the PROJECT_LOGO tag one can specify a logo or an icon that is included -# in the documentation. The maximum height of the logo should not exceed 55 -# pixels and the maximum width should not exceed 200 pixels. Doxygen will copy -# the logo to the output directory. - -PROJECT_LOGO = contrib/sigrok-logo-notext.png - -# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path -# into which the generated documentation will be written. If a relative path is -# entered, it will be relative to the location where doxygen was started. If -# left blank the current directory will be used. - -OUTPUT_DIRECTORY = doxy - -# If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub- -# directories (in 2 levels) under the output directory of each output format and -# will distribute the generated files over these directories. Enabling this -# option can be useful when feeding doxygen a huge amount of source files, where -# putting all generated files in the same directory would otherwise causes -# performance problems for the file system. -# The default value is: NO. - -CREATE_SUBDIRS = NO - -# If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII -# characters to appear in the names of generated files. If set to NO, non-ASCII -# characters will be escaped, for example _xE3_x81_x84 will be used for Unicode -# U+3044. -# The default value is: NO. - -ALLOW_UNICODE_NAMES = NO - -# The OUTPUT_LANGUAGE tag is used to specify the language in which all -# documentation generated by doxygen is written. Doxygen will use this -# information to generate all constant output in the proper language. -# Possible values are: Afrikaans, Arabic, Armenian, Brazilian, Catalan, Chinese, -# Chinese-Traditional, Croatian, Czech, Danish, Dutch, English (United States), -# Esperanto, Farsi (Persian), Finnish, French, German, Greek, Hungarian, -# Indonesian, Italian, Japanese, Japanese-en (Japanese with English messages), -# Korean, Korean-en (Korean with English messages), Latvian, Lithuanian, -# Macedonian, Norwegian, Persian (Farsi), Polish, Portuguese, Romanian, Russian, -# Serbian, Serbian-Cyrillic, Slovak, Slovene, Spanish, Swedish, Turkish, -# Ukrainian and Vietnamese. -# The default value is: English. - -OUTPUT_LANGUAGE = English - -# If the BRIEF_MEMBER_DESC tag is set to YES, doxygen will include brief member -# descriptions after the members that are listed in the file and class -# documentation (similar to Javadoc). Set to NO to disable this. -# The default value is: YES. - -BRIEF_MEMBER_DESC = YES - -# If the REPEAT_BRIEF tag is set to YES, doxygen will prepend the brief -# description of a member or function before the detailed description -# -# Note: If both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the -# brief descriptions will be completely suppressed. -# The default value is: YES. - -REPEAT_BRIEF = YES - -# This tag implements a quasi-intelligent brief description abbreviator that is -# used to form the text in various listings. Each string in this list, if found -# as the leading text of the brief description, will be stripped from the text -# and the result, after processing the whole list, is used as the annotated -# text. Otherwise, the brief description is used as-is. If left blank, the -# following values are used ($name is automatically replaced with the name of -# the entity):The $name class, The $name widget, The $name file, is, provides, -# specifies, contains, represents, a, an and the. - -ABBREVIATE_BRIEF = - -# If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then -# doxygen will generate a detailed section even if there is only a brief -# description. -# The default value is: NO. - -ALWAYS_DETAILED_SEC = NO - -# If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all -# inherited members of a class in the documentation of that class as if those -# members were ordinary class members. Constructors, destructors and assignment -# operators of the base classes will not be shown. -# The default value is: NO. - -INLINE_INHERITED_MEMB = NO - -# If the FULL_PATH_NAMES tag is set to YES, doxygen will prepend the full path -# before files name in the file list and in the header files. If set to NO the -# shortest path that makes the file name unique will be used -# The default value is: YES. - -FULL_PATH_NAMES = YES - -# The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path. -# Stripping is only done if one of the specified strings matches the left-hand -# part of the path. The tag can be used to show relative paths in the file list. -# If left blank the directory from which doxygen is run is used as the path to -# strip. -# -# Note that you can specify absolute paths here, but also relative paths, which -# will be relative from the directory where doxygen is started. -# This tag requires that the tag FULL_PATH_NAMES is set to YES. - -STRIP_FROM_PATH = - -# The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the -# path mentioned in the documentation of a class, which tells the reader which -# header file to include in order to use a class. If left blank only the name of -# the header file containing the class definition is used. Otherwise one should -# specify the list of include paths that are normally passed to the compiler -# using the -I flag. - -STRIP_FROM_INC_PATH = - -# If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but -# less readable) file names. This can be useful is your file systems doesn't -# support long names like on DOS, Mac, or CD-ROM. -# The default value is: NO. - -SHORT_NAMES = YES - -# If the JAVADOC_AUTOBRIEF tag is set to YES then doxygen will interpret the -# first line (until the first dot) of a Javadoc-style comment as the brief -# description. If set to NO, the Javadoc-style will behave just like regular Qt- -# style comments (thus requiring an explicit @brief command for a brief -# description.) -# The default value is: NO. - -JAVADOC_AUTOBRIEF = YES - -# If the QT_AUTOBRIEF tag is set to YES then doxygen will interpret the first -# line (until the first dot) of a Qt-style comment as the brief description. If -# set to NO, the Qt-style will behave just like regular Qt-style comments (thus -# requiring an explicit \brief command for a brief description.) -# The default value is: NO. - -QT_AUTOBRIEF = NO - -# The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make doxygen treat a -# multi-line C++ special comment block (i.e. a block of //! or /// comments) as -# a brief description. This used to be the default behavior. The new default is -# to treat a multi-line C++ comment block as a detailed description. Set this -# tag to YES if you prefer the old behavior instead. -# -# Note that setting this tag to YES also means that rational rose comments are -# not recognized any more. -# The default value is: NO. - -MULTILINE_CPP_IS_BRIEF = NO - -# If the INHERIT_DOCS tag is set to YES then an undocumented member inherits the -# documentation from any documented member that it re-implements. -# The default value is: YES. - -INHERIT_DOCS = YES - -# If the SEPARATE_MEMBER_PAGES tag is set to YES then doxygen will produce a new -# page for each member. If set to NO, the documentation of a member will be part -# of the file/class/namespace that contains it. -# The default value is: NO. - -SEPARATE_MEMBER_PAGES = NO - -# The TAB_SIZE tag can be used to set the number of spaces in a tab. Doxygen -# uses this value to replace tabs by spaces in code fragments. -# Minimum value: 1, maximum value: 16, default value: 4. - -TAB_SIZE = 8 - -# This tag can be used to specify a number of aliases that act as commands in -# the documentation. An alias has the form: -# name=value -# For example adding -# "sideeffect=@par Side Effects:\n" -# will allow you to put the command \sideeffect (or @sideeffect) in the -# documentation, which will result in a user-defined paragraph with heading -# "Side Effects:". You can put \n's in the value part of an alias to insert -# newlines. - -ALIASES = - -# This tag can be used to specify a number of word-keyword mappings (TCL only). -# A mapping has the form "name=value". For example adding "class=itcl::class" -# will allow you to use the command class in the itcl::class meaning. - -TCL_SUBST = - -# Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources -# only. Doxygen will then generate output that is more tailored for C. For -# instance, some of the names that are used will be different. The list of all -# members will be omitted, etc. -# The default value is: NO. - -OPTIMIZE_OUTPUT_FOR_C = YES - -# Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java or -# Python sources only. Doxygen will then generate output that is more tailored -# for that language. For instance, namespaces will be presented as packages, -# qualified scopes will look different, etc. -# The default value is: NO. - -OPTIMIZE_OUTPUT_JAVA = NO - -# Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran -# sources. Doxygen will then generate output that is tailored for Fortran. -# The default value is: NO. - -OPTIMIZE_FOR_FORTRAN = NO - -# Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL -# sources. Doxygen will then generate output that is tailored for VHDL. -# The default value is: NO. - -OPTIMIZE_OUTPUT_VHDL = NO - -# Doxygen selects the parser to use depending on the extension of the files it -# parses. With this tag you can assign which parser to use for a given -# extension. Doxygen has a built-in mapping, but you can override or extend it -# using this tag. The format is ext=language, where ext is a file extension, and -# language is one of the parsers supported by doxygen: IDL, Java, Javascript, -# C#, C, C++, D, PHP, Objective-C, Python, Fortran (fixed format Fortran: -# FortranFixed, free formatted Fortran: FortranFree, unknown formatted Fortran: -# Fortran. In the later case the parser tries to guess whether the code is fixed -# or free formatted code, this is the default for Fortran type files), VHDL. For -# instance to make doxygen treat .inc files as Fortran files (default is PHP), -# and .f files as C (default is Fortran), use: inc=Fortran f=C. -# -# Note: For files without extension you can use no_extension as a placeholder. -# -# Note that for custom extensions you also need to set FILE_PATTERNS otherwise -# the files are not read by doxygen. - -EXTENSION_MAPPING = - -# If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments -# according to the Markdown format, which allows for more readable -# documentation. See http://daringfireball.net/projects/markdown/ for details. -# The output of markdown processing is further processed by doxygen, so you can -# mix doxygen, HTML, and XML commands with Markdown formatting. Disable only in -# case of backward compatibilities issues. -# The default value is: YES. - -MARKDOWN_SUPPORT = YES - -# When the TOC_INCLUDE_HEADINGS tag is set to a non-zero value, all headings up -# to that level are automatically included in the table of contents, even if -# they do not have an id attribute. -# Note: This feature currently applies only to Markdown headings. -# Minimum value: 0, maximum value: 99, default value: 0. -# This tag requires that the tag MARKDOWN_SUPPORT is set to YES. - -TOC_INCLUDE_HEADINGS = 0 - -# When enabled doxygen tries to link words that correspond to documented -# classes, or namespaces to their corresponding documentation. Such a link can -# be prevented in individual cases by putting a % sign in front of the word or -# globally by setting AUTOLINK_SUPPORT to NO. -# The default value is: YES. - -AUTOLINK_SUPPORT = YES - -# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want -# to include (a tag file for) the STL sources as input, then you should set this -# tag to YES in order to let doxygen match functions declarations and -# definitions whose arguments contain STL classes (e.g. func(std::string); -# versus func(std::string) {}). This also make the inheritance and collaboration -# diagrams that involve STL classes more complete and accurate. -# The default value is: NO. - -BUILTIN_STL_SUPPORT = NO - -# If you use Microsoft's C++/CLI language, you should set this option to YES to -# enable parsing support. -# The default value is: NO. - -CPP_CLI_SUPPORT = NO - -# Set the SIP_SUPPORT tag to YES if your project consists of sip (see: -# http://www.riverbankcomputing.co.uk/software/sip/intro) sources only. Doxygen -# will parse them like normal C++ but will assume all classes use public instead -# of private inheritance when no explicit protection keyword is present. -# The default value is: NO. - -SIP_SUPPORT = NO - -# For Microsoft's IDL there are propget and propput attributes to indicate -# getter and setter methods for a property. Setting this option to YES will make -# doxygen to replace the get and set methods by a property in the documentation. -# This will only work if the methods are indeed getting or setting a simple -# type. If this is not the case, or you want to show the methods anyway, you -# should set this option to NO. -# The default value is: YES. - -IDL_PROPERTY_SUPPORT = YES - -# If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC -# tag is set to YES then doxygen will reuse the documentation of the first -# member in the group (if any) for the other members of the group. By default -# all members of a group must be documented explicitly. -# The default value is: NO. - -DISTRIBUTE_GROUP_DOC = NO - -# If one adds a struct or class to a group and this option is enabled, then also -# any nested class or struct is added to the same group. By default this option -# is disabled and one has to add nested compounds explicitly via \ingroup. -# The default value is: NO. - -GROUP_NESTED_COMPOUNDS = NO - -# Set the SUBGROUPING tag to YES to allow class member groups of the same type -# (for instance a group of public functions) to be put as a subgroup of that -# type (e.g. under the Public Functions section). Set it to NO to prevent -# subgrouping. Alternatively, this can be done per class using the -# \nosubgrouping command. -# The default value is: YES. - -SUBGROUPING = YES - -# When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and unions -# are shown inside the group in which they are included (e.g. using \ingroup) -# instead of on a separate page (for HTML and Man pages) or section (for LaTeX -# and RTF). -# -# Note that this feature does not work in combination with -# SEPARATE_MEMBER_PAGES. -# The default value is: NO. - -INLINE_GROUPED_CLASSES = NO - -# When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and unions -# with only public data fields or simple typedef fields will be shown inline in -# the documentation of the scope in which they are defined (i.e. file, -# namespace, or group documentation), provided this scope is documented. If set -# to NO, structs, classes, and unions are shown on a separate page (for HTML and -# Man pages) or section (for LaTeX and RTF). -# The default value is: NO. - -INLINE_SIMPLE_STRUCTS = NO - -# When TYPEDEF_HIDES_STRUCT tag is enabled, a typedef of a struct, union, or -# enum is documented as struct, union, or enum with the name of the typedef. So -# typedef struct TypeS {} TypeT, will appear in the documentation as a struct -# with name TypeT. When disabled the typedef will appear as a member of a file, -# namespace, or class. And the struct will be named TypeS. This can typically be -# useful for C code in case the coding convention dictates that all compound -# types are typedef'ed and only the typedef is referenced, never the tag name. -# The default value is: NO. - -TYPEDEF_HIDES_STRUCT = NO - -# The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This -# cache is used to resolve symbols given their name and scope. Since this can be -# an expensive process and often the same symbol appears multiple times in the -# code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small -# doxygen will become slower. If the cache is too large, memory is wasted. The -# cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range -# is 0..9, the default is 0, corresponding to a cache size of 2^16=65536 -# symbols. At the end of a run doxygen will report the cache usage and suggest -# the optimal cache size from a speed point of view. -# Minimum value: 0, maximum value: 9, default value: 0. - -LOOKUP_CACHE_SIZE = 0 - -#--------------------------------------------------------------------------- -# Build related configuration options -#--------------------------------------------------------------------------- - -# If the EXTRACT_ALL tag is set to YES, doxygen will assume all entities in -# documentation are documented, even if no documentation was available. Private -# class members and static file members will be hidden unless the -# EXTRACT_PRIVATE respectively EXTRACT_STATIC tags are set to YES. -# Note: This will also disable the warnings about undocumented members that are -# normally produced when WARNINGS is set to YES. -# The default value is: NO. - -EXTRACT_ALL = YES - -# If the EXTRACT_PRIVATE tag is set to YES, all private members of a class will -# be included in the documentation. -# The default value is: NO. - -EXTRACT_PRIVATE = NO - -# If the EXTRACT_PACKAGE tag is set to YES, all members with package or internal -# scope will be included in the documentation. -# The default value is: NO. - -EXTRACT_PACKAGE = NO - -# If the EXTRACT_STATIC tag is set to YES, all static members of a file will be -# included in the documentation. -# The default value is: NO. - -EXTRACT_STATIC = NO - -# If the EXTRACT_LOCAL_CLASSES tag is set to YES, classes (and structs) defined -# locally in source files will be included in the documentation. If set to NO, -# only classes defined in header files are included. Does not have any effect -# for Java sources. -# The default value is: YES. - -EXTRACT_LOCAL_CLASSES = NO - -# This flag is only useful for Objective-C code. If set to YES, local methods, -# which are defined in the implementation section but not in the interface are -# included in the documentation. If set to NO, only methods in the interface are -# included. -# The default value is: NO. - -EXTRACT_LOCAL_METHODS = NO - -# If this flag is set to YES, the members of anonymous namespaces will be -# extracted and appear in the documentation as a namespace called -# 'anonymous_namespace{file}', where file will be replaced with the base name of -# the file that contains the anonymous namespace. By default anonymous namespace -# are hidden. -# The default value is: NO. - -EXTRACT_ANON_NSPACES = NO - -# If the HIDE_UNDOC_MEMBERS tag is set to YES, doxygen will hide all -# undocumented members inside documented classes or files. If set to NO these -# members will be included in the various overviews, but no documentation -# section is generated. This option has no effect if EXTRACT_ALL is enabled. -# The default value is: NO. - -HIDE_UNDOC_MEMBERS = NO - -# If the HIDE_UNDOC_CLASSES tag is set to YES, doxygen will hide all -# undocumented classes that are normally visible in the class hierarchy. If set -# to NO, these classes will be included in the various overviews. This option -# has no effect if EXTRACT_ALL is enabled. -# The default value is: NO. - -HIDE_UNDOC_CLASSES = NO - -# If the HIDE_FRIEND_COMPOUNDS tag is set to YES, doxygen will hide all friend -# (class|struct|union) declarations. If set to NO, these declarations will be -# included in the documentation. -# The default value is: NO. - -HIDE_FRIEND_COMPOUNDS = NO - -# If the HIDE_IN_BODY_DOCS tag is set to YES, doxygen will hide any -# documentation blocks found inside the body of a function. If set to NO, these -# blocks will be appended to the function's detailed documentation block. -# The default value is: NO. - -HIDE_IN_BODY_DOCS = NO - -# The INTERNAL_DOCS tag determines if documentation that is typed after a -# \internal command is included. If the tag is set to NO then the documentation -# will be excluded. Set it to YES to include the internal documentation. -# The default value is: NO. - -INTERNAL_DOCS = NO - -# If the CASE_SENSE_NAMES tag is set to NO then doxygen will only generate file -# names in lower-case letters. If set to YES, upper-case letters are also -# allowed. This is useful if you have classes or files whose names only differ -# in case and if your file system supports case sensitive file names. Windows -# and Mac users are advised to set this option to NO. -# The default value is: system dependent. - -CASE_SENSE_NAMES = NO - -# If the HIDE_SCOPE_NAMES tag is set to NO then doxygen will show members with -# their full class and namespace scopes in the documentation. If set to YES, the -# scope will be hidden. -# The default value is: NO. - -HIDE_SCOPE_NAMES = NO - -# If the HIDE_COMPOUND_REFERENCE tag is set to NO (default) then doxygen will -# append additional text to a page's title, such as Class Reference. If set to -# YES the compound reference will be hidden. -# The default value is: NO. - -HIDE_COMPOUND_REFERENCE= NO - -# If the SHOW_INCLUDE_FILES tag is set to YES then doxygen will put a list of -# the files that are included by a file in the documentation of that file. -# The default value is: YES. - -SHOW_INCLUDE_FILES = YES - -# If the SHOW_GROUPED_MEMB_INC tag is set to YES then Doxygen will add for each -# grouped member an include statement to the documentation, telling the reader -# which file to include in order to use the member. -# The default value is: NO. - -SHOW_GROUPED_MEMB_INC = NO - -# If the FORCE_LOCAL_INCLUDES tag is set to YES then doxygen will list include -# files with double quotes in the documentation rather than with sharp brackets. -# The default value is: NO. - -FORCE_LOCAL_INCLUDES = NO - -# If the INLINE_INFO tag is set to YES then a tag [inline] is inserted in the -# documentation for inline members. -# The default value is: YES. - -INLINE_INFO = YES - -# If the SORT_MEMBER_DOCS tag is set to YES then doxygen will sort the -# (detailed) documentation of file and class members alphabetically by member -# name. If set to NO, the members will appear in declaration order. -# The default value is: YES. - -SORT_MEMBER_DOCS = YES - -# If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the brief -# descriptions of file, namespace and class members alphabetically by member -# name. If set to NO, the members will appear in declaration order. Note that -# this will also influence the order of the classes in the class list. -# The default value is: NO. - -SORT_BRIEF_DOCS = NO - -# If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen will sort the -# (brief and detailed) documentation of class members so that constructors and -# destructors are listed first. If set to NO the constructors will appear in the -# respective orders defined by SORT_BRIEF_DOCS and SORT_MEMBER_DOCS. -# Note: If SORT_BRIEF_DOCS is set to NO this option is ignored for sorting brief -# member documentation. -# Note: If SORT_MEMBER_DOCS is set to NO this option is ignored for sorting -# detailed member documentation. -# The default value is: NO. - -SORT_MEMBERS_CTORS_1ST = NO - -# If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the hierarchy -# of group names into alphabetical order. If set to NO the group names will -# appear in their defined order. -# The default value is: NO. - -SORT_GROUP_NAMES = NO - -# If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be sorted by -# fully-qualified names, including namespaces. If set to NO, the class list will -# be sorted only by class name, not including the namespace part. -# Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES. -# Note: This option applies only to the class list, not to the alphabetical -# list. -# The default value is: NO. - -SORT_BY_SCOPE_NAME = NO - -# If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to do proper -# type resolution of all parameters of a function it will reject a match between -# the prototype and the implementation of a member function even if there is -# only one candidate or it is obvious which candidate to choose by doing a -# simple string match. By disabling STRICT_PROTO_MATCHING doxygen will still -# accept a match between prototype and implementation in such cases. -# The default value is: NO. - -STRICT_PROTO_MATCHING = NO - -# The GENERATE_TODOLIST tag can be used to enable (YES) or disable (NO) the todo -# list. This list is created by putting \todo commands in the documentation. -# The default value is: YES. - -GENERATE_TODOLIST = YES - -# The GENERATE_TESTLIST tag can be used to enable (YES) or disable (NO) the test -# list. This list is created by putting \test commands in the documentation. -# The default value is: YES. - -GENERATE_TESTLIST = YES - -# The GENERATE_BUGLIST tag can be used to enable (YES) or disable (NO) the bug -# list. This list is created by putting \bug commands in the documentation. -# The default value is: YES. - -GENERATE_BUGLIST = YES - -# The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or disable (NO) -# the deprecated list. This list is created by putting \deprecated commands in -# the documentation. -# The default value is: YES. - -GENERATE_DEPRECATEDLIST= YES - -# The ENABLED_SECTIONS tag can be used to enable conditional documentation -# sections, marked by \if ... \endif and \cond -# ... \endcond blocks. - -ENABLED_SECTIONS = - -# The MAX_INITIALIZER_LINES tag determines the maximum number of lines that the -# initial value of a variable or macro / define can have for it to appear in the -# documentation. If the initializer consists of more lines than specified here -# it will be hidden. Use a value of 0 to hide initializers completely. The -# appearance of the value of individual variables and macros / defines can be -# controlled using \showinitializer or \hideinitializer command in the -# documentation regardless of this setting. -# Minimum value: 0, maximum value: 10000, default value: 30. - -MAX_INITIALIZER_LINES = 30 - -# Set the SHOW_USED_FILES tag to NO to disable the list of files generated at -# the bottom of the documentation of classes and structs. If set to YES, the -# list will mention the files that were used to generate the documentation. -# The default value is: YES. - -SHOW_USED_FILES = YES - -# Set the SHOW_FILES tag to NO to disable the generation of the Files page. This -# will remove the Files entry from the Quick Index and from the Folder Tree View -# (if specified). -# The default value is: YES. - -SHOW_FILES = YES - -# Set the SHOW_NAMESPACES tag to NO to disable the generation of the Namespaces -# page. This will remove the Namespaces entry from the Quick Index and from the -# Folder Tree View (if specified). -# The default value is: YES. - -SHOW_NAMESPACES = YES - -# The FILE_VERSION_FILTER tag can be used to specify a program or script that -# doxygen should invoke to get the current version for each file (typically from -# the version control system). Doxygen will invoke the program by executing (via -# popen()) the command command input-file, where command is the value of the -# FILE_VERSION_FILTER tag, and input-file is the name of an input file provided -# by doxygen. Whatever the program writes to standard output is used as the file -# version. For an example see the documentation. - -FILE_VERSION_FILTER = - -# The LAYOUT_FILE tag can be used to specify a layout file which will be parsed -# by doxygen. The layout file controls the global structure of the generated -# output files in an output format independent way. To create the layout file -# that represents doxygen's defaults, run doxygen with the -l option. You can -# optionally specify a file name after the option, if omitted DoxygenLayout.xml -# will be used as the name of the layout file. -# -# Note that if you run doxygen from a directory containing a file called -# DoxygenLayout.xml, doxygen will parse it automatically even if the LAYOUT_FILE -# tag is left empty. - -LAYOUT_FILE = - -# The CITE_BIB_FILES tag can be used to specify one or more bib files containing -# the reference definitions. This must be a list of .bib files. The .bib -# extension is automatically appended if omitted. This requires the bibtex tool -# to be installed. See also http://en.wikipedia.org/wiki/BibTeX for more info. -# For LaTeX the style of the bibliography can be controlled using -# LATEX_BIB_STYLE. To use this feature you need bibtex and perl available in the -# search path. See also \cite for info how to create references. - -CITE_BIB_FILES = - -#--------------------------------------------------------------------------- -# Configuration options related to warning and progress messages -#--------------------------------------------------------------------------- - -# The QUIET tag can be used to turn on/off the messages that are generated to -# standard output by doxygen. If QUIET is set to YES this implies that the -# messages are off. -# The default value is: NO. - -QUIET = NO - -# The WARNINGS tag can be used to turn on/off the warning messages that are -# generated to standard error (stderr) by doxygen. If WARNINGS is set to YES -# this implies that the warnings are on. -# -# Tip: Turn warnings on while writing the documentation. -# The default value is: YES. - -WARNINGS = YES - -# If the WARN_IF_UNDOCUMENTED tag is set to YES then doxygen will generate -# warnings for undocumented members. If EXTRACT_ALL is set to YES then this flag -# will automatically be disabled. -# The default value is: YES. - -WARN_IF_UNDOCUMENTED = YES - -# If the WARN_IF_DOC_ERROR tag is set to YES, doxygen will generate warnings for -# potential errors in the documentation, such as not documenting some parameters -# in a documented function, or documenting parameters that don't exist or using -# markup commands wrongly. -# The default value is: YES. - -WARN_IF_DOC_ERROR = YES - -# This WARN_NO_PARAMDOC option can be enabled to get warnings for functions that -# are documented, but have no documentation for their parameters or return -# value. If set to NO, doxygen will only warn about wrong or incomplete -# parameter documentation, but not about the absence of documentation. -# The default value is: NO. - -WARN_NO_PARAMDOC = YES - -# If the WARN_AS_ERROR tag is set to YES then doxygen will immediately stop when -# a warning is encountered. -# The default value is: NO. - -WARN_AS_ERROR = NO - -# The WARN_FORMAT tag determines the format of the warning messages that doxygen -# can produce. The string should contain the $file, $line, and $text tags, which -# will be replaced by the file and line number from which the warning originated -# and the warning text. Optionally the format may contain $version, which will -# be replaced by the version of the file (if it could be obtained via -# FILE_VERSION_FILTER) -# The default value is: $file:$line: $text. - -WARN_FORMAT = "$file:$line: $text" - -# The WARN_LOGFILE tag can be used to specify a file to which warning and error -# messages should be written. If left blank the output is written to standard -# error (stderr). - -WARN_LOGFILE = - -#--------------------------------------------------------------------------- -# Configuration options related to the input files -#--------------------------------------------------------------------------- - -# The INPUT tag is used to specify the files and/or directories that contain -# documented source files. You may enter file names like myfile.cpp or -# directories like /usr/src/myproject. Separate the files or directories with -# spaces. See also FILE_PATTERNS and EXTENSION_MAPPING -# Note: If this tag is empty the current directory is searched. - -INPUT = . - -# This tag can be used to specify the character encoding of the source files -# that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses -# libiconv (or the iconv built into libc) for the transcoding. See the libiconv -# documentation (see: http://www.gnu.org/software/libiconv) for the list of -# possible encodings. -# The default value is: UTF-8. - -INPUT_ENCODING = UTF-8 - -# If the value of the INPUT tag contains directories, you can use the -# FILE_PATTERNS tag to specify one or more wildcard patterns (like *.cpp and -# *.h) to filter out the source-files in the directories. -# -# Note that for custom extensions or not directly supported extensions you also -# need to set EXTENSION_MAPPING for the extension otherwise the files are not -# read by doxygen. -# -# If left blank the following patterns are tested:*.c, *.cc, *.cxx, *.cpp, -# *.c++, *.java, *.ii, *.ixx, *.ipp, *.i++, *.inl, *.idl, *.ddl, *.odl, *.h, -# *.hh, *.hxx, *.hpp, *.h++, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, *.inc, -# *.m, *.markdown, *.md, *.mm, *.dox, *.py, *.pyw, *.f90, *.f95, *.f03, *.f08, -# *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf and *.qsf. - -FILE_PATTERNS = - -# The RECURSIVE tag can be used to specify whether or not subdirectories should -# be searched for input files as well. -# The default value is: NO. - -RECURSIVE = YES - -# The EXCLUDE tag can be used to specify files and/or directories that should be -# excluded from the INPUT source files. This way you can easily exclude a -# subdirectory from a directory tree whose root is specified with the INPUT tag. -# -# Note that relative paths are relative to the directory from which doxygen is -# run. - -EXCLUDE = build config.h libsigrokdecode-internal.h exception.c \ - module_sigrokdecode.c type_decoder.c type_logic.c \ - util.c - -# The EXCLUDE_SYMLINKS tag can be used to select whether or not files or -# directories that are symbolic links (a Unix file system feature) are excluded -# from the input. -# The default value is: NO. - -EXCLUDE_SYMLINKS = NO - -# If the value of the INPUT tag contains directories, you can use the -# EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude -# certain files from those directories. -# -# Note that the wildcards are matched against the file with absolute path, so to -# exclude all test directories for example use the pattern */test/* - -# Ignore the following files and directories (see also EXCLUDE above): -# - config.h: Non-public stuff, the file doesn't get installed. -# - libsigrokdecode-internal.h: Non-public stuff, the file isn't installed. -# - decoders/*: The decoders themselves don't contain public API. -# - exception.c: No public API stuff in there currently. -# - module_sigrokdecode.c: No public API stuff in there currently. -# - type_decoder.c: No public API stuff in there currently. -# - tyoe_logic.c: No public API stuff in there currently. -# - util.c: No public API stuff in there currently. -# - tests/*: Unit tests, no public API stuff in there. -# - doxy/*: Potentially already generated docs, should not be scanned. -# -EXCLUDE_PATTERNS = */decoders/* */tests/* */doxy/* - -# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names -# (namespaces, classes, functions, etc.) that should be excluded from the -# output. The symbol name can be a fully qualified name, a word, or if the -# wildcard * is used, a substring. Examples: ANamespace, AClass, -# AClass::ANamespace, ANamespace::*Test -# -# Note that the wildcards are matched against the file with absolute path, so to -# exclude all test directories use the pattern */test/* - -EXCLUDE_SYMBOLS = - -# The EXAMPLE_PATH tag can be used to specify one or more files or directories -# that contain example code fragments that are included (see the \include -# command). - -EXAMPLE_PATH = - -# If the value of the EXAMPLE_PATH tag contains directories, you can use the -# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and -# *.h) to filter out the source-files in the directories. If left blank all -# files are included. - -EXAMPLE_PATTERNS = - -# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be -# searched for input files to be used with the \include or \dontinclude commands -# irrespective of the value of the RECURSIVE tag. -# The default value is: NO. - -EXAMPLE_RECURSIVE = NO - -# The IMAGE_PATH tag can be used to specify one or more files or directories -# that contain images that are to be included in the documentation (see the -# \image command). - -IMAGE_PATH = - -# The INPUT_FILTER tag can be used to specify a program that doxygen should -# invoke to filter for each input file. Doxygen will invoke the filter program -# by executing (via popen()) the command: -# -# -# -# where is the value of the INPUT_FILTER tag, and is the -# name of an input file. Doxygen will then use the output that the filter -# program writes to standard output. If FILTER_PATTERNS is specified, this tag -# will be ignored. -# -# Note that the filter must not add or remove lines; it is applied before the -# code is scanned, but not when the output code is generated. If lines are added -# or removed, the anchors will not be placed correctly. -# -# Note that for custom extensions or not directly supported extensions you also -# need to set EXTENSION_MAPPING for the extension otherwise the files are not -# properly processed by doxygen. - -INPUT_FILTER = - -# The FILTER_PATTERNS tag can be used to specify filters on a per file pattern -# basis. Doxygen will compare the file name with each pattern and apply the -# filter if there is a match. The filters are a list of the form: pattern=filter -# (like *.cpp=my_cpp_filter). See INPUT_FILTER for further information on how -# filters are used. If the FILTER_PATTERNS tag is empty or if none of the -# patterns match the file name, INPUT_FILTER is applied. -# -# Note that for custom extensions or not directly supported extensions you also -# need to set EXTENSION_MAPPING for the extension otherwise the files are not -# properly processed by doxygen. - -FILTER_PATTERNS = - -# If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using -# INPUT_FILTER) will also be used to filter the input files that are used for -# producing the source files to browse (i.e. when SOURCE_BROWSER is set to YES). -# The default value is: NO. - -FILTER_SOURCE_FILES = NO - -# The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file -# pattern. A pattern will override the setting for FILTER_PATTERN (if any) and -# it is also possible to disable source filtering for a specific pattern using -# *.ext= (so without naming a filter). -# This tag requires that the tag FILTER_SOURCE_FILES is set to YES. - -FILTER_SOURCE_PATTERNS = - -# If the USE_MDFILE_AS_MAINPAGE tag refers to the name of a markdown file that -# is part of the input, its contents will be placed on the main page -# (index.html). This can be useful if you have a project on for instance GitHub -# and want to reuse the introduction page also for the doxygen output. - -USE_MDFILE_AS_MAINPAGE = - -#--------------------------------------------------------------------------- -# Configuration options related to source browsing -#--------------------------------------------------------------------------- - -# If the SOURCE_BROWSER tag is set to YES then a list of source files will be -# generated. Documented entities will be cross-referenced with these sources. -# -# Note: To get rid of all source code in the generated output, make sure that -# also VERBATIM_HEADERS is set to NO. -# The default value is: NO. - -SOURCE_BROWSER = YES - -# Setting the INLINE_SOURCES tag to YES will include the body of functions, -# classes and enums directly into the documentation. -# The default value is: NO. - -INLINE_SOURCES = NO - -# Setting the STRIP_CODE_COMMENTS tag to YES will instruct doxygen to hide any -# special comment blocks from generated source code fragments. Normal C, C++ and -# Fortran comments will always remain visible. -# The default value is: YES. - -STRIP_CODE_COMMENTS = NO - -# If the REFERENCED_BY_RELATION tag is set to YES then for each documented -# function all documented functions referencing it will be listed. -# The default value is: NO. - -REFERENCED_BY_RELATION = YES - -# If the REFERENCES_RELATION tag is set to YES then for each documented function -# all documented entities called/used by that function will be listed. -# The default value is: NO. - -REFERENCES_RELATION = YES - -# If the REFERENCES_LINK_SOURCE tag is set to YES and SOURCE_BROWSER tag is set -# to YES then the hyperlinks from functions in REFERENCES_RELATION and -# REFERENCED_BY_RELATION lists will link to the source code. Otherwise they will -# link to the documentation. -# The default value is: YES. - -REFERENCES_LINK_SOURCE = YES - -# If SOURCE_TOOLTIPS is enabled (the default) then hovering a hyperlink in the -# source code will show a tooltip with additional information such as prototype, -# brief description and links to the definition and documentation. Since this -# will make the HTML file larger and loading of large files a bit slower, you -# can opt to disable this feature. -# The default value is: YES. -# This tag requires that the tag SOURCE_BROWSER is set to YES. - -SOURCE_TOOLTIPS = YES - -# If the USE_HTAGS tag is set to YES then the references to source code will -# point to the HTML generated by the htags(1) tool instead of doxygen built-in -# source browser. The htags tool is part of GNU's global source tagging system -# (see http://www.gnu.org/software/global/global.html). You will need version -# 4.8.6 or higher. -# -# To use it do the following: -# - Install the latest version of global -# - Enable SOURCE_BROWSER and USE_HTAGS in the config file -# - Make sure the INPUT points to the root of the source tree -# - Run doxygen as normal -# -# Doxygen will invoke htags (and that will in turn invoke gtags), so these -# tools must be available from the command line (i.e. in the search path). -# -# The result: instead of the source browser generated by doxygen, the links to -# source code will now point to the output of htags. -# The default value is: NO. -# This tag requires that the tag SOURCE_BROWSER is set to YES. - -USE_HTAGS = NO - -# If the VERBATIM_HEADERS tag is set the YES then doxygen will generate a -# verbatim copy of the header file for each class for which an include is -# specified. Set to NO to disable this. -# See also: Section \class. -# The default value is: YES. - -VERBATIM_HEADERS = YES - -# If the CLANG_ASSISTED_PARSING tag is set to YES then doxygen will use the -# clang parser (see: http://clang.llvm.org/) for more accurate parsing at the -# cost of reduced performance. This can be particularly helpful with template -# rich C++ code for which doxygen's built-in parser lacks the necessary type -# information. -# Note: The availability of this option depends on whether or not doxygen was -# generated with the -Duse-libclang=ON option for CMake. -# The default value is: NO. - -CLANG_ASSISTED_PARSING = NO - -# If clang assisted parsing is enabled you can provide the compiler with command -# line options that you would normally use when invoking the compiler. Note that -# the include paths will already be set by doxygen for the files and directories -# specified with INPUT and INCLUDE_PATH. -# This tag requires that the tag CLANG_ASSISTED_PARSING is set to YES. - -CLANG_OPTIONS = - -#--------------------------------------------------------------------------- -# Configuration options related to the alphabetical class index -#--------------------------------------------------------------------------- - -# If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index of all -# compounds will be generated. Enable this if the project contains a lot of -# classes, structs, unions or interfaces. -# The default value is: YES. - -ALPHABETICAL_INDEX = YES - -# The COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns in -# which the alphabetical index list will be split. -# Minimum value: 1, maximum value: 20, default value: 5. -# This tag requires that the tag ALPHABETICAL_INDEX is set to YES. - -COLS_IN_ALPHA_INDEX = 5 - -# In case all classes in a project start with a common prefix, all classes will -# be put under the same header in the alphabetical index. The IGNORE_PREFIX tag -# can be used to specify a prefix (or a list of prefixes) that should be ignored -# while generating the index headers. -# This tag requires that the tag ALPHABETICAL_INDEX is set to YES. - -IGNORE_PREFIX = - -#--------------------------------------------------------------------------- -# Configuration options related to the HTML output -#--------------------------------------------------------------------------- - -# If the GENERATE_HTML tag is set to YES, doxygen will generate HTML output -# The default value is: YES. - -GENERATE_HTML = YES - -# The HTML_OUTPUT tag is used to specify where the HTML docs will be put. If a -# relative path is entered the value of OUTPUT_DIRECTORY will be put in front of -# it. -# The default directory is: html. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_OUTPUT = html-api - -# The HTML_FILE_EXTENSION tag can be used to specify the file extension for each -# generated HTML page (for example: .htm, .php, .asp). -# The default value is: .html. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_FILE_EXTENSION = .html - -# The HTML_HEADER tag can be used to specify a user-defined HTML header file for -# each generated HTML page. If the tag is left blank doxygen will generate a -# standard header. -# -# To get valid HTML the header file that includes any scripts and style sheets -# that doxygen needs, which is dependent on the configuration options used (e.g. -# the setting GENERATE_TREEVIEW). It is highly recommended to start with a -# default header using -# doxygen -w html new_header.html new_footer.html new_stylesheet.css -# YourConfigFile -# and then modify the file new_header.html. See also section "Doxygen usage" -# for information on how to generate the default header that doxygen normally -# uses. -# Note: The header is subject to change so you typically have to regenerate the -# default header when upgrading to a newer version of doxygen. For a description -# of the possible markers and block names see the documentation. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_HEADER = - -# The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each -# generated HTML page. If the tag is left blank doxygen will generate a standard -# footer. See HTML_HEADER for more information on how to generate a default -# footer and what special commands can be used inside the footer. See also -# section "Doxygen usage" for information on how to generate the default footer -# that doxygen normally uses. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_FOOTER = - -# The HTML_STYLESHEET tag can be used to specify a user-defined cascading style -# sheet that is used by each HTML page. It can be used to fine-tune the look of -# the HTML output. If left blank doxygen will generate a default style sheet. -# See also section "Doxygen usage" for information on how to generate the style -# sheet that doxygen normally uses. -# Note: It is recommended to use HTML_EXTRA_STYLESHEET instead of this tag, as -# it is more robust and this tag (HTML_STYLESHEET) will in the future become -# obsolete. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_STYLESHEET = - -# The HTML_EXTRA_STYLESHEET tag can be used to specify additional user-defined -# cascading style sheets that are included after the standard style sheets -# created by doxygen. Using this option one can overrule certain style aspects. -# This is preferred over using HTML_STYLESHEET since it does not replace the -# standard style sheet and is therefore more robust against future updates. -# Doxygen will copy the style sheet files to the output directory. -# Note: The order of the extra style sheet files is of importance (e.g. the last -# style sheet in the list overrules the setting of the previous ones in the -# list). For an example see the documentation. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_EXTRA_STYLESHEET = - -# The HTML_EXTRA_FILES tag can be used to specify one or more extra images or -# other source files which should be copied to the HTML output directory. Note -# that these files will be copied to the base HTML output directory. Use the -# $relpath^ marker in the HTML_HEADER and/or HTML_FOOTER files to load these -# files. In the HTML_STYLESHEET file, use the file name only. Also note that the -# files will be copied as-is; there are no commands or markers available. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_EXTRA_FILES = - -# The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen -# will adjust the colors in the style sheet and background images according to -# this color. Hue is specified as an angle on a colorwheel, see -# http://en.wikipedia.org/wiki/Hue for more information. For instance the value -# 0 represents red, 60 is yellow, 120 is green, 180 is cyan, 240 is blue, 300 -# purple, and 360 is red again. -# Minimum value: 0, maximum value: 359, default value: 220. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_COLORSTYLE_HUE = 220 - -# The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of the colors -# in the HTML output. For a value of 0 the output will use grayscales only. A -# value of 255 will produce the most vivid colors. -# Minimum value: 0, maximum value: 255, default value: 100. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_COLORSTYLE_SAT = 100 - -# The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to the -# luminance component of the colors in the HTML output. Values below 100 -# gradually make the output lighter, whereas values above 100 make the output -# darker. The value divided by 100 is the actual gamma applied, so 80 represents -# a gamma of 0.8, The value 220 represents a gamma of 2.2, and 100 does not -# change the gamma. -# Minimum value: 40, maximum value: 240, default value: 80. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_COLORSTYLE_GAMMA = 80 - -# If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML -# page will contain the date and time when the page was generated. Setting this -# to YES can help to show when doxygen was last run and thus if the -# documentation is up to date. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_TIMESTAMP = YES - -# If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML -# documentation will contain sections that can be hidden and shown after the -# page has loaded. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_DYNAMIC_SECTIONS = YES - -# With HTML_INDEX_NUM_ENTRIES one can control the preferred number of entries -# shown in the various tree structured indices initially; the user can expand -# and collapse entries dynamically later on. Doxygen will expand the tree to -# such a level that at most the specified number of entries are visible (unless -# a fully collapsed tree already exceeds this amount). So setting the number of -# entries 1 will produce a full collapsed tree by default. 0 is a special value -# representing an infinite number of entries and will result in a full expanded -# tree by default. -# Minimum value: 0, maximum value: 9999, default value: 100. -# This tag requires that the tag GENERATE_HTML is set to YES. - -HTML_INDEX_NUM_ENTRIES = 100 - -# If the GENERATE_DOCSET tag is set to YES, additional index files will be -# generated that can be used as input for Apple's Xcode 3 integrated development -# environment (see: http://developer.apple.com/tools/xcode/), introduced with -# OSX 10.5 (Leopard). To create a documentation set, doxygen will generate a -# Makefile in the HTML output directory. Running make will produce the docset in -# that directory and running make install will install the docset in -# ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find it at -# startup. See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html -# for more information. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -GENERATE_DOCSET = NO - -# This tag determines the name of the docset feed. A documentation feed provides -# an umbrella under which multiple documentation sets from a single provider -# (such as a company or product suite) can be grouped. -# The default value is: Doxygen generated docs. -# This tag requires that the tag GENERATE_DOCSET is set to YES. - -DOCSET_FEEDNAME = "Doxygen generated docs" - -# This tag specifies a string that should uniquely identify the documentation -# set bundle. This should be a reverse domain-name style string, e.g. -# com.mycompany.MyDocSet. Doxygen will append .docset to the name. -# The default value is: org.doxygen.Project. -# This tag requires that the tag GENERATE_DOCSET is set to YES. - -DOCSET_BUNDLE_ID = org.doxygen.Project - -# The DOCSET_PUBLISHER_ID tag specifies a string that should uniquely identify -# the documentation publisher. This should be a reverse domain-name style -# string, e.g. com.mycompany.MyDocSet.documentation. -# The default value is: org.doxygen.Publisher. -# This tag requires that the tag GENERATE_DOCSET is set to YES. - -DOCSET_PUBLISHER_ID = org.doxygen.Publisher - -# The DOCSET_PUBLISHER_NAME tag identifies the documentation publisher. -# The default value is: Publisher. -# This tag requires that the tag GENERATE_DOCSET is set to YES. - -DOCSET_PUBLISHER_NAME = Publisher - -# If the GENERATE_HTMLHELP tag is set to YES then doxygen generates three -# additional HTML index files: index.hhp, index.hhc, and index.hhk. The -# index.hhp is a project file that can be read by Microsoft's HTML Help Workshop -# (see: http://www.microsoft.com/en-us/download/details.aspx?id=21138) on -# Windows. -# -# The HTML Help Workshop contains a compiler that can convert all HTML output -# generated by doxygen into a single compiled HTML file (.chm). Compiled HTML -# files are now used as the Windows 98 help format, and will replace the old -# Windows help format (.hlp) on all Windows platforms in the future. Compressed -# HTML files also contain an index, a table of contents, and you can search for -# words in the documentation. The HTML workshop also contains a viewer for -# compressed HTML files. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -GENERATE_HTMLHELP = NO - -# The CHM_FILE tag can be used to specify the file name of the resulting .chm -# file. You can add a path in front of the file if the result should not be -# written to the html output directory. -# This tag requires that the tag GENERATE_HTMLHELP is set to YES. - -CHM_FILE = - -# The HHC_LOCATION tag can be used to specify the location (absolute path -# including file name) of the HTML help compiler (hhc.exe). If non-empty, -# doxygen will try to run the HTML help compiler on the generated index.hhp. -# The file has to be specified with full path. -# This tag requires that the tag GENERATE_HTMLHELP is set to YES. - -HHC_LOCATION = - -# The GENERATE_CHI flag controls if a separate .chi index file is generated -# (YES) or that it should be included in the master .chm file (NO). -# The default value is: NO. -# This tag requires that the tag GENERATE_HTMLHELP is set to YES. - -GENERATE_CHI = NO - -# The CHM_INDEX_ENCODING is used to encode HtmlHelp index (hhk), content (hhc) -# and project file content. -# This tag requires that the tag GENERATE_HTMLHELP is set to YES. - -CHM_INDEX_ENCODING = - -# The BINARY_TOC flag controls whether a binary table of contents is generated -# (YES) or a normal table of contents (NO) in the .chm file. Furthermore it -# enables the Previous and Next buttons. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTMLHELP is set to YES. - -BINARY_TOC = NO - -# The TOC_EXPAND flag can be set to YES to add extra items for group members to -# the table of contents of the HTML help documentation and to the tree view. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTMLHELP is set to YES. - -TOC_EXPAND = NO - -# If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and -# QHP_VIRTUAL_FOLDER are set, an additional index file will be generated that -# can be used as input for Qt's qhelpgenerator to generate a Qt Compressed Help -# (.qch) of the generated HTML documentation. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -GENERATE_QHP = NO - -# If the QHG_LOCATION tag is specified, the QCH_FILE tag can be used to specify -# the file name of the resulting .qch file. The path specified is relative to -# the HTML output folder. -# This tag requires that the tag GENERATE_QHP is set to YES. - -QCH_FILE = - -# The QHP_NAMESPACE tag specifies the namespace to use when generating Qt Help -# Project output. For more information please see Qt Help Project / Namespace -# (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#namespace). -# The default value is: org.doxygen.Project. -# This tag requires that the tag GENERATE_QHP is set to YES. - -QHP_NAMESPACE = org.doxygen.Project - -# The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating Qt -# Help Project output. For more information please see Qt Help Project / Virtual -# Folders (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#virtual- -# folders). -# The default value is: doc. -# This tag requires that the tag GENERATE_QHP is set to YES. - -QHP_VIRTUAL_FOLDER = doc - -# If the QHP_CUST_FILTER_NAME tag is set, it specifies the name of a custom -# filter to add. For more information please see Qt Help Project / Custom -# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom- -# filters). -# This tag requires that the tag GENERATE_QHP is set to YES. - -QHP_CUST_FILTER_NAME = - -# The QHP_CUST_FILTER_ATTRS tag specifies the list of the attributes of the -# custom filter to add. For more information please see Qt Help Project / Custom -# Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom- -# filters). -# This tag requires that the tag GENERATE_QHP is set to YES. - -QHP_CUST_FILTER_ATTRS = - -# The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this -# project's filter section matches. Qt Help Project / Filter Attributes (see: -# http://qt-project.org/doc/qt-4.8/qthelpproject.html#filter-attributes). -# This tag requires that the tag GENERATE_QHP is set to YES. - -QHP_SECT_FILTER_ATTRS = - -# The QHG_LOCATION tag can be used to specify the location of Qt's -# qhelpgenerator. If non-empty doxygen will try to run qhelpgenerator on the -# generated .qhp file. -# This tag requires that the tag GENERATE_QHP is set to YES. - -QHG_LOCATION = - -# If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files will be -# generated, together with the HTML files, they form an Eclipse help plugin. To -# install this plugin and make it available under the help contents menu in -# Eclipse, the contents of the directory containing the HTML and XML files needs -# to be copied into the plugins directory of eclipse. The name of the directory -# within the plugins directory should be the same as the ECLIPSE_DOC_ID value. -# After copying Eclipse needs to be restarted before the help appears. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -GENERATE_ECLIPSEHELP = NO - -# A unique identifier for the Eclipse help plugin. When installing the plugin -# the directory name containing the HTML and XML files should also have this -# name. Each documentation set should have its own identifier. -# The default value is: org.doxygen.Project. -# This tag requires that the tag GENERATE_ECLIPSEHELP is set to YES. - -ECLIPSE_DOC_ID = org.doxygen.Project - -# If you want full control over the layout of the generated HTML pages it might -# be necessary to disable the index and replace it with your own. The -# DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs) at top -# of each HTML page. A value of NO enables the index and the value YES disables -# it. Since the tabs in the index contain the same information as the navigation -# tree, you can set this option to YES if you also set GENERATE_TREEVIEW to YES. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -DISABLE_INDEX = NO - -# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index -# structure should be generated to display hierarchical information. If the tag -# value is set to YES, a side panel will be generated containing a tree-like -# index structure (just like the one that is generated for HTML Help). For this -# to work a browser that supports JavaScript, DHTML, CSS and frames is required -# (i.e. any modern browser). Windows users are probably better off using the -# HTML help feature. Via custom style sheets (see HTML_EXTRA_STYLESHEET) one can -# further fine-tune the look of the index. As an example, the default style -# sheet generated by doxygen has an example that shows how to put an image at -# the root of the tree instead of the PROJECT_NAME. Since the tree basically has -# the same information as the tab index, you could consider setting -# DISABLE_INDEX to YES when enabling this option. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -GENERATE_TREEVIEW = NO - -# The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values that -# doxygen will group on one line in the generated HTML documentation. -# -# Note that a value of 0 will completely suppress the enum values from appearing -# in the overview section. -# Minimum value: 0, maximum value: 20, default value: 4. -# This tag requires that the tag GENERATE_HTML is set to YES. - -ENUM_VALUES_PER_LINE = 1 - -# If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be used -# to set the initial width (in pixels) of the frame in which the tree is shown. -# Minimum value: 0, maximum value: 1500, default value: 250. -# This tag requires that the tag GENERATE_HTML is set to YES. - -TREEVIEW_WIDTH = 250 - -# If the EXT_LINKS_IN_WINDOW option is set to YES, doxygen will open links to -# external symbols imported via tag files in a separate window. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -EXT_LINKS_IN_WINDOW = NO - -# Use this tag to change the font size of LaTeX formulas included as images in -# the HTML documentation. When you change the font size after a successful -# doxygen run you need to manually remove any form_*.png images from the HTML -# output directory to force them to be regenerated. -# Minimum value: 8, maximum value: 50, default value: 10. -# This tag requires that the tag GENERATE_HTML is set to YES. - -FORMULA_FONTSIZE = 10 - -# Use the FORMULA_TRANPARENT tag to determine whether or not the images -# generated for formulas are transparent PNGs. Transparent PNGs are not -# supported properly for IE 6.0, but are supported on all modern browsers. -# -# Note that when changing this option you need to delete any form_*.png files in -# the HTML output directory before the changes have effect. -# The default value is: YES. -# This tag requires that the tag GENERATE_HTML is set to YES. - -FORMULA_TRANSPARENT = YES - -# Enable the USE_MATHJAX option to render LaTeX formulas using MathJax (see -# http://www.mathjax.org) which uses client side Javascript for the rendering -# instead of using pre-rendered bitmaps. Use this if you do not have LaTeX -# installed or if you want to formulas look prettier in the HTML output. When -# enabled you may also need to install MathJax separately and configure the path -# to it using the MATHJAX_RELPATH option. -# The default value is: NO. -# This tag requires that the tag GENERATE_HTML is set to YES. - -USE_MATHJAX = NO - -# When MathJax is enabled you can set the default output format to be used for -# the MathJax output. See the MathJax site (see: -# http://docs.mathjax.org/en/latest/output.html) for more details. -# Possible values are: HTML-CSS (which is slower, but has the best -# compatibility), NativeMML (i.e. MathML) and SVG. -# The default value is: HTML-CSS. -# This tag requires that the tag USE_MATHJAX is set to YES. - -MATHJAX_FORMAT = HTML-CSS - -# When MathJax is enabled you need to specify the location relative to the HTML -# output directory using the MATHJAX_RELPATH option. The destination directory -# should contain the MathJax.js script. For instance, if the mathjax directory -# is located at the same level as the HTML output directory, then -# MATHJAX_RELPATH should be ../mathjax. The default value points to the MathJax -# Content Delivery Network so you can quickly see the result without installing -# MathJax. However, it is strongly recommended to install a local copy of -# MathJax from http://www.mathjax.org before deployment. -# The default value is: http://cdn.mathjax.org/mathjax/latest. -# This tag requires that the tag USE_MATHJAX is set to YES. - -MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest - -# The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax -# extension names that should be enabled during MathJax rendering. For example -# MATHJAX_EXTENSIONS = TeX/AMSmath TeX/AMSsymbols -# This tag requires that the tag USE_MATHJAX is set to YES. - -MATHJAX_EXTENSIONS = - -# The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces -# of code that will be used on startup of the MathJax code. See the MathJax site -# (see: http://docs.mathjax.org/en/latest/output.html) for more details. For an -# example see the documentation. -# This tag requires that the tag USE_MATHJAX is set to YES. - -MATHJAX_CODEFILE = - -# When the SEARCHENGINE tag is enabled doxygen will generate a search box for -# the HTML output. The underlying search engine uses javascript and DHTML and -# should work on any modern browser. Note that when using HTML help -# (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets (GENERATE_DOCSET) -# there is already a search function so this one should typically be disabled. -# For large projects the javascript based search engine can be slow, then -# enabling SERVER_BASED_SEARCH may provide a better solution. It is possible to -# search using the keyboard; to jump to the search box use + S -# (what the is depends on the OS and browser, but it is typically -# , /