2
0
forked from Ivasoft/DSView

Add DSLogic hardware support

This commit is contained in:
DreamSourceLab
2014-04-14 17:46:11 +08:00
parent a76c4b4a5f
commit 264a094168
300 changed files with 305141 additions and 284 deletions

View File

@@ -0,0 +1,49 @@
SET(CMAKE_C_COMPILER "/usr/bin/gcc")
SET(CMAKE_C_COMPILER_ARG1 "")
SET(CMAKE_C_COMPILER_ID "GNU")
SET(CMAKE_C_PLATFORM_ID "Linux")
SET(CMAKE_AR "/usr/bin/ar")
SET(CMAKE_RANLIB "/usr/bin/ranlib")
SET(CMAKE_LINKER "/usr/bin/ld")
SET(CMAKE_COMPILER_IS_GNUCC 1)
SET(CMAKE_C_COMPILER_LOADED 1)
SET(CMAKE_COMPILER_IS_MINGW )
SET(CMAKE_COMPILER_IS_CYGWIN )
IF(CMAKE_COMPILER_IS_CYGWIN)
SET(CYGWIN 1)
SET(UNIX 1)
ENDIF(CMAKE_COMPILER_IS_CYGWIN)
SET(CMAKE_C_COMPILER_ENV_VAR "CC")
IF(CMAKE_COMPILER_IS_MINGW)
SET(MINGW 1)
ENDIF(CMAKE_COMPILER_IS_MINGW)
SET(CMAKE_C_COMPILER_ID_RUN 1)
SET(CMAKE_C_SOURCE_FILE_EXTENSIONS c)
SET(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
SET(CMAKE_C_LINKER_PREFERENCE 10)
# Save compiler ABI information.
SET(CMAKE_C_SIZEOF_DATA_PTR "4")
SET(CMAKE_C_COMPILER_ABI "ELF")
SET(CMAKE_C_LIBRARY_ARCHITECTURE "i386-linux-gnu")
IF(CMAKE_C_SIZEOF_DATA_PTR)
SET(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
ENDIF(CMAKE_C_SIZEOF_DATA_PTR)
IF(CMAKE_C_COMPILER_ABI)
SET(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
ENDIF(CMAKE_C_COMPILER_ABI)
IF(CMAKE_C_LIBRARY_ARCHITECTURE)
SET(CMAKE_LIBRARY_ARCHITECTURE "i386-linux-gnu")
ENDIF()
SET(CMAKE_C_HAS_ISYSROOT "")
SET(CMAKE_C_IMPLICIT_LINK_LIBRARIES "c")
SET(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/i686-linux-gnu/4.6;/usr/lib/i386-linux-gnu;/usr/lib;/lib/i386-linux-gnu;/lib")

View File

@@ -0,0 +1,50 @@
SET(CMAKE_CXX_COMPILER "/usr/bin/c++")
SET(CMAKE_CXX_COMPILER_ARG1 "")
SET(CMAKE_CXX_COMPILER_ID "GNU")
SET(CMAKE_CXX_PLATFORM_ID "Linux")
SET(CMAKE_AR "/usr/bin/ar")
SET(CMAKE_RANLIB "/usr/bin/ranlib")
SET(CMAKE_LINKER "/usr/bin/ld")
SET(CMAKE_COMPILER_IS_GNUCXX 1)
SET(CMAKE_CXX_COMPILER_LOADED 1)
SET(CMAKE_COMPILER_IS_MINGW )
SET(CMAKE_COMPILER_IS_CYGWIN )
IF(CMAKE_COMPILER_IS_CYGWIN)
SET(CYGWIN 1)
SET(UNIX 1)
ENDIF(CMAKE_COMPILER_IS_CYGWIN)
SET(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
IF(CMAKE_COMPILER_IS_MINGW)
SET(MINGW 1)
ENDIF(CMAKE_COMPILER_IS_MINGW)
SET(CMAKE_CXX_COMPILER_ID_RUN 1)
SET(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
SET(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;CPP)
SET(CMAKE_CXX_LINKER_PREFERENCE 30)
SET(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
# Save compiler ABI information.
SET(CMAKE_CXX_SIZEOF_DATA_PTR "4")
SET(CMAKE_CXX_COMPILER_ABI "ELF")
SET(CMAKE_CXX_LIBRARY_ARCHITECTURE "i386-linux-gnu")
IF(CMAKE_CXX_SIZEOF_DATA_PTR)
SET(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
ENDIF(CMAKE_CXX_SIZEOF_DATA_PTR)
IF(CMAKE_CXX_COMPILER_ABI)
SET(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
ENDIF(CMAKE_CXX_COMPILER_ABI)
IF(CMAKE_CXX_LIBRARY_ARCHITECTURE)
SET(CMAKE_LIBRARY_ARCHITECTURE "i386-linux-gnu")
ENDIF()
SET(CMAKE_CXX_HAS_ISYSROOT "")
SET(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "stdc++;m;c")
SET(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "/usr/lib/gcc/i686-linux-gnu/4.6;/usr/lib/i386-linux-gnu;/usr/lib;/lib/i386-linux-gnu;/lib")

Binary file not shown.

View File

@@ -0,0 +1,31 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
# Relative path conversion top directories.
SET(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/andy/work/DSLogic-open/DSLogic-gui")
SET(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/andy/work/DSLogic-open/DSLogic-gui")
# Force unix paths in dependencies.
SET(CMAKE_FORCE_UNIX_PATHS 1)
# The C and CXX include file search paths:
SET(CMAKE_C_INCLUDE_PATH
"/usr/include/qt4"
"/usr/include/qt4/QtGui"
"/usr/include/qt4/QtCore"
"."
"/usr/local/include"
"/usr/local/include/libusb-1.0"
"/usr/include/glib-2.0"
"/usr/lib/i386-linux-gnu/glib-2.0/include"
"/usr/lib/libzip/include"
)
SET(CMAKE_CXX_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
SET(CMAKE_Fortran_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
SET(CMAKE_ASM_INCLUDE_PATH ${CMAKE_C_INCLUDE_PATH})
# The C and CXX include file regular expressions for this directory.
SET(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
SET(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
SET(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
SET(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,37 @@
# Hashes of file build rules.
95d16dac3ef5fb9da6ca300bbedf97af pv/data/moc_dso.cxx
b4c647241f6e5e180e91423f375b9770 pv/data/moc_dsosnapshot.cxx
f041dbf8b75dabb5dc4a491e035a889b pv/decoder/moc_democonfig.cxx
3a5b6cd180fbb29ab1e521d873ed75cb pv/dialogs/moc_about.cxx
96afe3b516f05a64612f6cb0c855de08 pv/dialogs/moc_connect.cxx
a3ff42d169f7b6741d28680dcbb885ad pv/dialogs/moc_deviceoptions.cxx
af5c529136dd37cd9e63bd0fb09ae49c pv/dialogs/moc_search.cxx
c28edc2df8f5fa3d9f9836a214e9c564 pv/dock/moc_fakelineedit.cxx
6469ff7a99244267e98186d8ee3fdc17 pv/dock/moc_measuredock.cxx
e71bfc27d1c6f0cc6c977823e640f997 pv/dock/moc_protocoldock.cxx
1ca19d0bbddd16b264934f1ec30aaec0 pv/dock/moc_searchdock.cxx
9aa6ae11843dafb210d29610c06fdea9 pv/dock/moc_triggerdock.cxx
08b7f35b7e0b27bae09d862d1be99fec pv/moc_mainwindow.cxx
3f31c8fd9f1e58b1c1315a47040c802a pv/moc_sigsession.cxx
cf60e09bc98e45dc62590f239d19a62e pv/toolbars/moc_devicebar.cxx
4d2e116e4660a0b988354bd6dda256c1 pv/toolbars/moc_filebar.cxx
3c758ce8c8780e3cd238874fa6b267f6 pv/toolbars/moc_logobar.cxx
f7bfe98c6a383dbe2ae294ec816f74f4 pv/toolbars/moc_samplingbar.cxx
911952c189de047fc92b289268dc1d6f pv/toolbars/moc_trigbar.cxx
15e00817bcdb6d4761662eef8ffd03f5 pv/view/moc_cursor.cxx
e6a32126dff0184533a7453361674b12 pv/view/moc_dsosignal.cxx
a1a3bafb0caaf07e2604127dc8eb6542 pv/view/moc_groupsignal.cxx
4267fcb9ce499b13cbd813bd2f5e6008 pv/view/moc_header.cxx
e58040e41fedc1261891e35735849c48 pv/view/moc_protocolsignal.cxx
6d87200eaddfbaa7e742e7dedaa789e3 pv/view/moc_ruler.cxx
8c59662f1af834e1b6e486044c2dfd2c pv/view/moc_timemarker.cxx
7948ef46d7e781e5244007e2649852a2 pv/view/moc_view.cxx
4c16c3caa1b38df7c4485985615a8f09 pv/view/moc_viewport.cxx
6dbe4ba35f7654467e6d8cfeee731880 qrc_DSLogic.cxx
c06919811dc4f735d32909a545862562 ui_about.h
caaf07f183a5d2e3a3455672eb58afd1 ui_dmx512config.h
c3e69e60e07b7be6477161ca6bc0a27c ui_i2cconfig.h
cedeafdab62735ca7561b61955a78079 ui_search.h
5190828de8f5020ee976dd7791cad3b1 ui_serialconfig.h
b3908cd41c8d913a3cef8df790d54470 ui_spiconfig.h
e4de9842cf82bd943271cece608ec319 ui_wire1config.h

View File

@@ -0,0 +1,15 @@
SET(CMAKE_SYSTEM "Linux-3.2.0-29-generic-pae")
SET(CMAKE_SYSTEM_NAME "Linux")
SET(CMAKE_SYSTEM_VERSION "3.2.0-29-generic-pae")
SET(CMAKE_SYSTEM_PROCESSOR "i686")
SET(CMAKE_HOST_SYSTEM "Linux-3.2.0-29-generic-pae")
SET(CMAKE_HOST_SYSTEM_NAME "Linux")
SET(CMAKE_HOST_SYSTEM_VERSION "3.2.0-29-generic-pae")
SET(CMAKE_HOST_SYSTEM_PROCESSOR "i686")
SET(CMAKE_CROSSCOMPILING "FALSE")
SET(CMAKE_SYSTEM_LOADED 1)

View File

@@ -0,0 +1,232 @@
#ifdef __cplusplus
# error "A C++ compiler has been selected for C."
#endif
#if defined(__18CXX)
# define ID_VOID_MAIN
#endif
#if defined(__INTEL_COMPILER) || defined(__ICC)
# define COMPILER_ID "Intel"
#elif defined(__clang__)
# define COMPILER_ID "Clang"
#elif defined(__BORLANDC__)
# define COMPILER_ID "Borland"
#elif defined(__WATCOMC__)
# define COMPILER_ID "Watcom"
#elif defined(__SUNPRO_C)
# define COMPILER_ID "SunPro"
#elif defined(__HP_cc)
# define COMPILER_ID "HP"
#elif defined(__DECC)
# define COMPILER_ID "Compaq"
#elif defined(__IBMC__)
# if defined(__COMPILER_VER__)
# define COMPILER_ID "zOS"
# elif __IBMC__ >= 800
# define COMPILER_ID "XL"
# else
# define COMPILER_ID "VisualAge"
# endif
#elif defined(__PGI)
# define COMPILER_ID "PGI"
#elif defined(__PATHSCALE__)
# define COMPILER_ID "PathScale"
#elif defined(_CRAYC)
# define COMPILER_ID "Cray"
#elif defined(__TI_COMPILER_VERSION__)
# define COMPILER_ID "TI_DSP"
#elif defined(__TINYC__)
# define COMPILER_ID "TinyCC"
#elif defined(__SCO_VERSION__)
# define COMPILER_ID "SCO"
#elif defined(__GNUC__)
# define COMPILER_ID "GNU"
#elif defined(_MSC_VER)
# define COMPILER_ID "MSVC"
#elif defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
/* Analog Devices C++ compiler for Blackfin, TigerSHARC and
SHARC (21000) DSPs */
# define COMPILER_ID "ADSP"
/* IAR Systems compiler for embedded systems.
http://www.iar.com
Not supported yet by CMake
#elif defined(__IAR_SYSTEMS_ICC__)
# define COMPILER_ID "IAR" */
/* sdcc, the small devices C compiler for embedded systems,
http://sdcc.sourceforge.net */
#elif defined(SDCC)
# define COMPILER_ID "SDCC"
#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
# define COMPILER_ID "MIPSpro"
/* This compiler is either not known or is too old to define an
identification macro. Try to identify the platform and guess that
it is the native compiler. */
#elif defined(__sgi)
# define COMPILER_ID "MIPSpro"
#elif defined(__hpux) || defined(__hpua)
# define COMPILER_ID "HP"
#else /* unknown compiler */
# define COMPILER_ID ""
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
/* Identify known platforms by name. */
#if defined(__linux) || defined(__linux__) || defined(linux)
# define PLATFORM_ID "Linux"
#elif defined(__CYGWIN__)
# define PLATFORM_ID "Cygwin"
#elif defined(__MINGW32__)
# define PLATFORM_ID "MinGW"
#elif defined(__APPLE__)
# define PLATFORM_ID "Darwin"
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
# define PLATFORM_ID "Windows"
#elif defined(__FreeBSD__) || defined(__FreeBSD)
# define PLATFORM_ID "FreeBSD"
#elif defined(__NetBSD__) || defined(__NetBSD)
# define PLATFORM_ID "NetBSD"
#elif defined(__OpenBSD__) || defined(__OPENBSD)
# define PLATFORM_ID "OpenBSD"
#elif defined(__sun) || defined(sun)
# define PLATFORM_ID "SunOS"
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
# define PLATFORM_ID "AIX"
#elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
# define PLATFORM_ID "IRIX"
#elif defined(__hpux) || defined(__hpux__)
# define PLATFORM_ID "HP-UX"
#elif defined(__HAIKU) || defined(__HAIKU__) || defined(_HAIKU)
# define PLATFORM_ID "Haiku"
/* Haiku also defines __BEOS__ so we must
put it prior to the check for __BEOS__
*/
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
# define PLATFORM_ID "BeOS"
#elif defined(__QNX__) || defined(__QNXNTO__)
# define PLATFORM_ID "QNX"
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
# define PLATFORM_ID "Tru64"
#elif defined(__riscos) || defined(__riscos__)
# define PLATFORM_ID "RISCos"
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
# define PLATFORM_ID "SINIX"
#elif defined(__UNIX_SV__)
# define PLATFORM_ID "UNIX_SV"
#elif defined(__bsdos__)
# define PLATFORM_ID "BSDOS"
#elif defined(_MPRAS) || defined(MPRAS)
# define PLATFORM_ID "MP-RAS"
#elif defined(__osf) || defined(__osf__)
# define PLATFORM_ID "OSF1"
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
# define PLATFORM_ID "SCO_SV"
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
# define PLATFORM_ID "ULTRIX"
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
# define PLATFORM_ID "Xenix"
#else /* unknown platform */
# define PLATFORM_ID ""
#endif
/* For windows compilers MSVC and Intel we can determine
the architecture of the compiler being used. This is because
the compilers do not have flags that can change the architecture,
but rather depend on which compiler is being used
*/
#if defined(_WIN32) && defined(_MSC_VER)
# if defined(_M_IA64)
# define ARCHITECTURE_ID "IA64"
# elif defined(_M_X64) || defined(_M_AMD64)
# define ARCHITECTURE_ID "x64"
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#else
# define ARCHITECTURE_ID ""
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
/*--------------------------------------------------------------------------*/
#ifdef ID_VOID_MAIN
void main() {}
#else
int main(int argc, char* argv[])
{
int require = 0;
require += info_compiler[argc];
require += info_platform[argc];
require += info_arch[argc];
(void)argv;
return require;
}
#endif

Binary file not shown.

View File

@@ -0,0 +1,215 @@
/* This source file must have a .cpp extension so that all C++ compilers
recognize the extension without flags. Borland does not know .cxx for
example. */
#ifndef __cplusplus
# error "A C compiler has been selected for C++."
#endif
#if defined(__COMO__)
# define COMPILER_ID "Comeau"
#elif defined(__INTEL_COMPILER) || defined(__ICC)
# define COMPILER_ID "Intel"
#elif defined(__clang__)
# define COMPILER_ID "Clang"
#elif defined(__BORLANDC__)
# define COMPILER_ID "Borland"
#elif defined(__WATCOMC__)
# define COMPILER_ID "Watcom"
#elif defined(__SUNPRO_CC)
# define COMPILER_ID "SunPro"
#elif defined(__HP_aCC)
# define COMPILER_ID "HP"
#elif defined(__DECCXX)
# define COMPILER_ID "Compaq"
#elif defined(__IBMCPP__)
# if defined(__COMPILER_VER__)
# define COMPILER_ID "zOS"
# elif __IBMCPP__ >= 800
# define COMPILER_ID "XL"
# else
# define COMPILER_ID "VisualAge"
# endif
#elif defined(__PGI)
# define COMPILER_ID "PGI"
#elif defined(__PATHSCALE__)
# define COMPILER_ID "PathScale"
#elif defined(_CRAYC)
# define COMPILER_ID "Cray"
#elif defined(__TI_COMPILER_VERSION__)
# define COMPILER_ID "TI_DSP"
#elif defined(__SCO_VERSION__)
# define COMPILER_ID "SCO"
#elif defined(__GNUC__)
# define COMPILER_ID "GNU"
#elif defined(_MSC_VER)
# define COMPILER_ID "MSVC"
#elif defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
/* Analog Devices C++ compiler for Blackfin, TigerSHARC and
SHARC (21000) DSPs */
# define COMPILER_ID "ADSP"
#elif defined(_SGI_COMPILER_VERSION) || defined(_COMPILER_VERSION)
# define COMPILER_ID "MIPSpro"
/* This compiler is either not known or is too old to define an
identification macro. Try to identify the platform and guess that
it is the native compiler. */
#elif defined(__sgi)
# define COMPILER_ID "MIPSpro"
#elif defined(__hpux) || defined(__hpua)
# define COMPILER_ID "HP"
#else /* unknown compiler */
# define COMPILER_ID ""
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
/* Identify known platforms by name. */
#if defined(__linux) || defined(__linux__) || defined(linux)
# define PLATFORM_ID "Linux"
#elif defined(__CYGWIN__)
# define PLATFORM_ID "Cygwin"
#elif defined(__MINGW32__)
# define PLATFORM_ID "MinGW"
#elif defined(__APPLE__)
# define PLATFORM_ID "Darwin"
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
# define PLATFORM_ID "Windows"
#elif defined(__FreeBSD__) || defined(__FreeBSD)
# define PLATFORM_ID "FreeBSD"
#elif defined(__NetBSD__) || defined(__NetBSD)
# define PLATFORM_ID "NetBSD"
#elif defined(__OpenBSD__) || defined(__OPENBSD)
# define PLATFORM_ID "OpenBSD"
#elif defined(__sun) || defined(sun)
# define PLATFORM_ID "SunOS"
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
# define PLATFORM_ID "AIX"
#elif defined(__sgi) || defined(__sgi__) || defined(_SGI)
# define PLATFORM_ID "IRIX"
#elif defined(__hpux) || defined(__hpux__)
# define PLATFORM_ID "HP-UX"
#elif defined(__HAIKU) || defined(__HAIKU__) || defined(_HAIKU)
# define PLATFORM_ID "Haiku"
/* Haiku also defines __BEOS__ so we must
put it prior to the check for __BEOS__
*/
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
# define PLATFORM_ID "BeOS"
#elif defined(__QNX__) || defined(__QNXNTO__)
# define PLATFORM_ID "QNX"
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
# define PLATFORM_ID "Tru64"
#elif defined(__riscos) || defined(__riscos__)
# define PLATFORM_ID "RISCos"
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
# define PLATFORM_ID "SINIX"
#elif defined(__UNIX_SV__)
# define PLATFORM_ID "UNIX_SV"
#elif defined(__bsdos__)
# define PLATFORM_ID "BSDOS"
#elif defined(_MPRAS) || defined(MPRAS)
# define PLATFORM_ID "MP-RAS"
#elif defined(__osf) || defined(__osf__)
# define PLATFORM_ID "OSF1"
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
# define PLATFORM_ID "SCO_SV"
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
# define PLATFORM_ID "ULTRIX"
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
# define PLATFORM_ID "Xenix"
#else /* unknown platform */
# define PLATFORM_ID ""
#endif
/* For windows compilers MSVC and Intel we can determine
the architecture of the compiler being used. This is because
the compilers do not have flags that can change the architecture,
but rather depend on which compiler is being used
*/
#if defined(_WIN32) && defined(_MSC_VER)
# if defined(_M_IA64)
# define ARCHITECTURE_ID "IA64"
# elif defined(_M_X64) || defined(_M_AMD64)
# define ARCHITECTURE_ID "x64"
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#else
# define ARCHITECTURE_ID ""
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
/*--------------------------------------------------------------------------*/
int main(int argc, char* argv[])
{
int require = 0;
require += info_compiler[argc];
require += info_platform[argc];
(void)argv;
return require;
}

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,103 @@
# The set of languages for which implicit dependencies are needed:
SET(CMAKE_DEPENDS_LANGUAGES
"CXX"
)
# The set of files for implicit dependencies of each language:
SET(CMAKE_DEPENDS_CHECK_CXX
"/home/andy/work/DSLogic-open/DSLogic-gui/main.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/main.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/data/analog.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/data/analog.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/data/analogsnapshot.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/data/analogsnapshot.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/data/dso.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/data/dso.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/data/dsosnapshot.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/data/dsosnapshot.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/data/group.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/data/group.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/data/groupsnapshot.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/data/groupsnapshot.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/data/logic.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/data/logic.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/data/logicsnapshot.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/data/logicsnapshot.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/data/moc_dso.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/data/moc_dso.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/data/moc_dsosnapshot.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/data/moc_dsosnapshot.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/data/signaldata.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/data/signaldata.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/data/snapshot.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/data/snapshot.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/decoder/decoder.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/decoder/decoder.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/decoder/decoderfactory.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/decoder/decoderfactory.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/decoder/democonfig.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/decoder/democonfig.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/decoder/ds1wire.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/decoder/ds1wire.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/decoder/dsdmx512.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/decoder/dsdmx512.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/decoder/dsi2c.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/decoder/dsi2c.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/decoder/dsserial.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/decoder/dsserial.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/decoder/dsspi.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/decoder/dsspi.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/decoder/moc_democonfig.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/decoder/moc_democonfig.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/devicemanager.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/devicemanager.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/dialogs/about.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/dialogs/about.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/dialogs/connect.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/dialogs/connect.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/dialogs/deviceoptions.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/dialogs/deviceoptions.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/dialogs/moc_about.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/dialogs/moc_about.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/dialogs/moc_connect.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/dialogs/moc_connect.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/dialogs/moc_deviceoptions.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/dialogs/moc_deviceoptions.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/dialogs/moc_search.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/dialogs/moc_search.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/dialogs/search.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/dialogs/search.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/dock/fakelineedit.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/dock/fakelineedit.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/dock/measuredock.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/dock/measuredock.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/dock/moc_fakelineedit.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/dock/moc_fakelineedit.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/dock/moc_measuredock.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/dock/moc_measuredock.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/dock/moc_protocoldock.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/dock/moc_protocoldock.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/dock/moc_searchdock.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/dock/moc_searchdock.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/dock/moc_triggerdock.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/dock/moc_triggerdock.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/dock/protocoldock.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/dock/protocoldock.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/dock/searchdock.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/dock/searchdock.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/dock/triggerdock.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/dock/triggerdock.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/mainwindow.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/mainwindow.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/moc_mainwindow.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/moc_mainwindow.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/moc_sigsession.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/moc_sigsession.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/prop/binding/binding.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/prop/binding/binding.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/prop/binding/binding_deviceoptions.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/prop/binding/binding_deviceoptions.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/prop/bool.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/prop/bool.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/prop/double.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/prop/double.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/prop/enum.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/prop/enum.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/prop/int.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/prop/int.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/prop/property.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/prop/property.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/sigsession.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/sigsession.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/toolbars/devicebar.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/toolbars/devicebar.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/toolbars/filebar.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/toolbars/filebar.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/toolbars/logobar.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/toolbars/logobar.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/toolbars/moc_devicebar.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/toolbars/moc_devicebar.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/toolbars/moc_filebar.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/toolbars/moc_filebar.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/toolbars/moc_logobar.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/toolbars/moc_logobar.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/toolbars/moc_samplingbar.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/toolbars/moc_samplingbar.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/toolbars/moc_trigbar.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/toolbars/moc_trigbar.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/toolbars/samplingbar.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/toolbars/samplingbar.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/toolbars/trigbar.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/toolbars/trigbar.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/analogsignal.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/view/analogsignal.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/cursor.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/view/cursor.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/dsosignal.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/view/dsosignal.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/groupsignal.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/view/groupsignal.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/header.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/view/header.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/logicsignal.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/view/logicsignal.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/moc_cursor.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/view/moc_cursor.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/moc_dsosignal.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/view/moc_dsosignal.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/moc_groupsignal.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/view/moc_groupsignal.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/moc_header.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/view/moc_header.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/moc_protocolsignal.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/view/moc_protocolsignal.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/moc_ruler.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/view/moc_ruler.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/moc_timemarker.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/view/moc_timemarker.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/moc_view.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/view/moc_view.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/moc_viewport.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/view/moc_viewport.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/protocolsignal.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/view/protocolsignal.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/ruler.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/view/ruler.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/signal.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/view/signal.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/timemarker.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/view/timemarker.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/view.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/view/view.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/viewport.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/pv/view/viewport.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/qrc_DSLogic.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic-gui.dir/qrc_DSLogic.cxx.o"
)
SET(CMAKE_CXX_COMPILER_ID "GNU")
# Preprocessor definitions for this target.
SET(CMAKE_TARGET_DEFINITIONS
"QT_NO_DEBUG"
"QT_GUI_LIB"
"QT_CORE_LIB"
)
# Targets to which this target links.
SET(CMAKE_TARGET_LINKED_INFO_FILES
)

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,129 @@
FILE(REMOVE_RECURSE
"CMakeFiles/DSLogic-gui.dir/main.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/devicemanager.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/mainwindow.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/sigsession.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/data/analog.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/data/analogsnapshot.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/data/group.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/data/groupsnapshot.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/data/logic.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/data/logicsnapshot.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/data/signaldata.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/data/snapshot.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/data/dso.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/data/dsosnapshot.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/decoder/decoder.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/decoder/decoderfactory.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/decoder/democonfig.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/decoder/ds1wire.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/decoder/dsdmx512.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/decoder/dsi2c.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/decoder/dsserial.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/decoder/dsspi.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/dialogs/about.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/dialogs/connect.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/dialogs/deviceoptions.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/dialogs/search.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/dock/fakelineedit.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/dock/measuredock.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/dock/protocoldock.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/dock/searchdock.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/dock/triggerdock.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/prop/bool.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/prop/double.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/prop/enum.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/prop/int.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/prop/property.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/prop/binding/binding.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/prop/binding/binding_deviceoptions.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/toolbars/devicebar.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/toolbars/filebar.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/toolbars/logobar.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/toolbars/samplingbar.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/toolbars/trigbar.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/view/analogsignal.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/view/cursor.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/view/groupsignal.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/view/header.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/view/logicsignal.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/view/protocolsignal.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/view/ruler.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/view/signal.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/view/timemarker.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/view/view.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/view/viewport.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/view/dsosignal.cpp.o"
"CMakeFiles/DSLogic-gui.dir/pv/moc_sigsession.cxx.o"
"CMakeFiles/DSLogic-gui.dir/pv/moc_mainwindow.cxx.o"
"CMakeFiles/DSLogic-gui.dir/pv/decoder/moc_democonfig.cxx.o"
"CMakeFiles/DSLogic-gui.dir/pv/dock/moc_fakelineedit.cxx.o"
"CMakeFiles/DSLogic-gui.dir/pv/dock/moc_measuredock.cxx.o"
"CMakeFiles/DSLogic-gui.dir/pv/dock/moc_protocoldock.cxx.o"
"CMakeFiles/DSLogic-gui.dir/pv/dock/moc_searchdock.cxx.o"
"CMakeFiles/DSLogic-gui.dir/pv/dock/moc_triggerdock.cxx.o"
"CMakeFiles/DSLogic-gui.dir/pv/dialogs/moc_about.cxx.o"
"CMakeFiles/DSLogic-gui.dir/pv/dialogs/moc_connect.cxx.o"
"CMakeFiles/DSLogic-gui.dir/pv/dialogs/moc_deviceoptions.cxx.o"
"CMakeFiles/DSLogic-gui.dir/pv/dialogs/moc_search.cxx.o"
"CMakeFiles/DSLogic-gui.dir/pv/toolbars/moc_samplingbar.cxx.o"
"CMakeFiles/DSLogic-gui.dir/pv/toolbars/moc_devicebar.cxx.o"
"CMakeFiles/DSLogic-gui.dir/pv/toolbars/moc_filebar.cxx.o"
"CMakeFiles/DSLogic-gui.dir/pv/toolbars/moc_logobar.cxx.o"
"CMakeFiles/DSLogic-gui.dir/pv/toolbars/moc_trigbar.cxx.o"
"CMakeFiles/DSLogic-gui.dir/pv/data/moc_dso.cxx.o"
"CMakeFiles/DSLogic-gui.dir/pv/data/moc_dsosnapshot.cxx.o"
"CMakeFiles/DSLogic-gui.dir/pv/view/moc_cursor.cxx.o"
"CMakeFiles/DSLogic-gui.dir/pv/view/moc_header.cxx.o"
"CMakeFiles/DSLogic-gui.dir/pv/view/moc_ruler.cxx.o"
"CMakeFiles/DSLogic-gui.dir/pv/view/moc_timemarker.cxx.o"
"CMakeFiles/DSLogic-gui.dir/pv/view/moc_groupsignal.cxx.o"
"CMakeFiles/DSLogic-gui.dir/pv/view/moc_protocolsignal.cxx.o"
"CMakeFiles/DSLogic-gui.dir/pv/view/moc_view.cxx.o"
"CMakeFiles/DSLogic-gui.dir/pv/view/moc_dsosignal.cxx.o"
"CMakeFiles/DSLogic-gui.dir/pv/view/moc_viewport.cxx.o"
"CMakeFiles/DSLogic-gui.dir/qrc_DSLogic.cxx.o"
"pv/moc_sigsession.cxx"
"pv/moc_mainwindow.cxx"
"pv/decoder/moc_democonfig.cxx"
"pv/dock/moc_fakelineedit.cxx"
"pv/dock/moc_measuredock.cxx"
"pv/dock/moc_protocoldock.cxx"
"pv/dock/moc_searchdock.cxx"
"pv/dock/moc_triggerdock.cxx"
"pv/dialogs/moc_about.cxx"
"pv/dialogs/moc_connect.cxx"
"pv/dialogs/moc_deviceoptions.cxx"
"pv/dialogs/moc_search.cxx"
"pv/toolbars/moc_samplingbar.cxx"
"pv/toolbars/moc_devicebar.cxx"
"pv/toolbars/moc_filebar.cxx"
"pv/toolbars/moc_logobar.cxx"
"pv/toolbars/moc_trigbar.cxx"
"pv/data/moc_dso.cxx"
"pv/data/moc_dsosnapshot.cxx"
"pv/view/moc_cursor.cxx"
"pv/view/moc_header.cxx"
"pv/view/moc_ruler.cxx"
"pv/view/moc_timemarker.cxx"
"pv/view/moc_groupsignal.cxx"
"pv/view/moc_protocolsignal.cxx"
"pv/view/moc_view.cxx"
"pv/view/moc_dsosignal.cxx"
"pv/view/moc_viewport.cxx"
"ui_about.h"
"ui_search.h"
"ui_dmx512config.h"
"ui_i2cconfig.h"
"ui_serialconfig.h"
"ui_spiconfig.h"
"ui_wire1config.h"
"qrc_DSLogic.cxx"
"DSLogic-gui.pdb"
"DSLogic-gui"
)
# Per-language clean rules from dependency scanning.
FOREACH(lang CXX)
INCLUDE(CMakeFiles/DSLogic-gui.dir/cmake_clean_${lang}.cmake OPTIONAL)
ENDFOREACH(lang)

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,8 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
# compile CXX with /usr/bin/c++
CXX_FLAGS = -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/home/andy/work/DSLogic-open/DSLogic-gui -I/usr/local/include -I/usr/local/include/libusb-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/lib/libzip/include -Wall -Wextra -Wno-return-type -Wno-ignored-qualifiers
CXX_DEFINES = -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB

View File

@@ -0,0 +1 @@
/usr/bin/c++ CMakeFiles/DSLogic-gui.dir/main.cpp.o CMakeFiles/DSLogic-gui.dir/pv/devicemanager.cpp.o CMakeFiles/DSLogic-gui.dir/pv/mainwindow.cpp.o CMakeFiles/DSLogic-gui.dir/pv/sigsession.cpp.o CMakeFiles/DSLogic-gui.dir/pv/data/analog.cpp.o CMakeFiles/DSLogic-gui.dir/pv/data/analogsnapshot.cpp.o CMakeFiles/DSLogic-gui.dir/pv/data/group.cpp.o CMakeFiles/DSLogic-gui.dir/pv/data/groupsnapshot.cpp.o CMakeFiles/DSLogic-gui.dir/pv/data/logic.cpp.o CMakeFiles/DSLogic-gui.dir/pv/data/logicsnapshot.cpp.o CMakeFiles/DSLogic-gui.dir/pv/data/signaldata.cpp.o CMakeFiles/DSLogic-gui.dir/pv/data/snapshot.cpp.o CMakeFiles/DSLogic-gui.dir/pv/data/dso.cpp.o CMakeFiles/DSLogic-gui.dir/pv/data/dsosnapshot.cpp.o CMakeFiles/DSLogic-gui.dir/pv/decoder/decoder.cpp.o CMakeFiles/DSLogic-gui.dir/pv/decoder/decoderfactory.cpp.o CMakeFiles/DSLogic-gui.dir/pv/decoder/democonfig.cpp.o CMakeFiles/DSLogic-gui.dir/pv/decoder/ds1wire.cpp.o CMakeFiles/DSLogic-gui.dir/pv/decoder/dsdmx512.cpp.o CMakeFiles/DSLogic-gui.dir/pv/decoder/dsi2c.cpp.o CMakeFiles/DSLogic-gui.dir/pv/decoder/dsserial.cpp.o CMakeFiles/DSLogic-gui.dir/pv/decoder/dsspi.cpp.o CMakeFiles/DSLogic-gui.dir/pv/dialogs/about.cpp.o CMakeFiles/DSLogic-gui.dir/pv/dialogs/connect.cpp.o CMakeFiles/DSLogic-gui.dir/pv/dialogs/deviceoptions.cpp.o CMakeFiles/DSLogic-gui.dir/pv/dialogs/search.cpp.o CMakeFiles/DSLogic-gui.dir/pv/dock/fakelineedit.cpp.o CMakeFiles/DSLogic-gui.dir/pv/dock/measuredock.cpp.o CMakeFiles/DSLogic-gui.dir/pv/dock/protocoldock.cpp.o CMakeFiles/DSLogic-gui.dir/pv/dock/searchdock.cpp.o CMakeFiles/DSLogic-gui.dir/pv/dock/triggerdock.cpp.o CMakeFiles/DSLogic-gui.dir/pv/prop/bool.cpp.o CMakeFiles/DSLogic-gui.dir/pv/prop/double.cpp.o CMakeFiles/DSLogic-gui.dir/pv/prop/enum.cpp.o CMakeFiles/DSLogic-gui.dir/pv/prop/int.cpp.o CMakeFiles/DSLogic-gui.dir/pv/prop/property.cpp.o CMakeFiles/DSLogic-gui.dir/pv/prop/binding/binding.cpp.o CMakeFiles/DSLogic-gui.dir/pv/prop/binding/binding_deviceoptions.cpp.o CMakeFiles/DSLogic-gui.dir/pv/toolbars/devicebar.cpp.o CMakeFiles/DSLogic-gui.dir/pv/toolbars/filebar.cpp.o CMakeFiles/DSLogic-gui.dir/pv/toolbars/logobar.cpp.o CMakeFiles/DSLogic-gui.dir/pv/toolbars/samplingbar.cpp.o CMakeFiles/DSLogic-gui.dir/pv/toolbars/trigbar.cpp.o CMakeFiles/DSLogic-gui.dir/pv/view/analogsignal.cpp.o CMakeFiles/DSLogic-gui.dir/pv/view/cursor.cpp.o CMakeFiles/DSLogic-gui.dir/pv/view/groupsignal.cpp.o CMakeFiles/DSLogic-gui.dir/pv/view/header.cpp.o CMakeFiles/DSLogic-gui.dir/pv/view/logicsignal.cpp.o CMakeFiles/DSLogic-gui.dir/pv/view/protocolsignal.cpp.o CMakeFiles/DSLogic-gui.dir/pv/view/ruler.cpp.o CMakeFiles/DSLogic-gui.dir/pv/view/signal.cpp.o CMakeFiles/DSLogic-gui.dir/pv/view/timemarker.cpp.o CMakeFiles/DSLogic-gui.dir/pv/view/view.cpp.o CMakeFiles/DSLogic-gui.dir/pv/view/viewport.cpp.o CMakeFiles/DSLogic-gui.dir/pv/view/dsosignal.cpp.o CMakeFiles/DSLogic-gui.dir/pv/moc_sigsession.cxx.o CMakeFiles/DSLogic-gui.dir/pv/moc_mainwindow.cxx.o CMakeFiles/DSLogic-gui.dir/pv/decoder/moc_democonfig.cxx.o CMakeFiles/DSLogic-gui.dir/pv/dock/moc_fakelineedit.cxx.o CMakeFiles/DSLogic-gui.dir/pv/dock/moc_measuredock.cxx.o CMakeFiles/DSLogic-gui.dir/pv/dock/moc_protocoldock.cxx.o CMakeFiles/DSLogic-gui.dir/pv/dock/moc_searchdock.cxx.o CMakeFiles/DSLogic-gui.dir/pv/dock/moc_triggerdock.cxx.o CMakeFiles/DSLogic-gui.dir/pv/dialogs/moc_about.cxx.o CMakeFiles/DSLogic-gui.dir/pv/dialogs/moc_connect.cxx.o CMakeFiles/DSLogic-gui.dir/pv/dialogs/moc_deviceoptions.cxx.o CMakeFiles/DSLogic-gui.dir/pv/dialogs/moc_search.cxx.o CMakeFiles/DSLogic-gui.dir/pv/toolbars/moc_samplingbar.cxx.o CMakeFiles/DSLogic-gui.dir/pv/toolbars/moc_devicebar.cxx.o CMakeFiles/DSLogic-gui.dir/pv/toolbars/moc_filebar.cxx.o CMakeFiles/DSLogic-gui.dir/pv/toolbars/moc_logobar.cxx.o CMakeFiles/DSLogic-gui.dir/pv/toolbars/moc_trigbar.cxx.o CMakeFiles/DSLogic-gui.dir/pv/data/moc_dso.cxx.o CMakeFiles/DSLogic-gui.dir/pv/data/moc_dsosnapshot.cxx.o CMakeFiles/DSLogic-gui.dir/pv/view/moc_cursor.cxx.o CMakeFiles/DSLogic-gui.dir/pv/view/moc_header.cxx.o CMakeFiles/DSLogic-gui.dir/pv/view/moc_ruler.cxx.o CMakeFiles/DSLogic-gui.dir/pv/view/moc_timemarker.cxx.o CMakeFiles/DSLogic-gui.dir/pv/view/moc_groupsignal.cxx.o CMakeFiles/DSLogic-gui.dir/pv/view/moc_protocolsignal.cxx.o CMakeFiles/DSLogic-gui.dir/pv/view/moc_view.cxx.o CMakeFiles/DSLogic-gui.dir/pv/view/moc_dsosignal.cxx.o CMakeFiles/DSLogic-gui.dir/pv/view/moc_viewport.cxx.o CMakeFiles/DSLogic-gui.dir/qrc_DSLogic.cxx.o -o DSLogic-gui -rdynamic -L/usr/local/lib -lboost_system-mt -lboost_thread-mt -lpthread -lQtGui -lQtCore /usr/local/lib/libusb-1.0.so -lsigrok4DSLogic -lglib-2.0 -lusb-1.0 -Wl,-rpath,/usr/local/lib:

View File

@@ -0,0 +1,121 @@
CMAKE_PROGRESS_1 =
CMAKE_PROGRESS_2 = 1
CMAKE_PROGRESS_3 = 2
CMAKE_PROGRESS_4 = 3
CMAKE_PROGRESS_5 = 4
CMAKE_PROGRESS_6 = 5
CMAKE_PROGRESS_7 =
CMAKE_PROGRESS_8 = 6
CMAKE_PROGRESS_9 = 7
CMAKE_PROGRESS_10 = 8
CMAKE_PROGRESS_11 = 9
CMAKE_PROGRESS_12 = 10
CMAKE_PROGRESS_13 =
CMAKE_PROGRESS_14 = 11
CMAKE_PROGRESS_15 = 12
CMAKE_PROGRESS_16 = 13
CMAKE_PROGRESS_17 = 14
CMAKE_PROGRESS_18 = 15
CMAKE_PROGRESS_19 =
CMAKE_PROGRESS_20 = 16
CMAKE_PROGRESS_21 = 17
CMAKE_PROGRESS_22 = 18
CMAKE_PROGRESS_23 = 19
CMAKE_PROGRESS_24 = 20
CMAKE_PROGRESS_25 =
CMAKE_PROGRESS_26 = 21
CMAKE_PROGRESS_27 = 22
CMAKE_PROGRESS_28 = 23
CMAKE_PROGRESS_29 = 24
CMAKE_PROGRESS_30 = 25
CMAKE_PROGRESS_31 =
CMAKE_PROGRESS_32 = 26
CMAKE_PROGRESS_33 = 27
CMAKE_PROGRESS_34 = 28
CMAKE_PROGRESS_35 = 29
CMAKE_PROGRESS_36 = 30
CMAKE_PROGRESS_37 =
CMAKE_PROGRESS_38 = 31
CMAKE_PROGRESS_39 = 32
CMAKE_PROGRESS_40 = 33
CMAKE_PROGRESS_41 = 34
CMAKE_PROGRESS_42 = 35
CMAKE_PROGRESS_43 =
CMAKE_PROGRESS_44 = 36
CMAKE_PROGRESS_45 = 37
CMAKE_PROGRESS_46 = 38
CMAKE_PROGRESS_47 = 39
CMAKE_PROGRESS_48 = 40
CMAKE_PROGRESS_49 =
CMAKE_PROGRESS_50 = 41
CMAKE_PROGRESS_51 = 42
CMAKE_PROGRESS_52 = 43
CMAKE_PROGRESS_53 = 44
CMAKE_PROGRESS_54 = 45
CMAKE_PROGRESS_55 =
CMAKE_PROGRESS_56 = 46
CMAKE_PROGRESS_57 = 47
CMAKE_PROGRESS_58 = 48
CMAKE_PROGRESS_59 = 49
CMAKE_PROGRESS_60 = 50
CMAKE_PROGRESS_61 =
CMAKE_PROGRESS_62 = 51
CMAKE_PROGRESS_63 = 52
CMAKE_PROGRESS_64 = 53
CMAKE_PROGRESS_65 = 54
CMAKE_PROGRESS_66 = 55
CMAKE_PROGRESS_67 =
CMAKE_PROGRESS_68 = 56
CMAKE_PROGRESS_69 = 57
CMAKE_PROGRESS_70 = 58
CMAKE_PROGRESS_71 = 59
CMAKE_PROGRESS_72 = 60
CMAKE_PROGRESS_73 =
CMAKE_PROGRESS_74 = 61
CMAKE_PROGRESS_75 = 62
CMAKE_PROGRESS_76 = 63
CMAKE_PROGRESS_77 = 64
CMAKE_PROGRESS_78 = 65
CMAKE_PROGRESS_79 =
CMAKE_PROGRESS_80 = 66
CMAKE_PROGRESS_81 = 67
CMAKE_PROGRESS_82 = 68
CMAKE_PROGRESS_83 = 69
CMAKE_PROGRESS_84 = 70
CMAKE_PROGRESS_85 =
CMAKE_PROGRESS_86 = 71
CMAKE_PROGRESS_87 = 72
CMAKE_PROGRESS_88 = 73
CMAKE_PROGRESS_89 = 74
CMAKE_PROGRESS_90 = 75
CMAKE_PROGRESS_91 =
CMAKE_PROGRESS_92 = 76
CMAKE_PROGRESS_93 = 77
CMAKE_PROGRESS_94 = 78
CMAKE_PROGRESS_95 = 79
CMAKE_PROGRESS_96 = 80
CMAKE_PROGRESS_97 =
CMAKE_PROGRESS_98 = 81
CMAKE_PROGRESS_99 = 82
CMAKE_PROGRESS_100 = 83
CMAKE_PROGRESS_101 = 84
CMAKE_PROGRESS_102 = 85
CMAKE_PROGRESS_103 =
CMAKE_PROGRESS_104 = 86
CMAKE_PROGRESS_105 = 87
CMAKE_PROGRESS_106 = 88
CMAKE_PROGRESS_107 = 89
CMAKE_PROGRESS_108 = 90
CMAKE_PROGRESS_109 =
CMAKE_PROGRESS_110 = 91
CMAKE_PROGRESS_111 = 92
CMAKE_PROGRESS_112 = 93
CMAKE_PROGRESS_113 = 94
CMAKE_PROGRESS_114 = 95
CMAKE_PROGRESS_115 =
CMAKE_PROGRESS_116 = 96
CMAKE_PROGRESS_117 = 97
CMAKE_PROGRESS_118 = 98
CMAKE_PROGRESS_119 = 99
CMAKE_PROGRESS_120 = 100

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,103 @@
# The set of languages for which implicit dependencies are needed:
SET(CMAKE_DEPENDS_LANGUAGES
"CXX"
)
# The set of files for implicit dependencies of each language:
SET(CMAKE_DEPENDS_CHECK_CXX
"/home/andy/work/DSLogic-open/DSLogic-gui/main.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/main.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/data/analog.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/data/analog.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/data/analogsnapshot.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/data/analogsnapshot.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/data/dso.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/data/dso.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/data/dsosnapshot.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/data/dsosnapshot.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/data/group.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/data/group.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/data/groupsnapshot.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/data/groupsnapshot.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/data/logic.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/data/logic.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/data/logicsnapshot.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/data/logicsnapshot.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/data/moc_dso.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/data/moc_dso.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/data/moc_dsosnapshot.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/data/moc_dsosnapshot.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/data/signaldata.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/data/signaldata.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/data/snapshot.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/data/snapshot.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/decoder/decoder.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/decoder/decoder.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/decoder/decoderfactory.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/decoder/decoderfactory.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/decoder/democonfig.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/decoder/democonfig.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/decoder/ds1wire.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/decoder/ds1wire.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/decoder/dsdmx512.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/decoder/dsdmx512.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/decoder/dsi2c.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/decoder/dsi2c.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/decoder/dsserial.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/decoder/dsserial.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/decoder/dsspi.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/decoder/dsspi.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/decoder/moc_democonfig.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/decoder/moc_democonfig.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/devicemanager.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/devicemanager.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/dialogs/about.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/dialogs/about.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/dialogs/connect.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/dialogs/connect.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/dialogs/deviceoptions.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/dialogs/deviceoptions.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/dialogs/moc_about.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/dialogs/moc_about.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/dialogs/moc_connect.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/dialogs/moc_connect.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/dialogs/moc_deviceoptions.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/dialogs/moc_deviceoptions.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/dialogs/moc_search.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/dialogs/moc_search.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/dialogs/search.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/dialogs/search.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/dock/fakelineedit.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/dock/fakelineedit.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/dock/measuredock.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/dock/measuredock.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/dock/moc_fakelineedit.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/dock/moc_fakelineedit.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/dock/moc_measuredock.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/dock/moc_measuredock.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/dock/moc_protocoldock.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/dock/moc_protocoldock.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/dock/moc_searchdock.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/dock/moc_searchdock.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/dock/moc_triggerdock.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/dock/moc_triggerdock.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/dock/protocoldock.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/dock/protocoldock.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/dock/searchdock.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/dock/searchdock.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/dock/triggerdock.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/dock/triggerdock.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/mainwindow.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/mainwindow.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/moc_mainwindow.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/moc_mainwindow.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/moc_sigsession.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/moc_sigsession.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/prop/binding/binding.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/prop/binding/binding.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/prop/binding/binding_deviceoptions.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/prop/binding/binding_deviceoptions.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/prop/bool.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/prop/bool.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/prop/double.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/prop/double.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/prop/enum.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/prop/enum.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/prop/int.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/prop/int.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/prop/property.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/prop/property.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/sigsession.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/sigsession.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/toolbars/devicebar.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/toolbars/devicebar.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/toolbars/filebar.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/toolbars/filebar.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/toolbars/logobar.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/toolbars/logobar.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/toolbars/moc_devicebar.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/toolbars/moc_devicebar.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/toolbars/moc_filebar.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/toolbars/moc_filebar.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/toolbars/moc_logobar.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/toolbars/moc_logobar.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/toolbars/moc_samplingbar.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/toolbars/moc_samplingbar.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/toolbars/moc_trigbar.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/toolbars/moc_trigbar.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/toolbars/samplingbar.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/toolbars/samplingbar.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/toolbars/trigbar.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/toolbars/trigbar.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/analogsignal.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/view/analogsignal.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/cursor.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/view/cursor.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/dsosignal.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/view/dsosignal.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/groupsignal.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/view/groupsignal.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/header.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/view/header.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/logicsignal.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/view/logicsignal.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/moc_cursor.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/view/moc_cursor.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/moc_dsosignal.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/view/moc_dsosignal.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/moc_groupsignal.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/view/moc_groupsignal.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/moc_header.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/view/moc_header.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/moc_protocolsignal.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/view/moc_protocolsignal.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/moc_ruler.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/view/moc_ruler.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/moc_timemarker.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/view/moc_timemarker.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/moc_view.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/view/moc_view.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/moc_viewport.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/view/moc_viewport.cxx.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/protocolsignal.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/view/protocolsignal.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/ruler.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/view/ruler.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/signal.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/view/signal.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/timemarker.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/view/timemarker.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/view.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/view/view.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/pv/view/viewport.cpp" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/pv/view/viewport.cpp.o"
"/home/andy/work/DSLogic-open/DSLogic-gui/qrc_DSLogic.cxx" "/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir/qrc_DSLogic.cxx.o"
)
SET(CMAKE_CXX_COMPILER_ID "GNU")
# Preprocessor definitions for this target.
SET(CMAKE_TARGET_DEFINITIONS
"QT_NO_DEBUG"
"QT_GUI_LIB"
"QT_CORE_LIB"
)
# Targets to which this target links.
SET(CMAKE_TARGET_LINKED_INFO_FILES
)

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,129 @@
FILE(REMOVE_RECURSE
"CMakeFiles/DSLogic.dir/main.cpp.o"
"CMakeFiles/DSLogic.dir/pv/devicemanager.cpp.o"
"CMakeFiles/DSLogic.dir/pv/mainwindow.cpp.o"
"CMakeFiles/DSLogic.dir/pv/sigsession.cpp.o"
"CMakeFiles/DSLogic.dir/pv/data/analog.cpp.o"
"CMakeFiles/DSLogic.dir/pv/data/analogsnapshot.cpp.o"
"CMakeFiles/DSLogic.dir/pv/data/group.cpp.o"
"CMakeFiles/DSLogic.dir/pv/data/groupsnapshot.cpp.o"
"CMakeFiles/DSLogic.dir/pv/data/logic.cpp.o"
"CMakeFiles/DSLogic.dir/pv/data/logicsnapshot.cpp.o"
"CMakeFiles/DSLogic.dir/pv/data/signaldata.cpp.o"
"CMakeFiles/DSLogic.dir/pv/data/snapshot.cpp.o"
"CMakeFiles/DSLogic.dir/pv/data/dso.cpp.o"
"CMakeFiles/DSLogic.dir/pv/data/dsosnapshot.cpp.o"
"CMakeFiles/DSLogic.dir/pv/decoder/decoder.cpp.o"
"CMakeFiles/DSLogic.dir/pv/decoder/decoderfactory.cpp.o"
"CMakeFiles/DSLogic.dir/pv/decoder/democonfig.cpp.o"
"CMakeFiles/DSLogic.dir/pv/decoder/ds1wire.cpp.o"
"CMakeFiles/DSLogic.dir/pv/decoder/dsdmx512.cpp.o"
"CMakeFiles/DSLogic.dir/pv/decoder/dsi2c.cpp.o"
"CMakeFiles/DSLogic.dir/pv/decoder/dsserial.cpp.o"
"CMakeFiles/DSLogic.dir/pv/decoder/dsspi.cpp.o"
"CMakeFiles/DSLogic.dir/pv/dialogs/about.cpp.o"
"CMakeFiles/DSLogic.dir/pv/dialogs/connect.cpp.o"
"CMakeFiles/DSLogic.dir/pv/dialogs/deviceoptions.cpp.o"
"CMakeFiles/DSLogic.dir/pv/dialogs/search.cpp.o"
"CMakeFiles/DSLogic.dir/pv/dock/fakelineedit.cpp.o"
"CMakeFiles/DSLogic.dir/pv/dock/measuredock.cpp.o"
"CMakeFiles/DSLogic.dir/pv/dock/protocoldock.cpp.o"
"CMakeFiles/DSLogic.dir/pv/dock/searchdock.cpp.o"
"CMakeFiles/DSLogic.dir/pv/dock/triggerdock.cpp.o"
"CMakeFiles/DSLogic.dir/pv/prop/bool.cpp.o"
"CMakeFiles/DSLogic.dir/pv/prop/double.cpp.o"
"CMakeFiles/DSLogic.dir/pv/prop/enum.cpp.o"
"CMakeFiles/DSLogic.dir/pv/prop/int.cpp.o"
"CMakeFiles/DSLogic.dir/pv/prop/property.cpp.o"
"CMakeFiles/DSLogic.dir/pv/prop/binding/binding.cpp.o"
"CMakeFiles/DSLogic.dir/pv/prop/binding/binding_deviceoptions.cpp.o"
"CMakeFiles/DSLogic.dir/pv/toolbars/devicebar.cpp.o"
"CMakeFiles/DSLogic.dir/pv/toolbars/filebar.cpp.o"
"CMakeFiles/DSLogic.dir/pv/toolbars/logobar.cpp.o"
"CMakeFiles/DSLogic.dir/pv/toolbars/samplingbar.cpp.o"
"CMakeFiles/DSLogic.dir/pv/toolbars/trigbar.cpp.o"
"CMakeFiles/DSLogic.dir/pv/view/analogsignal.cpp.o"
"CMakeFiles/DSLogic.dir/pv/view/cursor.cpp.o"
"CMakeFiles/DSLogic.dir/pv/view/groupsignal.cpp.o"
"CMakeFiles/DSLogic.dir/pv/view/header.cpp.o"
"CMakeFiles/DSLogic.dir/pv/view/logicsignal.cpp.o"
"CMakeFiles/DSLogic.dir/pv/view/protocolsignal.cpp.o"
"CMakeFiles/DSLogic.dir/pv/view/ruler.cpp.o"
"CMakeFiles/DSLogic.dir/pv/view/signal.cpp.o"
"CMakeFiles/DSLogic.dir/pv/view/timemarker.cpp.o"
"CMakeFiles/DSLogic.dir/pv/view/view.cpp.o"
"CMakeFiles/DSLogic.dir/pv/view/viewport.cpp.o"
"CMakeFiles/DSLogic.dir/pv/view/dsosignal.cpp.o"
"CMakeFiles/DSLogic.dir/pv/moc_sigsession.cxx.o"
"CMakeFiles/DSLogic.dir/pv/moc_mainwindow.cxx.o"
"CMakeFiles/DSLogic.dir/pv/decoder/moc_democonfig.cxx.o"
"CMakeFiles/DSLogic.dir/pv/dock/moc_fakelineedit.cxx.o"
"CMakeFiles/DSLogic.dir/pv/dock/moc_measuredock.cxx.o"
"CMakeFiles/DSLogic.dir/pv/dock/moc_protocoldock.cxx.o"
"CMakeFiles/DSLogic.dir/pv/dock/moc_searchdock.cxx.o"
"CMakeFiles/DSLogic.dir/pv/dock/moc_triggerdock.cxx.o"
"CMakeFiles/DSLogic.dir/pv/dialogs/moc_about.cxx.o"
"CMakeFiles/DSLogic.dir/pv/dialogs/moc_connect.cxx.o"
"CMakeFiles/DSLogic.dir/pv/dialogs/moc_deviceoptions.cxx.o"
"CMakeFiles/DSLogic.dir/pv/dialogs/moc_search.cxx.o"
"CMakeFiles/DSLogic.dir/pv/toolbars/moc_samplingbar.cxx.o"
"CMakeFiles/DSLogic.dir/pv/toolbars/moc_devicebar.cxx.o"
"CMakeFiles/DSLogic.dir/pv/toolbars/moc_filebar.cxx.o"
"CMakeFiles/DSLogic.dir/pv/toolbars/moc_logobar.cxx.o"
"CMakeFiles/DSLogic.dir/pv/toolbars/moc_trigbar.cxx.o"
"CMakeFiles/DSLogic.dir/pv/data/moc_dso.cxx.o"
"CMakeFiles/DSLogic.dir/pv/data/moc_dsosnapshot.cxx.o"
"CMakeFiles/DSLogic.dir/pv/view/moc_cursor.cxx.o"
"CMakeFiles/DSLogic.dir/pv/view/moc_header.cxx.o"
"CMakeFiles/DSLogic.dir/pv/view/moc_ruler.cxx.o"
"CMakeFiles/DSLogic.dir/pv/view/moc_timemarker.cxx.o"
"CMakeFiles/DSLogic.dir/pv/view/moc_groupsignal.cxx.o"
"CMakeFiles/DSLogic.dir/pv/view/moc_protocolsignal.cxx.o"
"CMakeFiles/DSLogic.dir/pv/view/moc_view.cxx.o"
"CMakeFiles/DSLogic.dir/pv/view/moc_dsosignal.cxx.o"
"CMakeFiles/DSLogic.dir/pv/view/moc_viewport.cxx.o"
"CMakeFiles/DSLogic.dir/qrc_DSLogic.cxx.o"
"pv/moc_sigsession.cxx"
"pv/moc_mainwindow.cxx"
"pv/decoder/moc_democonfig.cxx"
"pv/dock/moc_fakelineedit.cxx"
"pv/dock/moc_measuredock.cxx"
"pv/dock/moc_protocoldock.cxx"
"pv/dock/moc_searchdock.cxx"
"pv/dock/moc_triggerdock.cxx"
"pv/dialogs/moc_about.cxx"
"pv/dialogs/moc_connect.cxx"
"pv/dialogs/moc_deviceoptions.cxx"
"pv/dialogs/moc_search.cxx"
"pv/toolbars/moc_samplingbar.cxx"
"pv/toolbars/moc_devicebar.cxx"
"pv/toolbars/moc_filebar.cxx"
"pv/toolbars/moc_logobar.cxx"
"pv/toolbars/moc_trigbar.cxx"
"pv/data/moc_dso.cxx"
"pv/data/moc_dsosnapshot.cxx"
"pv/view/moc_cursor.cxx"
"pv/view/moc_header.cxx"
"pv/view/moc_ruler.cxx"
"pv/view/moc_timemarker.cxx"
"pv/view/moc_groupsignal.cxx"
"pv/view/moc_protocolsignal.cxx"
"pv/view/moc_view.cxx"
"pv/view/moc_dsosignal.cxx"
"pv/view/moc_viewport.cxx"
"ui_about.h"
"ui_search.h"
"ui_dmx512config.h"
"ui_i2cconfig.h"
"ui_serialconfig.h"
"ui_spiconfig.h"
"ui_wire1config.h"
"qrc_DSLogic.cxx"
"DSLogic.pdb"
"DSLogic"
)
# Per-language clean rules from dependency scanning.
FOREACH(lang CXX)
INCLUDE(CMakeFiles/DSLogic.dir/cmake_clean_${lang}.cmake OPTIONAL)
ENDFOREACH(lang)

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,8 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
# compile CXX with /usr/bin/c++
CXX_FLAGS = -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/home/andy/work/DSLogic-open/DSLogic-gui -I/usr/local/include -I/usr/local/include/libusb-1.0 -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/lib/libzip/include -Wall -Wextra -Wno-return-type -Wno-ignored-qualifiers
CXX_DEFINES = -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB

View File

@@ -0,0 +1 @@
/usr/bin/c++ CMakeFiles/DSLogic.dir/main.cpp.o CMakeFiles/DSLogic.dir/pv/devicemanager.cpp.o CMakeFiles/DSLogic.dir/pv/mainwindow.cpp.o CMakeFiles/DSLogic.dir/pv/sigsession.cpp.o CMakeFiles/DSLogic.dir/pv/data/analog.cpp.o CMakeFiles/DSLogic.dir/pv/data/analogsnapshot.cpp.o CMakeFiles/DSLogic.dir/pv/data/group.cpp.o CMakeFiles/DSLogic.dir/pv/data/groupsnapshot.cpp.o CMakeFiles/DSLogic.dir/pv/data/logic.cpp.o CMakeFiles/DSLogic.dir/pv/data/logicsnapshot.cpp.o CMakeFiles/DSLogic.dir/pv/data/signaldata.cpp.o CMakeFiles/DSLogic.dir/pv/data/snapshot.cpp.o CMakeFiles/DSLogic.dir/pv/data/dso.cpp.o CMakeFiles/DSLogic.dir/pv/data/dsosnapshot.cpp.o CMakeFiles/DSLogic.dir/pv/decoder/decoder.cpp.o CMakeFiles/DSLogic.dir/pv/decoder/decoderfactory.cpp.o CMakeFiles/DSLogic.dir/pv/decoder/democonfig.cpp.o CMakeFiles/DSLogic.dir/pv/decoder/ds1wire.cpp.o CMakeFiles/DSLogic.dir/pv/decoder/dsdmx512.cpp.o CMakeFiles/DSLogic.dir/pv/decoder/dsi2c.cpp.o CMakeFiles/DSLogic.dir/pv/decoder/dsserial.cpp.o CMakeFiles/DSLogic.dir/pv/decoder/dsspi.cpp.o CMakeFiles/DSLogic.dir/pv/dialogs/about.cpp.o CMakeFiles/DSLogic.dir/pv/dialogs/connect.cpp.o CMakeFiles/DSLogic.dir/pv/dialogs/deviceoptions.cpp.o CMakeFiles/DSLogic.dir/pv/dialogs/search.cpp.o CMakeFiles/DSLogic.dir/pv/dock/fakelineedit.cpp.o CMakeFiles/DSLogic.dir/pv/dock/measuredock.cpp.o CMakeFiles/DSLogic.dir/pv/dock/protocoldock.cpp.o CMakeFiles/DSLogic.dir/pv/dock/searchdock.cpp.o CMakeFiles/DSLogic.dir/pv/dock/triggerdock.cpp.o CMakeFiles/DSLogic.dir/pv/prop/bool.cpp.o CMakeFiles/DSLogic.dir/pv/prop/double.cpp.o CMakeFiles/DSLogic.dir/pv/prop/enum.cpp.o CMakeFiles/DSLogic.dir/pv/prop/int.cpp.o CMakeFiles/DSLogic.dir/pv/prop/property.cpp.o CMakeFiles/DSLogic.dir/pv/prop/binding/binding.cpp.o CMakeFiles/DSLogic.dir/pv/prop/binding/binding_deviceoptions.cpp.o CMakeFiles/DSLogic.dir/pv/toolbars/devicebar.cpp.o CMakeFiles/DSLogic.dir/pv/toolbars/filebar.cpp.o CMakeFiles/DSLogic.dir/pv/toolbars/logobar.cpp.o CMakeFiles/DSLogic.dir/pv/toolbars/samplingbar.cpp.o CMakeFiles/DSLogic.dir/pv/toolbars/trigbar.cpp.o CMakeFiles/DSLogic.dir/pv/view/analogsignal.cpp.o CMakeFiles/DSLogic.dir/pv/view/cursor.cpp.o CMakeFiles/DSLogic.dir/pv/view/groupsignal.cpp.o CMakeFiles/DSLogic.dir/pv/view/header.cpp.o CMakeFiles/DSLogic.dir/pv/view/logicsignal.cpp.o CMakeFiles/DSLogic.dir/pv/view/protocolsignal.cpp.o CMakeFiles/DSLogic.dir/pv/view/ruler.cpp.o CMakeFiles/DSLogic.dir/pv/view/signal.cpp.o CMakeFiles/DSLogic.dir/pv/view/timemarker.cpp.o CMakeFiles/DSLogic.dir/pv/view/view.cpp.o CMakeFiles/DSLogic.dir/pv/view/viewport.cpp.o CMakeFiles/DSLogic.dir/pv/view/dsosignal.cpp.o CMakeFiles/DSLogic.dir/pv/moc_sigsession.cxx.o CMakeFiles/DSLogic.dir/pv/moc_mainwindow.cxx.o CMakeFiles/DSLogic.dir/pv/decoder/moc_democonfig.cxx.o CMakeFiles/DSLogic.dir/pv/dock/moc_fakelineedit.cxx.o CMakeFiles/DSLogic.dir/pv/dock/moc_measuredock.cxx.o CMakeFiles/DSLogic.dir/pv/dock/moc_protocoldock.cxx.o CMakeFiles/DSLogic.dir/pv/dock/moc_searchdock.cxx.o CMakeFiles/DSLogic.dir/pv/dock/moc_triggerdock.cxx.o CMakeFiles/DSLogic.dir/pv/dialogs/moc_about.cxx.o CMakeFiles/DSLogic.dir/pv/dialogs/moc_connect.cxx.o CMakeFiles/DSLogic.dir/pv/dialogs/moc_deviceoptions.cxx.o CMakeFiles/DSLogic.dir/pv/dialogs/moc_search.cxx.o CMakeFiles/DSLogic.dir/pv/toolbars/moc_samplingbar.cxx.o CMakeFiles/DSLogic.dir/pv/toolbars/moc_devicebar.cxx.o CMakeFiles/DSLogic.dir/pv/toolbars/moc_filebar.cxx.o CMakeFiles/DSLogic.dir/pv/toolbars/moc_logobar.cxx.o CMakeFiles/DSLogic.dir/pv/toolbars/moc_trigbar.cxx.o CMakeFiles/DSLogic.dir/pv/data/moc_dso.cxx.o CMakeFiles/DSLogic.dir/pv/data/moc_dsosnapshot.cxx.o CMakeFiles/DSLogic.dir/pv/view/moc_cursor.cxx.o CMakeFiles/DSLogic.dir/pv/view/moc_header.cxx.o CMakeFiles/DSLogic.dir/pv/view/moc_ruler.cxx.o CMakeFiles/DSLogic.dir/pv/view/moc_timemarker.cxx.o CMakeFiles/DSLogic.dir/pv/view/moc_groupsignal.cxx.o CMakeFiles/DSLogic.dir/pv/view/moc_protocolsignal.cxx.o CMakeFiles/DSLogic.dir/pv/view/moc_view.cxx.o CMakeFiles/DSLogic.dir/pv/view/moc_dsosignal.cxx.o CMakeFiles/DSLogic.dir/pv/view/moc_viewport.cxx.o CMakeFiles/DSLogic.dir/qrc_DSLogic.cxx.o -o DSLogic -rdynamic -L/usr/local/lib -lboost_system-mt -lboost_thread-mt -lpthread -lpthread -lQtGui -lQtCore /usr/local/lib/libusb-1.0.so -lsigrok4DSLogic -lglib-2.0 -lusb-1.0 -Wl,-rpath,/usr/local/lib:

View File

@@ -0,0 +1,121 @@
CMAKE_PROGRESS_1 =
CMAKE_PROGRESS_2 = 1
CMAKE_PROGRESS_3 = 2
CMAKE_PROGRESS_4 = 3
CMAKE_PROGRESS_5 = 4
CMAKE_PROGRESS_6 = 5
CMAKE_PROGRESS_7 =
CMAKE_PROGRESS_8 = 6
CMAKE_PROGRESS_9 = 7
CMAKE_PROGRESS_10 = 8
CMAKE_PROGRESS_11 = 9
CMAKE_PROGRESS_12 = 10
CMAKE_PROGRESS_13 =
CMAKE_PROGRESS_14 = 11
CMAKE_PROGRESS_15 = 12
CMAKE_PROGRESS_16 = 13
CMAKE_PROGRESS_17 = 14
CMAKE_PROGRESS_18 = 15
CMAKE_PROGRESS_19 =
CMAKE_PROGRESS_20 = 16
CMAKE_PROGRESS_21 = 17
CMAKE_PROGRESS_22 = 18
CMAKE_PROGRESS_23 = 19
CMAKE_PROGRESS_24 = 20
CMAKE_PROGRESS_25 =
CMAKE_PROGRESS_26 = 21
CMAKE_PROGRESS_27 = 22
CMAKE_PROGRESS_28 = 23
CMAKE_PROGRESS_29 = 24
CMAKE_PROGRESS_30 = 25
CMAKE_PROGRESS_31 =
CMAKE_PROGRESS_32 = 26
CMAKE_PROGRESS_33 = 27
CMAKE_PROGRESS_34 = 28
CMAKE_PROGRESS_35 = 29
CMAKE_PROGRESS_36 = 30
CMAKE_PROGRESS_37 =
CMAKE_PROGRESS_38 = 31
CMAKE_PROGRESS_39 = 32
CMAKE_PROGRESS_40 = 33
CMAKE_PROGRESS_41 = 34
CMAKE_PROGRESS_42 = 35
CMAKE_PROGRESS_43 =
CMAKE_PROGRESS_44 = 36
CMAKE_PROGRESS_45 = 37
CMAKE_PROGRESS_46 = 38
CMAKE_PROGRESS_47 = 39
CMAKE_PROGRESS_48 = 40
CMAKE_PROGRESS_49 =
CMAKE_PROGRESS_50 = 41
CMAKE_PROGRESS_51 = 42
CMAKE_PROGRESS_52 = 43
CMAKE_PROGRESS_53 = 44
CMAKE_PROGRESS_54 = 45
CMAKE_PROGRESS_55 =
CMAKE_PROGRESS_56 = 46
CMAKE_PROGRESS_57 = 47
CMAKE_PROGRESS_58 = 48
CMAKE_PROGRESS_59 = 49
CMAKE_PROGRESS_60 = 50
CMAKE_PROGRESS_61 =
CMAKE_PROGRESS_62 = 51
CMAKE_PROGRESS_63 = 52
CMAKE_PROGRESS_64 = 53
CMAKE_PROGRESS_65 = 54
CMAKE_PROGRESS_66 = 55
CMAKE_PROGRESS_67 =
CMAKE_PROGRESS_68 = 56
CMAKE_PROGRESS_69 = 57
CMAKE_PROGRESS_70 = 58
CMAKE_PROGRESS_71 = 59
CMAKE_PROGRESS_72 = 60
CMAKE_PROGRESS_73 =
CMAKE_PROGRESS_74 = 61
CMAKE_PROGRESS_75 = 62
CMAKE_PROGRESS_76 = 63
CMAKE_PROGRESS_77 = 64
CMAKE_PROGRESS_78 = 65
CMAKE_PROGRESS_79 =
CMAKE_PROGRESS_80 = 66
CMAKE_PROGRESS_81 = 67
CMAKE_PROGRESS_82 = 68
CMAKE_PROGRESS_83 = 69
CMAKE_PROGRESS_84 = 70
CMAKE_PROGRESS_85 =
CMAKE_PROGRESS_86 = 71
CMAKE_PROGRESS_87 = 72
CMAKE_PROGRESS_88 = 73
CMAKE_PROGRESS_89 = 74
CMAKE_PROGRESS_90 = 75
CMAKE_PROGRESS_91 =
CMAKE_PROGRESS_92 = 76
CMAKE_PROGRESS_93 = 77
CMAKE_PROGRESS_94 = 78
CMAKE_PROGRESS_95 = 79
CMAKE_PROGRESS_96 = 80
CMAKE_PROGRESS_97 =
CMAKE_PROGRESS_98 = 81
CMAKE_PROGRESS_99 = 82
CMAKE_PROGRESS_100 = 83
CMAKE_PROGRESS_101 = 84
CMAKE_PROGRESS_102 = 85
CMAKE_PROGRESS_103 =
CMAKE_PROGRESS_104 = 86
CMAKE_PROGRESS_105 = 87
CMAKE_PROGRESS_106 = 88
CMAKE_PROGRESS_107 = 89
CMAKE_PROGRESS_108 = 90
CMAKE_PROGRESS_109 =
CMAKE_PROGRESS_110 = 91
CMAKE_PROGRESS_111 = 92
CMAKE_PROGRESS_112 = 93
CMAKE_PROGRESS_113 = 94
CMAKE_PROGRESS_114 = 95
CMAKE_PROGRESS_115 =
CMAKE_PROGRESS_116 = 96
CMAKE_PROGRESS_117 = 97
CMAKE_PROGRESS_118 = 98
CMAKE_PROGRESS_119 = 99
CMAKE_PROGRESS_120 = 100

View File

@@ -0,0 +1,83 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
# The generator used is:
SET(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
# The top level Makefile was generated from the following files:
SET(CMAKE_MAKEFILE_DEPENDS
"CMakeCache.txt"
"CMakeFiles/CMakeCCompiler.cmake"
"CMakeFiles/CMakeCXXCompiler.cmake"
"CMakeFiles/CMakeSystem.cmake"
"CMakeLists.txt"
"DSLogic.qrc"
"cmake_modules/Findlibusb-1.0.cmake"
"config.h.in"
"/usr/share/cmake-2.8/Modules/CMakeCCompiler.cmake.in"
"/usr/share/cmake-2.8/Modules/CMakeCCompilerABI.c"
"/usr/share/cmake-2.8/Modules/CMakeCInformation.cmake"
"/usr/share/cmake-2.8/Modules/CMakeCXXCompiler.cmake.in"
"/usr/share/cmake-2.8/Modules/CMakeCXXCompilerABI.cpp"
"/usr/share/cmake-2.8/Modules/CMakeCXXInformation.cmake"
"/usr/share/cmake-2.8/Modules/CMakeCommonLanguageInclude.cmake"
"/usr/share/cmake-2.8/Modules/CMakeConfigurableFile.in"
"/usr/share/cmake-2.8/Modules/CMakeDetermineCCompiler.cmake"
"/usr/share/cmake-2.8/Modules/CMakeDetermineCXXCompiler.cmake"
"/usr/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake"
"/usr/share/cmake-2.8/Modules/CMakeDetermineCompilerId.cmake"
"/usr/share/cmake-2.8/Modules/CMakeDetermineSystem.cmake"
"/usr/share/cmake-2.8/Modules/CMakeFindBinUtils.cmake"
"/usr/share/cmake-2.8/Modules/CMakeGenericSystem.cmake"
"/usr/share/cmake-2.8/Modules/CMakeParseArguments.cmake"
"/usr/share/cmake-2.8/Modules/CMakeParseImplicitLinkInfo.cmake"
"/usr/share/cmake-2.8/Modules/CMakeSystem.cmake.in"
"/usr/share/cmake-2.8/Modules/CMakeSystemSpecificInformation.cmake"
"/usr/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake"
"/usr/share/cmake-2.8/Modules/CMakeTestCXXCompiler.cmake"
"/usr/share/cmake-2.8/Modules/CMakeTestCompilerCommon.cmake"
"/usr/share/cmake-2.8/Modules/CMakeUnixFindMake.cmake"
"/usr/share/cmake-2.8/Modules/CPack.cmake"
"/usr/share/cmake-2.8/Modules/CPackComponent.cmake"
"/usr/share/cmake-2.8/Modules/CheckCXXSymbolExists.cmake"
"/usr/share/cmake-2.8/Modules/CheckFunctionExists.c"
"/usr/share/cmake-2.8/Modules/CheckIncludeFiles.cmake"
"/usr/share/cmake-2.8/Modules/CheckLibraryExists.cmake"
"/usr/share/cmake-2.8/Modules/CheckSymbolExists.cmake"
"/usr/share/cmake-2.8/Modules/Compiler/GNU-C.cmake"
"/usr/share/cmake-2.8/Modules/Compiler/GNU-CXX.cmake"
"/usr/share/cmake-2.8/Modules/Compiler/GNU.cmake"
"/usr/share/cmake-2.8/Modules/FindBoost.cmake"
"/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake"
"/usr/share/cmake-2.8/Modules/FindPackageMessage.cmake"
"/usr/share/cmake-2.8/Modules/FindPkgConfig.cmake"
"/usr/share/cmake-2.8/Modules/FindQt4.cmake"
"/usr/share/cmake-2.8/Modules/FindThreads.cmake"
"/usr/share/cmake-2.8/Modules/GNUInstallDirs.cmake"
"/usr/share/cmake-2.8/Modules/MacroAddFileDependencies.cmake"
"/usr/share/cmake-2.8/Modules/Platform/Linux-GNU-C.cmake"
"/usr/share/cmake-2.8/Modules/Platform/Linux-GNU-CXX.cmake"
"/usr/share/cmake-2.8/Modules/Platform/Linux-GNU.cmake"
"/usr/share/cmake-2.8/Modules/Platform/Linux.cmake"
"/usr/share/cmake-2.8/Modules/Platform/UnixPaths.cmake"
"/usr/share/cmake-2.8/Modules/Qt4ConfigDependentSettings.cmake"
"/usr/share/cmake-2.8/Modules/Qt4Macros.cmake"
"/usr/share/cmake-2.8/Modules/UseQt4.cmake"
"/usr/share/cmake-2.8/Templates/CPackConfig.cmake.in"
)
# The corresponding makefile is:
SET(CMAKE_MAKEFILE_OUTPUTS
"Makefile"
"CMakeFiles/cmake.check_cache"
)
# Byproducts of CMake generate step:
SET(CMAKE_MAKEFILE_PRODUCTS
"CMakeFiles/CMakeDirectoryInformation.cmake"
)
# Dependency information for all targets:
SET(CMAKE_DEPEND_INFO_FILES
"CMakeFiles/DSLogic.dir/DependInfo.cmake"
)

View File

@@ -0,0 +1,96 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 2.8
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
# The main recursive all target
all:
.PHONY : all
# The main recursive preinstall target
preinstall:
.PHONY : preinstall
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Remove some rules from gmake that .SUFFIXES does not remove.
SUFFIXES =
.SUFFIXES: .hpux_make_needs_suffix_list
# Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E remove -f
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/andy/work/DSLogic-open/DSLogic-gui
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/andy/work/DSLogic-open/DSLogic-gui
#=============================================================================
# Target rules for target CMakeFiles/DSLogic.dir
# All Build rule for target.
CMakeFiles/DSLogic.dir/all:
$(MAKE) -f CMakeFiles/DSLogic.dir/build.make CMakeFiles/DSLogic.dir/depend
$(MAKE) -f CMakeFiles/DSLogic.dir/build.make CMakeFiles/DSLogic.dir/build
$(CMAKE_COMMAND) -E cmake_progress_report /home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
@echo "Built target DSLogic"
.PHONY : CMakeFiles/DSLogic.dir/all
# Include target in all.
all: CMakeFiles/DSLogic.dir/all
.PHONY : all
# Build rule for subdir invocation for target.
CMakeFiles/DSLogic.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles 100
$(MAKE) -f CMakeFiles/Makefile2 CMakeFiles/DSLogic.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles 0
.PHONY : CMakeFiles/DSLogic.dir/rule
# Convenience name for target.
DSLogic: CMakeFiles/DSLogic.dir/rule
.PHONY : DSLogic
# clean rule for target.
CMakeFiles/DSLogic.dir/clean:
$(MAKE) -f CMakeFiles/DSLogic.dir/build.make CMakeFiles/DSLogic.dir/clean
.PHONY : CMakeFiles/DSLogic.dir/clean
# clean rule for target.
clean: CMakeFiles/DSLogic.dir/clean
.PHONY : clean
#=============================================================================
# Special targets to cleanup operation of make.
# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system:
$(CMAKE_COMMAND) -H$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system

View File

@@ -0,0 +1 @@
/home/andy/work/DSLogic-open/DSLogic-gui/CMakeFiles/DSLogic.dir

View File

@@ -0,0 +1 @@
# This file is generated by cmake for dependency checking of the CMakeCache.txt file

View File

@@ -0,0 +1 @@
100

View File

@@ -3,6 +3,7 @@
##
## Copyright (C) 2012 Joel Holdsworth <joel@airwebreathe.org.uk>
## Copyright (C) 2012-2013 Alexandru Gagniuc <mr.nuke.me@gmail.com>
## Copyright (C) 2013-2014 DreamSourceLab <support@dreamsourcelab.com>
##
## 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
@@ -22,7 +23,7 @@ cmake_minimum_required(VERSION 2.6)
include(FindPkgConfig)
include(GNUInstallDirs)
project(DSLogic-gui)
project(DSLogic)
#===============================================================================
#= User Options
@@ -52,8 +53,11 @@ endif()
list(APPEND PKGDEPS
libsigrok4DSLogic>=0.2.0
libusb-1.0>=1.0.16
)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_CURRENT_SOURCE_DIR}/cmake_modules/")
find_package(PkgConfig)
pkg_check_modules(PKGDEPS REQUIRED ${PKGDEPS})
@@ -71,6 +75,8 @@ else()
find_package(Boost 1.42 COMPONENTS system thread REQUIRED)
endif()
find_package(libusb-1.0 REQUIRED)
#===============================================================================
#= Config Header
#-------------------------------------------------------------------------------
@@ -79,7 +85,7 @@ set(DS_TITLE DSLogic)
set(DS_DESCRIPTION "A GUI for DSLogic")
set(DS_VERSION_MAJOR 0)
set(DS_VERSION_MINOR 1)
set(DS_VERSION_MINOR 2)
set(DS_VERSION_MICRO 0)
set(DS_VERSION_STRING
${DS_VERSION_MAJOR}.${DS_VERSION_MINOR}.${DS_VERSION_MICRO}
@@ -107,6 +113,8 @@ set(DSLogic_SOURCES
pv/data/logicsnapshot.cpp
pv/data/signaldata.cpp
pv/data/snapshot.cpp
pv/data/dso.cpp
pv/data/dsosnapshot.cpp
pv/decoder/decoder.cpp
pv/decoder/decoderfactory.cpp
pv/decoder/democonfig.cpp
@@ -147,6 +155,7 @@ set(DSLogic_SOURCES
pv/view/timemarker.cpp
pv/view/view.cpp
pv/view/viewport.cpp
pv/view/dsosignal.cpp
)
set(DSLogic_HEADERS
@@ -167,6 +176,8 @@ set(DSLogic_HEADERS
pv/toolbars/filebar.h
pv/toolbars/logobar.h
pv/toolbars/trigbar.h
pv/data/dso.h
pv/data/dsosnapshot.h
pv/view/cursor.h
pv/view/header.h
pv/view/ruler.h
@@ -174,6 +185,7 @@ set(DSLogic_HEADERS
pv/view/groupsignal.h
pv/view/protocolsignal.h
pv/view/view.h
pv/view/dsosignal.h
pv/view/viewport.h
)
@@ -234,6 +246,7 @@ set(DSLOGIC_LINK_LIBS
${Boost_LIBRARIES}
${CMAKE_THREAD_LIBS_INIT}
${QT_LIBRARIES}
${LIBUSB_1_LIBRARIES}
)
if(STATIC_PKGDEPS_LIBS)
@@ -257,6 +270,7 @@ 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()
set_target_properties(${PROJECT_NAME} PROPERTIES INSTALL_RPATH "/usr/local/lib")
#===============================================================================
#= Installation
@@ -264,9 +278,8 @@ endif()
# Install the executable.
install(TARGETS ${PROJECT_NAME} DESTINATION bin/)
# Install the manpage.
install(FILES doc/DSLogic.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 COMPONENT doc)
install(FILES res/DSLogic.fw DESTINATION bin/res/)
install(FILES res/DSLogic.bin DESTINATION bin/res/)
#===============================================================================
#= Packaging (handled by CPack)

View File

@@ -0,0 +1,83 @@
# This file will be configured to contain variables for CPack. These variables
# should be set in the CMake list file of the project before CPack module is
# included. Example variables are:
# CPACK_GENERATOR - Generator used to create package
# CPACK_INSTALL_CMAKE_PROJECTS - For each project (path, name, component)
# CPACK_CMAKE_GENERATOR - CMake Generator used for the projects
# CPACK_INSTALL_COMMANDS - Extra commands to install components
# CPACK_INSTALLED_DIRECTORIES - Extra directories to install
# CPACK_PACKAGE_DESCRIPTION_FILE - Description file for the package
# CPACK_PACKAGE_DESCRIPTION_SUMMARY - Summary of the package
# CPACK_PACKAGE_EXECUTABLES - List of pairs of executables and labels
# CPACK_PACKAGE_FILE_NAME - Name of the package generated
# CPACK_PACKAGE_ICON - Icon used for the package
# CPACK_PACKAGE_INSTALL_DIRECTORY - Name of directory for the installer
# CPACK_PACKAGE_NAME - Package project name
# CPACK_PACKAGE_VENDOR - Package project vendor
# CPACK_PACKAGE_VERSION - Package project version
# CPACK_PACKAGE_VERSION_MAJOR - Package project version (major)
# CPACK_PACKAGE_VERSION_MINOR - Package project version (minor)
# CPACK_PACKAGE_VERSION_PATCH - Package project version (patch)
# There are certain generator specific ones
# NSIS Generator:
# CPACK_PACKAGE_INSTALL_REGISTRY_KEY - Name of the registry key for the installer
# CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS - Extra commands used during uninstall
# CPACK_NSIS_EXTRA_INSTALL_COMMANDS - Extra commands used during install
SET(CPACK_BINARY_BUNDLE "")
SET(CPACK_BINARY_CYGWIN "")
SET(CPACK_BINARY_DEB "OFF")
SET(CPACK_BINARY_DRAGNDROP "")
SET(CPACK_BINARY_NSIS "OFF")
SET(CPACK_BINARY_OSXX11 "")
SET(CPACK_BINARY_PACKAGEMAKER "")
SET(CPACK_BINARY_RPM "OFF")
SET(CPACK_BINARY_STGZ "ON")
SET(CPACK_BINARY_TBZ2 "OFF")
SET(CPACK_BINARY_TGZ "ON")
SET(CPACK_BINARY_TZ "ON")
SET(CPACK_BINARY_ZIP "")
SET(CPACK_CMAKE_GENERATOR "Unix Makefiles")
SET(CPACK_COMPONENT_UNSPECIFIED_HIDDEN "TRUE")
SET(CPACK_COMPONENT_UNSPECIFIED_REQUIRED "TRUE")
SET(CPACK_GENERATOR "STGZ;TGZ;TZ")
SET(CPACK_INSTALL_CMAKE_PROJECTS "/home/andy/work/DSLogic-open/DSLogic-gui;DSLogic;ALL;/")
SET(CPACK_INSTALL_PREFIX "/usr/local")
SET(CPACK_MODULE_PATH "/home/andy/work/DSLogic-open/DSLogic-gui/cmake_modules/")
SET(CPACK_NSIS_DISPLAY_NAME "DSLogic 0.2.0")
SET(CPACK_NSIS_INSTALLER_ICON_CODE "")
SET(CPACK_NSIS_INSTALLER_MUI_ICON_CODE "")
SET(CPACK_NSIS_INSTALL_ROOT "$PROGRAMFILES")
SET(CPACK_NSIS_PACKAGE_NAME "DSLogic 0.2.0")
SET(CPACK_OUTPUT_CONFIG_FILE "/home/andy/work/DSLogic-open/DSLogic-gui/CPackConfig.cmake")
SET(CPACK_PACKAGE_DEFAULT_LOCATION "/")
SET(CPACK_PACKAGE_DESCRIPTION_FILE "/home/andy/work/DSLogic-open/DSLogic-gui/README")
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "DSLogic built using CMake")
SET(CPACK_PACKAGE_FILE_NAME "DSLogic-0.2.0-Linux")
SET(CPACK_PACKAGE_INSTALL_DIRECTORY "DSLogic 0.2.0")
SET(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "DSLogic 0.2.0")
SET(CPACK_PACKAGE_NAME "DSLogic")
SET(CPACK_PACKAGE_RELOCATABLE "true")
SET(CPACK_PACKAGE_VENDOR "Humanity")
SET(CPACK_PACKAGE_VERSION "0.2.0")
SET(CPACK_PACKAGE_VERSION_MAJOR "0")
SET(CPACK_PACKAGE_VERSION_MINOR "2")
SET(CPACK_PACKAGE_VERSION_PATCH "0")
SET(CPACK_RESOURCE_FILE_LICENSE "/home/andy/work/DSLogic-open/DSLogic-gui/COPYING")
SET(CPACK_RESOURCE_FILE_README "/usr/share/cmake-2.8/Templates/CPack.GenericDescription.txt")
SET(CPACK_RESOURCE_FILE_WELCOME "/usr/share/cmake-2.8/Templates/CPack.GenericWelcome.txt")
SET(CPACK_SET_DESTDIR "OFF")
SET(CPACK_SOURCE_CYGWIN "")
SET(CPACK_SOURCE_GENERATOR "TGZ")
SET(CPACK_SOURCE_IGNORE_FILES "/home/andy/work/DSLogic-open/DSLogic-gui;.gitignore;.git")
SET(CPACK_SOURCE_OUTPUT_CONFIG_FILE "/home/andy/work/DSLogic-open/DSLogic-gui/CPackSourceConfig.cmake")
SET(CPACK_SOURCE_PACKAGE_FILE_NAME "DSLogic-0.2.0")
SET(CPACK_SOURCE_TBZ2 "")
SET(CPACK_SOURCE_TGZ "")
SET(CPACK_SOURCE_TZ "")
SET(CPACK_SOURCE_ZIP "")
SET(CPACK_SYSTEM_NAME "Linux")
SET(CPACK_TOPLEVEL_TAG "Linux")

View File

@@ -0,0 +1,88 @@
# This file will be configured to contain variables for CPack. These variables
# should be set in the CMake list file of the project before CPack module is
# included. Example variables are:
# CPACK_GENERATOR - Generator used to create package
# CPACK_INSTALL_CMAKE_PROJECTS - For each project (path, name, component)
# CPACK_CMAKE_GENERATOR - CMake Generator used for the projects
# CPACK_INSTALL_COMMANDS - Extra commands to install components
# CPACK_INSTALLED_DIRECTORIES - Extra directories to install
# CPACK_PACKAGE_DESCRIPTION_FILE - Description file for the package
# CPACK_PACKAGE_DESCRIPTION_SUMMARY - Summary of the package
# CPACK_PACKAGE_EXECUTABLES - List of pairs of executables and labels
# CPACK_PACKAGE_FILE_NAME - Name of the package generated
# CPACK_PACKAGE_ICON - Icon used for the package
# CPACK_PACKAGE_INSTALL_DIRECTORY - Name of directory for the installer
# CPACK_PACKAGE_NAME - Package project name
# CPACK_PACKAGE_VENDOR - Package project vendor
# CPACK_PACKAGE_VERSION - Package project version
# CPACK_PACKAGE_VERSION_MAJOR - Package project version (major)
# CPACK_PACKAGE_VERSION_MINOR - Package project version (minor)
# CPACK_PACKAGE_VERSION_PATCH - Package project version (patch)
# There are certain generator specific ones
# NSIS Generator:
# CPACK_PACKAGE_INSTALL_REGISTRY_KEY - Name of the registry key for the installer
# CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS - Extra commands used during uninstall
# CPACK_NSIS_EXTRA_INSTALL_COMMANDS - Extra commands used during install
SET(CPACK_BINARY_BUNDLE "")
SET(CPACK_BINARY_CYGWIN "")
SET(CPACK_BINARY_DEB "OFF")
SET(CPACK_BINARY_DRAGNDROP "")
SET(CPACK_BINARY_NSIS "OFF")
SET(CPACK_BINARY_OSXX11 "")
SET(CPACK_BINARY_PACKAGEMAKER "")
SET(CPACK_BINARY_RPM "OFF")
SET(CPACK_BINARY_STGZ "ON")
SET(CPACK_BINARY_TBZ2 "OFF")
SET(CPACK_BINARY_TGZ "ON")
SET(CPACK_BINARY_TZ "ON")
SET(CPACK_BINARY_ZIP "")
SET(CPACK_CMAKE_GENERATOR "Unix Makefiles")
SET(CPACK_COMPONENT_UNSPECIFIED_HIDDEN "TRUE")
SET(CPACK_COMPONENT_UNSPECIFIED_REQUIRED "TRUE")
SET(CPACK_GENERATOR "TGZ")
SET(CPACK_IGNORE_FILES "/home/andy/work/DSLogic-open/DSLogic-gui;.gitignore;.git")
SET(CPACK_INSTALLED_DIRECTORIES "/home/andy/work/DSLogic-open/DSLogic-gui;/")
SET(CPACK_INSTALL_CMAKE_PROJECTS "")
SET(CPACK_INSTALL_PREFIX "/usr/local")
SET(CPACK_MODULE_PATH "/home/andy/work/DSLogic-open/DSLogic-gui/cmake_modules/")
SET(CPACK_NSIS_DISPLAY_NAME "DSLogic 0.2.0")
SET(CPACK_NSIS_INSTALLER_ICON_CODE "")
SET(CPACK_NSIS_INSTALLER_MUI_ICON_CODE "")
SET(CPACK_NSIS_INSTALL_ROOT "$PROGRAMFILES")
SET(CPACK_NSIS_PACKAGE_NAME "DSLogic 0.2.0")
SET(CPACK_OUTPUT_CONFIG_FILE "/home/andy/work/DSLogic-open/DSLogic-gui/CPackConfig.cmake")
SET(CPACK_PACKAGE_DEFAULT_LOCATION "/")
SET(CPACK_PACKAGE_DESCRIPTION_FILE "/home/andy/work/DSLogic-open/DSLogic-gui/README")
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "DSLogic built using CMake")
SET(CPACK_PACKAGE_FILE_NAME "DSLogic-0.2.0")
SET(CPACK_PACKAGE_INSTALL_DIRECTORY "DSLogic 0.2.0")
SET(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "DSLogic 0.2.0")
SET(CPACK_PACKAGE_NAME "DSLogic")
SET(CPACK_PACKAGE_RELOCATABLE "true")
SET(CPACK_PACKAGE_VENDOR "Humanity")
SET(CPACK_PACKAGE_VERSION "0.2.0")
SET(CPACK_PACKAGE_VERSION_MAJOR "0")
SET(CPACK_PACKAGE_VERSION_MINOR "2")
SET(CPACK_PACKAGE_VERSION_PATCH "0")
SET(CPACK_RESOURCE_FILE_LICENSE "/home/andy/work/DSLogic-open/DSLogic-gui/COPYING")
SET(CPACK_RESOURCE_FILE_README "/usr/share/cmake-2.8/Templates/CPack.GenericDescription.txt")
SET(CPACK_RESOURCE_FILE_WELCOME "/usr/share/cmake-2.8/Templates/CPack.GenericWelcome.txt")
SET(CPACK_SET_DESTDIR "OFF")
SET(CPACK_SOURCE_CYGWIN "")
SET(CPACK_SOURCE_GENERATOR "TGZ")
SET(CPACK_SOURCE_IGNORE_FILES "/home/andy/work/DSLogic-open/DSLogic-gui;.gitignore;.git")
SET(CPACK_SOURCE_INSTALLED_DIRECTORIES "/home/andy/work/DSLogic-open/DSLogic-gui;/")
SET(CPACK_SOURCE_OUTPUT_CONFIG_FILE "/home/andy/work/DSLogic-open/DSLogic-gui/CPackSourceConfig.cmake")
SET(CPACK_SOURCE_PACKAGE_FILE_NAME "DSLogic-0.2.0")
SET(CPACK_SOURCE_TBZ2 "")
SET(CPACK_SOURCE_TGZ "")
SET(CPACK_SOURCE_TOPLEVEL_TAG "Linux-Source")
SET(CPACK_SOURCE_TZ "")
SET(CPACK_SOURCE_ZIP "")
SET(CPACK_STRIP_FILES "")
SET(CPACK_SYSTEM_NAME "Linux")
SET(CPACK_TOPLEVEL_TAG "Linux-Source")

View File

@@ -27,5 +27,7 @@
<file>icons/start.png</file>
<file>icons/dsl_logo.png</file>
<file>icons/logo.png</file>
<file>icons/checkbox.png</file>
<file>icons/radiobutton.png</file>
</qresource>
</RCC>

View File

@@ -0,0 +1,33 @@
<RCC>
<qresource prefix="/">
<file>icons/search.png</file>
<file>icons/next.png</file>
<file>icons/pre.png</file>
<file>icons/file.png</file>
<file>icons/photo.png</file>
<file>icons/save.png</file>
<file>icons/open.png</file>
<file>icons/params.png</file>
<file>stylesheet.qss</file>
<file>icons/down-arrow.png</file>
<file>icons/slider-handle.png</file>
<file>icons/set.png</file>
<file>icons/add.png</file>
<file>icons/del.png</file>
<file>icons/trigger.png</file>
<file>icons/measure.png</file>
<file>icons/search-bar.png</file>
<file>icons/protocol.png</file>
<file>icons/logo_noColor.png</file>
<file>icons/logo_color.png</file>
<file>icons/logo_muColor.png</file>
<file>icons/about.png</file>
<file>icons/capture.png</file>
<file>icons/stop.png</file>
<file>icons/start.png</file>
<file>icons/dsl_logo.png</file>
<file>icons/logo.png</file>
<file>icons/checkbox.png</file>
<file>icons/radiobutton.png</file>
</qresource>
</RCC>

View File

@@ -0,0 +1,72 @@
# Install script for directory: /home/andy/work/DSLogic-open/DSLogic-gui
# Set the install prefix
IF(NOT DEFINED CMAKE_INSTALL_PREFIX)
SET(CMAKE_INSTALL_PREFIX "/usr/local")
ENDIF(NOT DEFINED CMAKE_INSTALL_PREFIX)
STRING(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
# Set the install configuration name.
IF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
IF(BUILD_TYPE)
STRING(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
ELSE(BUILD_TYPE)
SET(CMAKE_INSTALL_CONFIG_NAME "")
ENDIF(BUILD_TYPE)
MESSAGE(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
ENDIF(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
# Set the component getting installed.
IF(NOT CMAKE_INSTALL_COMPONENT)
IF(COMPONENT)
MESSAGE(STATUS "Install component: \"${COMPONENT}\"")
SET(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
ELSE(COMPONENT)
SET(CMAKE_INSTALL_COMPONENT)
ENDIF(COMPONENT)
ENDIF(NOT CMAKE_INSTALL_COMPONENT)
# Install shared libraries without execute permission?
IF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
SET(CMAKE_INSTALL_SO_NO_EXE "1")
ENDIF(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
IF(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/DSLogic" AND
NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/DSLogic")
FILE(RPATH_CHECK
FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/DSLogic"
RPATH "/usr/local/lib")
ENDIF()
FILE(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/home/andy/work/DSLogic-open/DSLogic-gui/DSLogic")
IF(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/DSLogic" AND
NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/DSLogic")
FILE(RPATH_CHANGE
FILE "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/DSLogic"
OLD_RPATH "/usr/local/lib:"
NEW_RPATH "/usr/local/lib")
IF(CMAKE_INSTALL_DO_STRIP)
EXECUTE_PROCESS(COMMAND "/usr/bin/strip" "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/DSLogic")
ENDIF(CMAKE_INSTALL_DO_STRIP)
ENDIF()
ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
FILE(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin/res" TYPE FILE FILES "/home/andy/work/DSLogic-open/DSLogic-gui/res/DSLogic.fw")
ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
IF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
FILE(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin/res" TYPE FILE FILES "/home/andy/work/DSLogic-open/DSLogic-gui/res/DSLogic.bin")
ENDIF(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
IF(CMAKE_INSTALL_COMPONENT)
SET(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
ELSE(CMAKE_INSTALL_COMPONENT)
SET(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
ENDIF(CMAKE_INSTALL_COMPONENT)
FILE(WRITE "/home/andy/work/DSLogic-open/DSLogic-gui/${CMAKE_INSTALL_MANIFEST}" "")
FOREACH(file ${CMAKE_INSTALL_MANIFEST_FILES})
FILE(APPEND "/home/andy/work/DSLogic-open/DSLogic-gui/${CMAKE_INSTALL_MANIFEST}" "${file}\n")
ENDFOREACH(file)

View File

@@ -0,0 +1,64 @@
#
# LIBUSB_1_FOUND - system has libusb
# LIBUSB_1_INCLUDE_DIRS - the libusb include directory
# LIBUSB_1_LIBRARIES - Link these to use libusb
# LIBUSB_1_DEFINITIONS - Compiler switches required for using libusb
#
# Adapted from cmake-modules Google Code project
#
# Copyright (c) 2006 Andreas Schneider <mail@cynapses.org>
#
# (Changes for libusb) Copyright (c) 2008 Kyle Machulis <kyle@nonpolynomial.com>
#
# Redistribution and use is allowed according to the terms of the New BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
#
if (LIBUSB_1_LIBRARIES AND LIBUSB_1_INCLUDE_DIRS)
# in cache already
set(LIBUSB_FOUND TRUE)
else (LIBUSB_1_LIBRARIES AND LIBUSB_1_INCLUDE_DIRS)
find_path(LIBUSB_1_INCLUDE_DIR
NAMES
libusb-1.0/libusb.h
PATHS
/usr/local/include
PATH_SUFFIXES
libusb-1.0
)
find_library(LIBUSB_1_LIBRARY
NAMES
usb-1.0
PATHS
/usr/local/lib
)
set(LIBUSB_1_INCLUDE_DIRS
${LIBUSB_1_INCLUDE_DIR}
)
set(LIBUSB_1_LIBRARIES
${LIBUSB_1_LIBRARY}
)
if (LIBUSB_1_INCLUDE_DIRS AND LIBUSB_1_LIBRARIES)
set(LIBUSB_1_FOUND TRUE)
endif (LIBUSB_1_INCLUDE_DIRS AND LIBUSB_1_LIBRARIES)
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}")
endif (NOT libusb_1_FIND_QUIETLY)
else (LIBUSB_1_FOUND)
if (libusb_1_FIND_REQUIRED)
message(FATAL_ERROR "Could not find libusb")
endif (libusb_1_FIND_REQUIRED)
endif (LIBUSB_1_FOUND)
# show the LIBUSB_1_INCLUDE_DIRS and LIBUSB_1_LIBRARIES variables only in the advanced view
mark_as_advanced(LIBUSB_1_INCLUDE_DIRS LIBUSB_1_LIBRARIES)
endif (LIBUSB_1_LIBRARIES AND LIBUSB_1_INCLUDE_DIRS)

Binary file not shown.

Binary file not shown.

View File

@@ -1,7 +1,9 @@
/*
* This file is part of the PulseView project.
* This file is part of the DSLogic-gui project.
* DSLogic-gui is based on PulseView.
*
* Copyright (C) 2012 Joel Holdsworth <joel@airwebreathe.org.uk>
* Copyright (C) 2013 DreamSourceLab <dreamsourcelab@dreamsourcelab.com>
*
* 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
@@ -18,6 +20,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef DSLOGIC_EXTDEF_H
#define DSLOGIC_EXTDEF_H

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 241 B

View File

@@ -0,0 +1,3 @@
/usr/local/bin/DSLogic
/usr/local/bin/res/DSLogic.fw
/usr/local/bin/res/DSLogic.bin

28775
DSLogic-gui/ltrace.txt Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,7 +1,9 @@
/*
* This file is part of the PulseView project.
* This file is part of the DSLogic-gui project.
* DSLogic-gui is based on PulseView.
*
* Copyright (C) 2012 Joel Holdsworth <joel@airwebreathe.org.uk>
* Copyright (C) 2013 DreamSourceLab <dreamsourcelab@dreamsourcelab.com>
*
* 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
@@ -18,6 +20,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifdef ENABLE_SIGROKDECODE
#include <libsigrokdecode/libsigrokdecode.h> /* First, so we avoid a _POSIX_C_SOURCE warning. */
#endif
@@ -59,7 +62,7 @@ int main(int argc, char *argv[])
// Set some application metadata
QApplication::setApplicationVersion(DS_VERSION_STRING);
QApplication::setApplicationName("DSLogic");
QApplication::setApplicationName("DSLogic(Beta)");
QApplication::setOrganizationDomain("http://www.DreamSourceLab.com");
// Parse arguments
@@ -132,7 +135,6 @@ int main(int argc, char *argv[])
// Initialise the main window
pv::MainWindow w(device_manager, open_file);
//QFile qss(":/levelfour.qss");
QFile qss(":/stylesheet.qss");
qss.open(QFile::ReadOnly);
a.setStyleSheet(qss.readAll());

View File

@@ -0,0 +1,48 @@
/*
* This file is part of the DSLogic-gui project.
* DSLogic-gui is based on PulseView.
*
* Copyright (C) 2013 DreamSourceLab <dreamsourcelab@dreamsourcelab.com>
*
* 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, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "dso.h"
#include "dsosnapshot.h"
using namespace boost;
using namespace std;
namespace pv {
namespace data {
Dso::Dso(unsigned int num_probes, uint64_t samplerate) :
SignalData(num_probes, samplerate)
{
}
void Dso::push_snapshot(shared_ptr<DsoSnapshot> &snapshot)
{
_snapshots.push_front(snapshot);
}
deque< shared_ptr<DsoSnapshot> >& Dso::get_snapshots()
{
return _snapshots;
}
} // namespace data
} // namespace pv

54
DSLogic-gui/pv/data/dso.h Normal file
View File

@@ -0,0 +1,54 @@
/*
* This file is part of the DSLogic-gui project.
* DSLogic-gui is based on PulseView.
*
* Copyright (C) 2013 DreamSourceLab <dreamsourcelab@dreamsourcelab.com>
*
* 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, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef DSLOGIC_PV_DATA_DSO_H
#define DSLOGIC_PV_DATA_DSO_H
#include "signaldata.h"
#include <boost/shared_ptr.hpp>
#include <deque>
namespace pv {
namespace data {
class DsoSnapshot;
class Dso : public SignalData
{
public:
Dso(unsigned int num_probes, uint64_t samplerate);
void push_snapshot(
boost::shared_ptr<DsoSnapshot> &snapshot);
std::deque< boost::shared_ptr<DsoSnapshot> >&
get_snapshots();
private:
std::deque< boost::shared_ptr<DsoSnapshot> > _snapshots;
};
} // namespace data
} // namespace pv
#endif // DSLOGIC_PV_DATA_DSO_H

View File

@@ -0,0 +1,232 @@
/*
* This file is part of the DSLogic-gui project.
* DSLogic-gui is based on PulseView.
*
* Copyright (C) 2013 DreamSourceLab <dreamsourcelab@dreamsourcelab.com>
*
* 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, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <extdef.h>
#include <assert.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
#include <algorithm>
#include <boost/foreach.hpp>
#include "dsosnapshot.h"
using namespace boost;
using namespace std;
namespace pv {
namespace data {
const int DsoSnapshot::EnvelopeScalePower = 4;
const int DsoSnapshot::EnvelopeScaleFactor = 1 << EnvelopeScalePower;
const float DsoSnapshot::LogEnvelopeScaleFactor =
logf(EnvelopeScaleFactor);
const uint64_t DsoSnapshot::EnvelopeDataUnit = 64*1024; // bytes
DsoSnapshot::DsoSnapshot(const sr_datafeed_dso &dso, uint64_t _total_sample_len, unsigned int channel_num) :
Snapshot(sizeof(uint16_t), _total_sample_len, channel_num)
{
lock_guard<recursive_mutex> lock(_mutex);
memset(_envelope_levels, 0, sizeof(_envelope_levels));
init(_total_sample_len * channel_num);
append_payload(dso);
}
DsoSnapshot::~DsoSnapshot()
{
lock_guard<recursive_mutex> lock(_mutex);
BOOST_FOREACH(Envelope &e, _envelope_levels[0])
free(e.samples);
}
void DsoSnapshot::append_payload(const sr_datafeed_dso &dso)
{
lock_guard<recursive_mutex> lock(_mutex);
append_data(dso.data, dso.num_samples);
// Generate the first mip-map from the data
append_payload_to_envelope_levels();
}
const uint16_t* DsoSnapshot::get_samples(
int64_t start_sample, int64_t end_sample) const
{
assert(start_sample >= 0);
assert(start_sample < (int64_t)get_sample_count());
assert(end_sample >= 0);
assert(end_sample < (int64_t)get_sample_count());
assert(start_sample <= end_sample);
lock_guard<recursive_mutex> lock(_mutex);
// uint16_t *const data = new uint16_t[end_sample - start_sample];
// memcpy(data, (uint16_t*)_data + start_sample, sizeof(uint16_t) *
// (end_sample - start_sample));
// return data;
return (uint16_t*)_data + start_sample;
}
void DsoSnapshot::get_envelope_section(EnvelopeSection &s,
uint64_t start, uint64_t end, float min_length, int probe_index) const
{
assert(end <= get_sample_count());
assert(start <= end);
assert(min_length > 0);
lock_guard<recursive_mutex> lock(_mutex);
const unsigned int min_level = max((int)floorf(logf(min_length) /
LogEnvelopeScaleFactor) - 1, 0);
const unsigned int scale_power = (min_level + 1) *
EnvelopeScalePower;
start >>= scale_power;
end >>= scale_power;
s.start = start << scale_power;
s.scale = 1 << scale_power;
s.length = end - start;
// s.samples = new EnvelopeSample[s.length];
// memcpy(s.samples, _envelope_levels[min_level].samples + start,
// s.length * sizeof(EnvelopeSample));
s.samples = _envelope_levels[probe_index][min_level].samples + start;
}
void DsoSnapshot::reallocate_envelope(Envelope &e)
{
const uint64_t new_data_length = ((e.length + EnvelopeDataUnit - 1) /
EnvelopeDataUnit) * EnvelopeDataUnit;
if (new_data_length > e.data_length)
{
e.data_length = new_data_length;
e.samples = (EnvelopeSample*)realloc(e.samples,
new_data_length * sizeof(EnvelopeSample));
}
}
void DsoSnapshot::append_payload_to_envelope_levels()
{
unsigned int i;
for (i = 0; i < _channel_num; i++) {
Envelope &e0 = _envelope_levels[i][0];
uint64_t prev_length;
EnvelopeSample *dest_ptr;
// Expand the data buffer to fit the new samples
prev_length = e0.length;
e0.length = get_sample_count() / EnvelopeScaleFactor;
// Break off if there are no new samples to compute
// if (e0.length == prev_length)
// return;
if (e0.length == 0)
return;
if (e0.length == prev_length)
prev_length = 0;
reallocate_envelope(e0);
dest_ptr = e0.samples + prev_length;
// Iterate through the samples to populate the first level mipmap
const uint16_t *const stop_src_ptr = (uint16_t*)_data +
e0.length * EnvelopeScaleFactor * _channel_num;
// for (const uint16_t *src_ptr = (uint16_t*)_data +
// prev_length * EnvelopeScaleFactor;
// src_ptr < end_src_ptr; src_ptr += EnvelopeScaleFactor)
// {
// const EnvelopeSample sub_sample = {
// *min_element(src_ptr, src_ptr + EnvelopeScaleFactor),
// *max_element(src_ptr, src_ptr + EnvelopeScaleFactor),
// };
// *dest_ptr++ = sub_sample;
// }
for (const uint16_t *src_ptr = (uint16_t*)_data +
prev_length * EnvelopeScaleFactor * _channel_num + i;
src_ptr < stop_src_ptr; src_ptr += EnvelopeScaleFactor * _channel_num)
{
const uint16_t * begin_src_ptr =
src_ptr;
const uint16_t *const end_src_ptr =
src_ptr + EnvelopeScaleFactor * _channel_num;
EnvelopeSample sub_sample;
sub_sample.min = *begin_src_ptr;
sub_sample.max = *begin_src_ptr;
begin_src_ptr += _channel_num;
while (begin_src_ptr < end_src_ptr)
{
sub_sample.min = min(sub_sample.min, *begin_src_ptr);
sub_sample.max = max(sub_sample.max, *begin_src_ptr);
begin_src_ptr += _channel_num;
}
*dest_ptr++ = sub_sample;
}
// Compute higher level mipmaps
for (unsigned int level = 1; level < ScaleStepCount; level++)
{
Envelope &e = _envelope_levels[i][level];
const Envelope &el = _envelope_levels[i][level-1];
// Expand the data buffer to fit the new samples
prev_length = e.length;
e.length = el.length / EnvelopeScaleFactor;
// Break off if there are no more samples to computed
// if (e.length == prev_length)
// break;
if (e.length == prev_length)
prev_length = 0;
reallocate_envelope(e);
// Subsample the level lower level
const EnvelopeSample *src_ptr =
el.samples + prev_length * EnvelopeScaleFactor;
const EnvelopeSample *const end_dest_ptr = e.samples + e.length;
for (dest_ptr = e.samples + prev_length;
dest_ptr < end_dest_ptr; dest_ptr++)
{
const EnvelopeSample *const end_src_ptr =
src_ptr + EnvelopeScaleFactor;
EnvelopeSample sub_sample = *src_ptr++;
while (src_ptr < end_src_ptr)
{
sub_sample.min = min(sub_sample.min, src_ptr->min);
sub_sample.max = max(sub_sample.max, src_ptr->max);
src_ptr++;
}
*dest_ptr = sub_sample;
}
}
}
}
} // namespace data
} // namespace pv

View File

@@ -0,0 +1,97 @@
/*
* This file is part of the DSLogic-gui project.
* DSLogic-gui is based on PulseView.
*
* Copyright (C) 2013 DreamSourceLab <dreamsourcelab@dreamsourcelab.com>
*
* 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, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef DSLOGIC_PV_DATA_DSOSNAPSHOT_H
#define DSLOGIC_PV_DATA_DSOSNAPSHOT_H
#include "snapshot.h"
#include <utility>
#include <vector>
namespace DsoSnapshotTest {
class Basic;
}
namespace pv {
namespace data {
class DsoSnapshot : public Snapshot
{
public:
struct EnvelopeSample
{
uint16_t min;
uint16_t max;
};
struct EnvelopeSection
{
uint64_t start;
unsigned int scale;
uint64_t length;
EnvelopeSample *samples;
};
private:
struct Envelope
{
uint64_t length;
uint64_t data_length;
EnvelopeSample *samples;
};
private:
static const unsigned int ScaleStepCount = 10;
static const int EnvelopeScalePower;
static const int EnvelopeScaleFactor;
static const float LogEnvelopeScaleFactor;
static const uint64_t EnvelopeDataUnit;
public:
DsoSnapshot(const sr_datafeed_dso &dso, uint64_t _total_sample_len, unsigned int channel_num);
virtual ~DsoSnapshot();
void append_payload(const sr_datafeed_dso &dso);
const uint16_t* get_samples(int64_t start_sample,
int64_t end_sample) const;
void get_envelope_section(EnvelopeSection &s,
uint64_t start, uint64_t end, float min_length, int probe_index) const;
private:
void reallocate_envelope(Envelope &l);
void append_payload_to_envelope_levels();
private:
struct Envelope _envelope_levels[2*DS_MAX_DSO_PROBES_NUM][ScaleStepCount];
friend class DsoSnapshotTest::Basic;
};
} // namespace data
} // namespace pv
#endif // DSLOGIC_PV_DATA_DSOSNAPSHOT_H

View File

@@ -29,12 +29,15 @@
#include <stdexcept>
#include <string>
#include <QtGui/QApplication>
#include <QObject>
#include <QDebug>
#include <QDir>
#include <libsigrok4DSLogic/libsigrok.h>
using namespace std;
char config_path[256];
namespace pv {
@@ -98,6 +101,15 @@ list<sr_dev_inst*> DeviceManager::driver_scan(
// Release this driver and all it's attached devices
release_driver(driver);
// Check If DSLogic driver
if (strcmp(driver->name, "DSLogic") == 0) {
QDir dir(QApplication::applicationDirPath());
if (!dir.cd("res"))
return driver_devices;
std::string str = dir.absolutePath().toStdString() + "/";
strcpy(config_path, str.c_str());
}
// Do the scan
GSList *const devices = sr_driver_scan(driver, drvopts);
for (GSList *l = devices; l; l = l->next)

View File

@@ -51,6 +51,7 @@ DeviceOptions::DeviceOptions(QWidget *parent, struct sr_dev_inst *sdi) :
setLayout(&_layout);
_mode_comboBox.addItem(mode_strings[LOGIC]);
_mode_comboBox.addItem(mode_strings[DSO]);
_mode_comboBox.addItem(mode_strings[ANALOG]);
_mode_comboBox.setCurrentIndex(_sdi->mode);
_props_box.setLayout(&_props_box_layout);

View File

@@ -32,6 +32,8 @@
#include <QPainter>
#include <QRegExpValidator>
#include "libsigrok4DSLogic/libsigrok.h"
namespace pv {
namespace dock {

View File

@@ -31,6 +31,8 @@
#include <QRegExpValidator>
#include <QMessageBox>
#include "libsigrok4DSLogic/libsigrok.h"
namespace pv {
namespace dock {

View File

@@ -242,12 +242,14 @@ void MainWindow::setup_ui()
// Populate the device list and select the initially selected device
update_device_list();
// connect(_device_bar, SIGNAL(device_selected()), this,
// SLOT(device_selected()));
connect(_device_bar, SIGNAL(device_selected()), this,
SLOT(init()));
SLOT(device_selected()));
// connect(_device_bar, SIGNAL(device_selected()), this,
// SLOT(init()));
connect(_device_bar, SIGNAL(device_updated()), this,
SLOT(update()));
connect(_sampling_bar, SIGNAL(device_reload()), this,
SLOT(init()));
connect(_sampling_bar, SIGNAL(run_stop()), this,
SLOT(run_stop()));
addToolBar(_sampling_bar);
@@ -298,7 +300,7 @@ void MainWindow::setup_ui()
addDockWidget(Qt::BottomDockWidgetArea, _search_dock);
// Set the title
setWindowTitle(QApplication::translate("MainWindow", "DSLogic", 0,
setWindowTitle(QApplication::translate("MainWindow", "DSLogic(Beta)", 0,
QApplication::UnicodeUTF8));
// Setup _session events
@@ -372,10 +374,10 @@ void MainWindow::update_device_list(struct sr_dev_inst *selected_device)
}
}
#ifdef HAVE_LA_DSLOGIC
_session.start_hot_plug_proc(boost::bind(&MainWindow::session_error, this,
// #ifdef HAVE_LA_DSLOGIC
_session.start_hotplug_proc(boost::bind(&MainWindow::session_error, this,
QString("Hotplug failed"), _1));
#endif
// #endif
}
void MainWindow::device_change()
@@ -408,11 +410,11 @@ void MainWindow::device_change()
device_detach();
}
#ifdef HAVE_LA_DSLOGIC
_session.stop_hot_plug_proc();
_session.start_hot_plug_proc(boost::bind(&MainWindow::session_error, this,
// #ifdef HAVE_LA_DSLOGIC
_session.stop_hotplug_proc();
_session.start_hotplug_proc(boost::bind(&MainWindow::session_error, this,
QString("Hotplug failed"), _1));
#endif
// #endif
}
@@ -453,7 +455,7 @@ void MainWindow::device_selected()
void MainWindow::device_attach()
{
_session.stop_hot_plug_proc();
_session.stop_hotplug_proc();
if (_session.get_capture_state() == SigSession::Running)
_session.stop_capture();
@@ -470,7 +472,7 @@ void MainWindow::device_attach()
void MainWindow::device_detach()
{
_session.stop_hot_plug_proc();
_session.stop_hotplug_proc();
if (_session.get_capture_state() == SigSession::Running)
_session.stop_capture();
@@ -508,6 +510,7 @@ void MainWindow::run_stop()
void MainWindow::test_data_error()
{
_session.stop_capture();
QMessageBox msg(this);
msg.setText("Data Error");
msg.setInformativeText("the receive data are not consist with pre-defined test data");

View File

@@ -84,6 +84,7 @@ DeviceOptions::DeviceOptions(struct sr_dev_inst *sdi) :
case SR_CONF_TRIGGER_SOURCE:
case SR_CONF_FILTER:
case SR_CONF_COUPLING:
case SR_CONF_OPERATION_MODE:
bind_enum(name, key, gvar_list);
break;

View File

@@ -26,11 +26,14 @@
#include "devicemanager.h"
#include "data/analog.h"
#include "data/analogsnapshot.h"
#include "data/dso.h"
#include "data/dsosnapshot.h"
#include "data/logic.h"
#include "data/logicsnapshot.h"
#include "data/group.h"
#include "data/groupsnapshot.h"
#include "view/analogsignal.h"
#include "view/dsosignal.h"
#include "view/logicsignal.h"
#include "view/groupsignal.h"
#include "view/protocolsignal.h"
@@ -59,11 +62,10 @@ SigSession::SigSession(DeviceManager &device_manager) :
_sdi(NULL),
_capture_state(Init),
_last_sample_rate(1),
_total_sample_len(1),
_hot_plug_handle(NULL)
_total_sample_len(1)
{
// TODO: This should not be necessary
_session = this;
_session = this;
_hot_attach = false;
_hot_detach = false;
_adv_trigger = false;
@@ -71,23 +73,26 @@ SigSession::SigSession(DeviceManager &device_manager) :
_protocol_cnt = 0;
_decoderFactory = new decoder::DecoderFactory();
ds_trigger_init();
register_hotplug_callback();
}
SigSession::~SigSession()
{
stop_capture();
stop_capture();
if (_sampling_thread.get())
_sampling_thread->join();
_sampling_thread.reset();
if (_sampling_thread.get())
_sampling_thread->join();
_sampling_thread.reset();
if (_hot_plug_handle)
stop_hot_plug_proc();
if (_hotplug_handle) {
stop_hotplug_proc();
deregister_hotplug_callback();
}
ds_trigger_destroy();
// TODO: This should not be necessary
_session = NULL;
// TODO: This should not be necessary
_session = NULL;
}
quint64 SigSession::get_last_sample_rate() const
@@ -102,7 +107,10 @@ quint64 SigSession::get_total_sample_len() const
void SigSession::set_total_sample_len(quint64 length)
{
_total_sample_len = length;
if (_sdi->mode == DSO)
_total_sample_len = 8 * 1024;
else
_total_sample_len = length;
}
struct sr_dev_inst* SigSession::get_device() const
@@ -145,6 +153,19 @@ void SigSession::save_file(const std::string &name){
const shared_ptr<pv::data::LogicSnapshot> &snapshot =
snapshots.front();
sr_session_save(name.c_str(), _sdi,
(unsigned char*)snapshot->get_data(),
snapshot->get_unit_size(),
snapshot->get_sample_count());
} else if (_sdi->mode == DSO){
const deque< shared_ptr<pv::data::DsoSnapshot> > &snapshots =
_dso_data->get_snapshots();
if (snapshots.empty())
return;
const shared_ptr<pv::data::DsoSnapshot> &snapshot =
snapshots.front();
sr_session_save(name.c_str(), _sdi,
(unsigned char*)snapshot->get_data(),
snapshot->get_unit_size(),
@@ -215,7 +236,6 @@ void SigSession::stop_capture()
{
if (get_capture_state() == Stopped)
return;
sr_session_stop();
// Check that sampling stopped
@@ -255,6 +275,24 @@ int SigSession::get_logic_probe_cnt(const sr_dev_inst *sdi)
return logic_probe_cnt;
}
int SigSession::get_dso_probe_cnt(const sr_dev_inst *sdi)
{
unsigned int dso_probe_cnt = 0;
for (const GSList *l = sdi->probes; l; l = l->next) {
const sr_probe *const probe = (const sr_probe *)l->data;
if (!probe->enabled)
continue;
switch(probe->type) {
case SR_PROBE_DSO:
dso_probe_cnt++;
break;
}
}
return dso_probe_cnt;
}
int SigSession::get_analog_probe_cnt(const sr_dev_inst *sdi)
{
unsigned int analog_probe_cnt = 0;
@@ -289,6 +327,18 @@ void* SigSession::get_buf(int& unit_size, uint64_t &length)
const shared_ptr<pv::data::LogicSnapshot> &snapshot =
snapshots.front();
unit_size = snapshot->get_unit_size();
length = snapshot->get_sample_count();
return snapshot->get_data();
} else if (_sdi->mode == DSO) {
const deque< shared_ptr<pv::data::DsoSnapshot> > &snapshots =
_dso_data->get_snapshots();
if (snapshots.empty())
return NULL;
const shared_ptr<pv::data::DsoSnapshot> &snapshot =
snapshots.front();
unit_size = snapshot->get_unit_size();
length = snapshot->get_sample_count();
return snapshot->get_data();
@@ -339,6 +389,7 @@ void SigSession::load_thread_proc(const string name,
// Confirm that SR_DF_END was received
assert(!_cur_logic_snapshot);
assert(!_cur_dso_snapshot);
assert(!_cur_analog_snapshot);
}
@@ -346,64 +397,61 @@ void SigSession::sample_thread_proc(struct sr_dev_inst *sdi,
uint64_t record_length,
function<void (const QString)> error_handler)
{
// while(1) {
assert(sdi);
assert(error_handler);
assert(sdi);
assert(error_handler);
if (!_adv_trigger) {
/* simple trigger check trigger_enable */
ds_trigger_set_en(false);
BOOST_FOREACH(const shared_ptr<view::Signal> s, _signals)
{
assert(s);
if (s->get_trig() != 0) {
ds_trigger_set_en(true);
s->set_trig(s->get_trig());
}
if (!_adv_trigger) {
/* simple trigger check trigger_enable */
ds_trigger_set_en(false);
BOOST_FOREACH(const shared_ptr<view::Signal> s, _signals)
{
assert(s);
if (s->get_trig() != 0) {
ds_trigger_set_en(true);
s->set_trig(s->get_trig());
}
} else {
/* advanced trigger check trigger_enable */
ds_trigger_set_en(true);
}
} else {
/* advanced trigger check trigger_enable */
ds_trigger_set_en(true);
}
sr_session_new();
sr_session_datafeed_callback_add(data_feed_in_proc, NULL);
sr_session_new();
sr_session_datafeed_callback_add(data_feed_in_proc, NULL);
if (sr_session_dev_add(sdi) != SR_OK) {
error_handler(tr("Failed to use device."));
sr_session_destroy();
return;
}
// Set the sample limit
if (sr_config_set(sdi, SR_CONF_LIMIT_SAMPLES,
g_variant_new_uint64(record_length)) != SR_OK) {
error_handler(tr("Failed to configure "
"time-based sample limit."));
sr_session_destroy();
return;
}
receive_data(0);
set_capture_state(Running);
if (sr_session_start() != SR_OK) {
error_handler(tr("Failed to start session."));
set_capture_state(Stopped);
return;
}
sr_session_run();
if (sr_session_dev_add(sdi) != SR_OK) {
error_handler(tr("Failed to use device."));
sr_session_destroy();
return;
}
// Set the sample limit
if (sr_config_set(sdi, SR_CONF_LIMIT_SAMPLES,
g_variant_new_uint64(record_length)) != SR_OK) {
error_handler(tr("Failed to configure "
"time-based sample limit."));
sr_session_destroy();
return;
}
receive_data(0);
set_capture_state(Running);
if (sr_session_start() != SR_OK) {
error_handler(tr("Failed to start session."));
set_capture_state(Stopped);
return;
}
// Confirm that SR_DF_END was received
assert(!_cur_logic_snapshot);
assert(!_cur_analog_snapshot);
sr_session_run();
sr_session_destroy();
// g_usleep(3000*1000);
// }
set_capture_state(Stopped);
// Confirm that SR_DF_END was received
assert(!_cur_logic_snapshot);
assert(!_cur_dso_snapshot);
assert(!_cur_analog_snapshot);
}
void SigSession::feed_in_header(const sr_dev_inst *sdi)
@@ -412,6 +460,7 @@ void SigSession::feed_in_header(const sr_dev_inst *sdi)
GVariant *gvar;
uint64_t sample_rate = 0;
unsigned int logic_probe_count = 0;
unsigned int dso_probe_count = 0;
unsigned int analog_probe_count = 0;
// Detect what data types we will receive
@@ -425,6 +474,10 @@ void SigSession::feed_in_header(const sr_dev_inst *sdi)
logic_probe_count++;
break;
case SR_PROBE_DSO:
dso_probe_count++;
break;
case SR_PROBE_ANALOG:
analog_probe_count++;
break;
@@ -471,6 +524,11 @@ void SigSession::feed_in_header(const sr_dev_inst *sdi)
assert(_group_data);
}
if (dso_probe_count != 0) {
_dso_data.reset(new data::Dso(dso_probe_count, sample_rate));
assert(_dso_data);
}
if (analog_probe_count != 0) {
_analog_data.reset(new data::Analog(analog_probe_count, sample_rate));
assert(_analog_data);
@@ -482,7 +540,7 @@ void SigSession::feed_in_header(const sr_dev_inst *sdi)
BOOST_FOREACH(const shared_ptr<view::Signal> s, _signals)
{
assert(s);
s->set_data(_logic_data, _analog_data, _group_data);
s->set_data(_logic_data, _dso_data, _analog_data, _group_data);
}
receive_data(0);
@@ -631,6 +689,7 @@ void SigSession::init_signals(const sr_dev_inst *sdi)
GVariant *gvar;
uint64_t sample_rate = 0;
unsigned int logic_probe_count = 0;
unsigned int dso_probe_count = 0;
unsigned int analog_probe_count = 0;
// Detect what data types we will receive
@@ -644,6 +703,10 @@ void SigSession::init_signals(const sr_dev_inst *sdi)
logic_probe_count++;
break;
case SR_PROBE_DSO:
dso_probe_count++;
break;
case SR_PROBE_ANALOG:
analog_probe_count++;
break;
@@ -680,6 +743,11 @@ void SigSession::init_signals(const sr_dev_inst *sdi)
_group_cnt = 0;
}
if (dso_probe_count != 0) {
_dso_data.reset(new data::Dso(dso_probe_count, sample_rate));
assert(_dso_data);
}
if (analog_probe_count != 0) {
_analog_data.reset(new data::Analog(analog_probe_count, sample_rate));
assert(_analog_data);
@@ -704,6 +772,12 @@ void SigSession::init_signals(const sr_dev_inst *sdi)
_logic_data, probe->index, _signals.size()));
break;
case SR_PROBE_DSO:
signal = shared_ptr<view::Signal>(
new view::DsoSignal(probe->name,
_dso_data, probe->index, _signals.size()));
break;
case SR_PROBE_ANALOG:
signal = shared_ptr<view::Signal>(
new view::AnalogSignal(probe->name,
@@ -728,7 +802,8 @@ void SigSession::update_signals(const sr_dev_inst *sdi)
std::vector< boost::shared_ptr<view::Signal> >::iterator i = _signals.begin();
while (i != _signals.end()) {
if (((*i)->get_type() == view::Signal::DS_LOGIC ||
(*i)->get_type() == view::Signal::DS_ANALOG))
(*i)->get_type() == view::Signal::DS_DSO ||
(*i)->get_type() == view::Signal::DS_ANALOG))
signals_en_table.insert((*i)->get_index(), 1);
i++;
}
@@ -753,6 +828,12 @@ void SigSession::update_signals(const sr_dev_inst *sdi)
_logic_data, probe->index, 0));
break;
case SR_PROBE_DSO:
signal = shared_ptr<view::Signal>(
new view::DsoSignal(probe->name,
_dso_data, probe->index, _signals.size()));
break;
case SR_PROBE_ANALOG:
signal = shared_ptr<view::Signal>(
new view::AnalogSignal(probe->name,
@@ -767,7 +848,8 @@ void SigSession::update_signals(const sr_dev_inst *sdi)
i = _signals.begin();
while (i != _signals.end()) {
if (((*i)->get_type() == view::Signal::DS_LOGIC ||
(*i)->get_type() == view::Signal::DS_ANALOG) &&
(*i)->get_type() == view::Signal::DS_DSO ||
(*i)->get_type() == view::Signal::DS_ANALOG) &&
probes_en_table.value((*i)->get_index()) == false) {
std::vector< boost::shared_ptr<view::Signal> >::iterator j = _signals.begin();
while(j != _signals.end()) {
@@ -845,6 +927,36 @@ void SigSession::feed_in_logic(const sr_datafeed_logic &logic)
//data_updated();
}
void SigSession::feed_in_dso(const sr_datafeed_dso &dso)
{
lock_guard<mutex> lock(_data_mutex);
if(!_dso_data)
{
qDebug() << "Unexpected dso packet";
return; // This dso packet was not expected.
}
if (!_cur_dso_snapshot)
{
// Create a new data snapshot
_cur_dso_snapshot = shared_ptr<data::DsoSnapshot>(
new data::DsoSnapshot(dso, _total_sample_len, _dso_data->get_num_probes()));
if (_cur_dso_snapshot->buf_null())
stop_capture();
else
_dso_data->push_snapshot(_cur_dso_snapshot);
}
else
{
// Append to the existing data snapshot
_cur_dso_snapshot->append_payload(dso);
}
receive_data(dso.num_samples);
data_updated();
}
void SigSession::feed_in_analog(const sr_datafeed_analog &analog)
{
lock_guard<mutex> lock(_data_mutex);
@@ -902,6 +1014,11 @@ void SigSession::data_feed_in(const struct sr_dev_inst *sdi,
feed_in_logic(*(const sr_datafeed_logic*)packet->payload);
break;
case SR_DF_DSO:
assert(packet->payload);
feed_in_dso(*(const sr_datafeed_dso*)packet->payload);
break;
case SR_DF_ANALOG:
assert(packet->payload);
feed_in_analog(*(const sr_datafeed_analog*)packet->payload);
@@ -926,6 +1043,7 @@ void SigSession::data_feed_in(const struct sr_dev_inst *sdi,
}
}
_cur_logic_snapshot.reset();
_cur_dso_snapshot.reset();
_cur_analog_snapshot.reset();
}
break;
@@ -1019,64 +1137,50 @@ QMap<QString, int> SigSession::get_decode_options_index(int decode_index)
/*
* hotplug function
*/
void SigSession::start_hot_plug_proc(boost::function<void (const QString)> error_handler)
{
#ifdef HAVE_LA_DSLOGIC
if (_hot_plug_handle) {
error_handler("Hotplug proc have started!");
return;
int SigSession::hotplug_callback(struct libusb_context *ctx, struct libusb_device *dev,
libusb_hotplug_event event, void *user_data) {
(void)ctx;
(void)dev;
(void)user_data;
if (LIBUSB_HOTPLUG_EVENT_DEVICE_ARRIVED == event) {
_session->_hot_attach = true;
qDebug("DSLogic attaced!\n");
}else if (LIBUSB_HOTPLUG_EVENT_DEVICE_LEFT == event) {
_session->_hot_detach = true;
qDebug("DSLogic dettaced!\n");
}else{
qDebug("Unhandled event %d\n", event);
}
int ret = libusbhp_init(&_hot_plug_handle);
if(ret != 0) {
error_handler("Could not initialize hotplug handle.");
return;
}
libusbhp_register_hotplug_listeners(_hot_plug_handle,
dev_attach_callback,
dev_detach_callback,
NULL);
// Begin the session
_hot_plug.reset(new boost::thread(
&SigSession::hot_plug_proc, this, error_handler));
#else
error_handler("No hotplug device.");
#endif
return 0;
}
void SigSession::stop_hot_plug_proc()
void SigSession::hotplug_proc(boost::function<void (const QString)> error_handler)
{
#ifdef HAVE_LA_DSLOGIC
if (_hot_plug.get()) {
_hot_plug->interrupt();
_hot_plug->join();
}
_hot_plug.reset();
struct timeval tv;
if(_hot_plug_handle) {
libusbhp_exit(_hot_plug_handle);
_hot_plug_handle = NULL;
}
#endif
}
(void)error_handler;
void SigSession::hot_plug_proc(boost::function<void (const QString)> error_handler)
{
if (!_sdi)
return;
tv.tv_sec = tv.tv_usec = 0;
try {
while(_session) {
libusb_handle_events_timeout(NULL, &tv);
if (_hot_attach) {
qDebug("DSLogic hardware attached!");
device_attach();
_hot_attach = false;
break;
}
if (_hot_detach) {
qDebug("DSLogic hardware detached!");
device_detach();
_logic_data.reset();
_dso_data.reset();
_analog_data.reset();
_hot_detach = false;
break;
@@ -1085,39 +1189,51 @@ void SigSession::hot_plug_proc(boost::function<void (const QString)> error_handl
}
} catch(...) {
qDebug("Interrupt exception for hotplug thread was thrown.");
error_handler("Interrupt exception for hotplug thread was thrown.");
}
qDebug("Hotplug thread exit!");
}
void SigSession::dev_attach_callback(struct libusbhp_device_t *device, void *user_data)
void SigSession::register_hotplug_callback()
{
(void)user_data;
int ret;
if (device)
qDebug("Attach: (%04x/%04x)", device->idVendor, device->idProduct);
_session->_hot_attach = true;
ret = libusb_hotplug_register_callback(NULL, (libusb_hotplug_event)(LIBUSB_HOTPLUG_EVENT_DEVICE_ARRIVED |
LIBUSB_HOTPLUG_EVENT_DEVICE_LEFT),
(libusb_hotplug_flag)LIBUSB_HOTPLUG_ENUMERATE, 0x2A0E, 0x0001,
LIBUSB_HOTPLUG_MATCH_ANY, hotplug_callback, NULL,
&_hotplug_handle);
if (LIBUSB_SUCCESS != ret){
qDebug() << "Error creating a hotplug callback\n";
}
}
void SigSession::dev_detach_callback(struct libusbhp_device_t *device, void *user_data)
void SigSession::deregister_hotplug_callback()
{
(void)user_data;
if (device)
qDebug("Detach: (%04x/%04x)", device->idVendor, device->idProduct);
_session->_hot_detach = true;
libusb_hotplug_deregister_callback(NULL, _hotplug_handle);
}
int SigSession::hot_plug_active()
void SigSession::start_hotplug_proc(boost::function<void (const QString)> error_handler)
{
if (_hot_plug_handle)
return 1;
else
return 0;
// Begin the session
qDebug() << "Starting a hotplug thread...\n";
_hot_attach = false;
_hot_detach = false;
_hotplug.reset(new boost::thread(
&SigSession::hotplug_proc, this, error_handler));
}
void SigSession::stop_hotplug_proc()
{
if (_hotplug.get()) {
_hotplug->interrupt();
_hotplug->join();
}
_hotplug.reset();
}
/*
* Tigger
*/

View File

@@ -41,6 +41,7 @@
#include <QVariant>
#include <libsigrok4DSLogic/libsigrok.h>
#include <libusb.h>
namespace pv {
@@ -49,6 +50,8 @@ class DeviceManager;
namespace data {
class Analog;
class AnalogSnapshot;
class Dso;
class DsoSnapshot;
class Logic;
class LogicSnapshot;
class Group;
@@ -110,7 +113,7 @@ public:
get_pro_signals();
int get_logic_probe_cnt(const struct sr_dev_inst *sdi);
int get_dso_probe_cnt(const struct sr_dev_inst *sdi);
int get_analog_probe_cnt(const struct sr_dev_inst *sdi);
void init_signals(const struct sr_dev_inst *sdi);
@@ -147,9 +150,10 @@ public:
std::list<int> get_decode_probes(int decode_index);
QMap<QString, int> get_decode_options_index(int decode_index);
void start_hot_plug_proc(boost::function<void (const QString)> error_handler);
void stop_hot_plug_proc();
int hot_plug_active();
void start_hotplug_proc(boost::function<void (const QString)> error_handler);
void stop_hotplug_proc();
void register_hotplug_callback();
void deregister_hotplug_callback();
void set_adv_trigger(bool adv_trigger);
@@ -169,23 +173,21 @@ private:
void feed_in_meta(const sr_dev_inst *sdi,
const sr_datafeed_meta &meta);
void feed_in_trigger(const ds_trigger_pos &trigger_pos);
void feed_in_trigger(const ds_trigger_pos &trigger_pos);
void feed_in_logic(const sr_datafeed_logic &logic);
void feed_in_dso(const sr_datafeed_dso &dso);
void feed_in_analog(const sr_datafeed_analog &analog);
void data_feed_in(const struct sr_dev_inst *sdi,
const struct sr_datafeed_packet *packet);
const struct sr_datafeed_packet *packet);
static void data_feed_in_proc(const struct sr_dev_inst *sdi,
const struct sr_datafeed_packet *packet, void *cb_data);
static void data_feed_in_proc(const struct sr_dev_inst *sdi,
const struct sr_datafeed_packet *packet, void *cb_data);
void hot_plug_proc(boost::function<void (const QString)> error_handler);
static void dev_attach_callback(struct libusbhp_device_t *device, void *user_data);
static void dev_detach_callback(struct libusbhp_device_t *device, void *user_data);
void hotplug_proc(boost::function<void (const QString)> error_handler);
static int hotplug_callback(struct libusb_context *ctx, struct libusb_device *dev,
libusb_hotplug_event event, void *user_data);
private:
DeviceManager &_device_manager;
@@ -208,6 +210,8 @@ private:
mutable boost::mutex _data_mutex;
boost::shared_ptr<data::Logic> _logic_data;
boost::shared_ptr<data::LogicSnapshot> _cur_logic_snapshot;
boost::shared_ptr<data::Dso> _dso_data;
boost::shared_ptr<data::DsoSnapshot> _cur_dso_snapshot;
boost::shared_ptr<data::Analog> _analog_data;
boost::shared_ptr<data::AnalogSnapshot> _cur_analog_snapshot;
boost::shared_ptr<data::Group> _group_data;
@@ -221,8 +225,8 @@ private:
quint64 _total_sample_len;
struct libusbhp_t *_hot_plug_handle;
std::auto_ptr<boost::thread> _hot_plug;
libusb_hotplug_callback_handle _hotplug_handle;
std::auto_ptr<boost::thread> _hotplug;
bool _hot_attach;
bool _hot_detach;

View File

@@ -27,6 +27,8 @@
#include <boost/foreach.hpp>
#include <libsigrok4DSLogic/libsigrok.h>
#include <QAction>
#include <QDebug>
#include <QLabel>
@@ -63,24 +65,24 @@ const uint64_t SamplingBar::RecordLengths[19] = {
const uint64_t SamplingBar::DefaultRecordLength = 1000000;
const uint64_t SamplingBar::DSLogic_RecordLengths[15] = {
1000,
2000,
5000,
10000,
20000,
50000,
100000,
200000,
500000,
1000000,
2000000,
5000000,
10000000,
16000000,
100000000,
1024,
2048,
4096,
8192,
16384,
32768,
65536,
131072,
262144,
524288,
1048576,
2097152,
4194304,
8388608,
16777216,
};
const uint64_t SamplingBar::DSLogic_DefaultRecordLength = 16000000;
const uint64_t SamplingBar::DSLogic_DefaultRecordLength = 16777216;
SamplingBar::SamplingBar(QWidget *parent) :
QToolBar("Sampling Bar", parent),
@@ -131,7 +133,7 @@ void SamplingBar::set_device(struct sr_dev_inst *sdi)
for (size_t i = 0; i < countof(DSLogic_RecordLengths); i++)
{
const uint64_t &l = DSLogic_RecordLengths[i];
char *const text = sr_si_string_u64(l, " samples");
char *const text = sr_iec_string_u64(l, " samples");
_record_length_selector.addItem(QString(text),
qVariantFromValue(l));
g_free(text);
@@ -242,7 +244,9 @@ void SamplingBar::update_sample_rate_selector_value()
void SamplingBar::commit_sample_rate()
{
GVariant *gvar;
uint64_t sample_rate = 0;
uint64_t last_sample_rate = 0;
assert(_sdi);
@@ -259,12 +263,30 @@ void SamplingBar::commit_sample_rate()
if (sample_rate == 0)
return;
// Get last samplerate
if (sr_config_get(_sdi->driver, SR_CONF_SAMPLERATE,
&gvar, _sdi) != SR_OK) {
qDebug() <<
"WARNING: Failed to get value of sample rate";
return;
}
last_sample_rate = g_variant_get_uint64(gvar);
g_variant_unref(gvar);
// Set the samplerate
if (sr_config_set(_sdi, SR_CONF_SAMPLERATE,
g_variant_new_uint64(sample_rate)) != SR_OK) {
qDebug() << "Failed to configure samplerate.";
return;
}
if (strcmp(_sdi->driver->name, "DSLogic") == 0) {
if ((last_sample_rate == SR_MHZ(200)&& sample_rate != SR_MHZ(200)) ||
(last_sample_rate != SR_MHZ(200) && sample_rate == SR_MHZ(200)) ||
(last_sample_rate == SR_MHZ(400)&& sample_rate != SR_MHZ(400)) ||
(last_sample_rate != SR_MHZ(400) && sample_rate == SR_MHZ(400)))
device_reload();
}
}
void SamplingBar::on_sample_rate_changed()

View File

@@ -66,6 +66,7 @@ public:
signals:
void run_stop();
void device_reload();
private:
void update_sample_rate_selector_value();

View File

@@ -64,9 +64,11 @@ AnalogSignal::~AnalogSignal()
}
void AnalogSignal::set_data(boost::shared_ptr<data::Logic> _logic_data,
boost::shared_ptr<data::Dso> _dso_data,
boost::shared_ptr<pv::data::Analog> _analog_data,
boost::shared_ptr<data::Group> _group_data)
{
(void)_dso_data;
(void)_logic_data;
(void)_group_data;

View File

@@ -75,6 +75,7 @@ public:
void del_decoder();
void set_data(boost::shared_ptr<pv::data::Logic> _logic_data,
boost::shared_ptr<pv::data::Dso> _dso_data,
boost::shared_ptr<pv::data::Analog> _analog_data,
boost::shared_ptr<pv::data::Group> _group_data);

View File

@@ -0,0 +1,220 @@
/*
* This file is part of the DSLogic-gui project.
* DSLogic-gui is based on PulseView.
*
* Copyright (C) 2013 DreamSourceLab <dreamsourcelab@dreamsourcelab.com>
*
* 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, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include <extdef.h>
#include <math.h>
#include "dsosignal.h"
#include "pv/data/dso.h"
#include "pv/data/dsosnapshot.h"
using namespace boost;
using namespace std;
namespace pv {
namespace view {
const QColor DsoSignal::SignalColours[4] = {
QColor(17, 133, 209, 255), // dsBlue
QColor(238, 178, 17, 255), // dsYellow
QColor(213, 15, 37, 255), // dsRed
QColor(0, 153, 37, 255) // dsGreen
};
const float DsoSignal::EnvelopeThreshold = 256.0f;
DsoSignal::DsoSignal(QString name, shared_ptr<data::Dso> data,
int probe_index, int order) :
Signal(name, probe_index, DS_DSO, order),
_data(data)
{
_colour = SignalColours[probe_index % countof(SignalColours)];
_scale = _signalHeight * 1.0f / 256;
}
DsoSignal::~DsoSignal()
{
}
void DsoSignal::set_data(boost::shared_ptr<data::Logic> _logic_data,
boost::shared_ptr<data::Dso> _dso_data,
boost::shared_ptr<pv::data::Analog> _analog_data,
boost::shared_ptr<data::Group> _group_data)
{
(void)_analog_data;
(void)_logic_data;
(void)_group_data;
assert(_dso_data);
_data = _dso_data;
}
void DsoSignal::set_scale(float scale)
{
_scale = scale;
}
void DsoSignal::paint(QPainter &p, int y, int left, int right, double scale,
double offset)
{
assert(scale > 0);
assert(_data);
assert(right >= left);
//paint_axis(p, y, left, right);
const deque< shared_ptr<pv::data::DsoSnapshot> > &snapshots =
_data->get_snapshots();
if (snapshots.empty())
return;
_scale = _signalHeight * 1.0f / 256;
const shared_ptr<pv::data::DsoSnapshot> &snapshot =
snapshots.front();
if ((unsigned int)get_index() >= snapshot->get_channel_num())
return;
const double pixels_offset = offset / scale;
const double samplerate = _data->get_samplerate();
const double start_time = _data->get_start_time();
const int64_t last_sample = max((int64_t)(snapshot->get_sample_count() - 1), (int64_t)0);
const double samples_per_pixel = samplerate * scale;
const double start = samplerate * (offset - start_time);
const double end = start + samples_per_pixel * (right - left);
const int64_t start_sample = min(max((int64_t)floor(start),
(int64_t)0), last_sample);
const int64_t end_sample = min(max((int64_t)ceil(end) + 1,
(int64_t)0), last_sample);
if (samples_per_pixel < EnvelopeThreshold)
paint_trace(p, snapshot, y, left,
start_sample, end_sample,
pixels_offset, samples_per_pixel);
else
paint_envelope(p, snapshot, y, left,
start_sample, end_sample,
pixels_offset, samples_per_pixel);
}
void DsoSignal::paint_trace(QPainter &p,
const shared_ptr<pv::data::DsoSnapshot> &snapshot,
int y, int left, const int64_t start, const int64_t end,
const double pixels_offset, const double samples_per_pixel)
{
const int64_t sample_count = end - start;
if (sample_count > 0) {
const uint16_t *const samples = snapshot->get_samples(start, end);
assert(samples);
p.setPen(_colour);
//p.setPen(QPen(_colour, 3, Qt::SolidLine));
QPointF *points = new QPointF[sample_count];
QPointF *point = points;
for (int64_t sample = start; sample != end; sample++) {
const float x = (sample / samples_per_pixel - pixels_offset) + left;
uint16_t offset = samples[sample - start];
*point++ = QPointF(x,
y - ((get_index() == 0) ? offset & 0x00ff : offset >> 8) * _scale);
}
p.drawPolyline(points, point - points);
//delete[] samples;
delete[] points;
}
}
void DsoSignal::paint_envelope(QPainter &p,
const shared_ptr<pv::data::DsoSnapshot> &snapshot,
int y, int left, const int64_t start, const int64_t end,
const double pixels_offset, const double samples_per_pixel)
{
using namespace Qt;
using pv::data::DsoSnapshot;
DsoSnapshot::EnvelopeSection e;
snapshot->get_envelope_section(e, start, end, samples_per_pixel, get_index());
if (e.length < 2)
return;
p.setPen(QPen(NoPen));
//p.setPen(QPen(_colour, 2, Qt::SolidLine));
p.setBrush(_colour);
QRectF *const rects = new QRectF[e.length];
QRectF *rect = rects;
for(uint64_t sample = 0; sample < e.length-1; sample++) {
const float x = ((e.scale * sample + e.start) /
samples_per_pixel - pixels_offset) + left;
const DsoSnapshot::EnvelopeSample *const s =
e.samples + sample;
// We overlap this sample with the next so that vertical
// gaps do not appear during steep rising or falling edges
const float b = y - max(s->max, (s+1)->min) * _scale;
const float t = y - min(s->min, (s+1)->max) * _scale;
float h = b - t;
if(h >= 0.0f && h <= 1.0f)
h = 1.0f;
if(h <= 0.0f && h >= -1.0f)
h = -1.0f;
*rect++ = QRectF(x, t, 1.0f, h);
}
p.drawRects(rects, e.length);
delete[] rects;
//delete[] e.samples;
}
const std::vector< std::pair<uint64_t, bool> > DsoSignal::cur_edges() const
{
}
void DsoSignal::set_decoder(pv::decoder::Decoder *decoder)
{
(void)decoder;
}
decoder::Decoder *DsoSignal::get_decoder()
{
return NULL;
}
void DsoSignal::del_decoder()
{
}
} // namespace view
} // namespace pv

View File

@@ -0,0 +1,101 @@
/*
* This file is part of the DSLogic-gui project.
* DSLogic-gui is based on PulseView.
*
* Copyright (C) 2013 DreamSourceLab <dreamsourcelab@dreamsourcelab.com>
*
* 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, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef DSLOGIC_PV_DSOSIGNAL_H
#define DSLOGIC_PV_DSOSIGNAL_H
#include "signal.h"
#include <boost/shared_ptr.hpp>
namespace pv {
namespace data {
class Logic;
class Dso;
class Analog;
class DsoSnapshot;
}
namespace view {
class DsoSignal : public Signal
{
private:
static const QColor SignalColours[4];
static const float EnvelopeThreshold;
public:
DsoSignal(QString name,
boost::shared_ptr<pv::data::Dso> data, int probe_index, int order);
virtual ~DsoSignal();
void set_scale(float scale);
/**
* Paints the signal with a QPainter
* @param p the QPainter to paint into.
* @param y the y-coordinate to draw the signal at.
* @param left the x-coordinate of the left edge of the signal.
* @param right the x-coordinate of the right edge of the signal.
* @param scale the scale in seconds per pixel.
* @param offset the time to show at the left hand edge of
* the view in seconds.
**/
void paint(QPainter &p, int y, int left, int right, double scale,
double offset);
const std::vector< std::pair<uint64_t, bool> > cur_edges() const;
void set_decoder(pv::decoder::Decoder *decoder);
pv::decoder::Decoder* get_decoder();
void del_decoder();
void set_data(boost::shared_ptr<pv::data::Logic> _logic_data,
boost::shared_ptr<pv::data::Dso> _dso_data,
boost::shared_ptr<pv::data::Analog> _analog_data,
boost::shared_ptr<pv::data::Group> _group_data);
private:
void paint_trace(QPainter &p,
const boost::shared_ptr<pv::data::DsoSnapshot> &snapshot,
int y, int left, const int64_t start, const int64_t end,
const double pixels_offset, const double samples_per_pixel);
void paint_envelope(QPainter &p,
const boost::shared_ptr<pv::data::DsoSnapshot> &snapshot,
int y, int left, const int64_t start, const int64_t end,
const double pixels_offset, const double samples_per_pixel);
private:
boost::shared_ptr<pv::data::Dso> _data;
float _scale;
};
} // namespace view
} // namespace pv
#endif // DSLOGIC_PV_DSOSIGNAL_H

View File

@@ -58,10 +58,12 @@ GroupSignal::~GroupSignal()
}
void GroupSignal::set_data(boost::shared_ptr<data::Logic> _logic_data,
boost::shared_ptr<data::Dso> _dso_data,
boost::shared_ptr<pv::data::Analog> _analog_data,
boost::shared_ptr<data::Group> _group_data)
{
(void)_logic_data;
(void)_dso_data;
(void)_analog_data;
assert(_group_data);

View File

@@ -79,6 +79,7 @@ public:
void del_decoder();
void set_data(boost::shared_ptr<pv::data::Logic> _logic_data,
boost::shared_ptr<pv::data::Dso> _dso_data,
boost::shared_ptr<pv::data::Analog> _analog_data,
boost::shared_ptr<pv::data::Group> _group_data);

View File

@@ -147,7 +147,7 @@ void Header::paintEvent(QPaintEvent*)
w, s->get_old_v_offset() - v_offset - s->get_signalHeight());
painter.drawLine(0, s->get_old_v_offset() - v_offset,
w, s->get_old_v_offset() - v_offset);
} else {
} else if (s->get_type() == Signal::DS_LOGIC){
painter.drawLine(0, s->get_old_v_offset() - v_offset + 10,
w, s->get_old_v_offset() - v_offset + 10);
}
@@ -157,7 +157,7 @@ void Header::paintEvent(QPaintEvent*)
w, s->get_v_offset() - v_offset);
painter.drawLine(0, s->get_v_offset() - v_offset - s->get_signalHeight(),
w, s->get_v_offset() - v_offset - s->get_signalHeight());
} else {
} else if (s->get_type() == Signal::DS_LOGIC) {
painter.drawLine(0, s->get_v_offset() - v_offset + 10,
w, s->get_v_offset() - v_offset + 10);
}

View File

@@ -82,9 +82,11 @@ LogicSignal::~LogicSignal()
}
void LogicSignal::set_data(boost::shared_ptr<data::Logic> _logic_data,
boost::shared_ptr<data::Dso> _dso_data,
boost::shared_ptr<pv::data::Analog> _analog_data,
boost::shared_ptr<data::Group> _group_data)
{
(void)_dso_data;
(void)_analog_data;
(void)_group_data;

View File

@@ -62,6 +62,7 @@ public:
virtual ~LogicSignal();
void set_data(boost::shared_ptr<pv::data::Logic> _logic_data,
boost::shared_ptr<pv::data::Dso> _dso_data,
boost::shared_ptr<pv::data::Analog> _analog_data,
boost::shared_ptr<pv::data::Group> _group_data);
/**

View File

@@ -55,10 +55,11 @@ ProtocolSignal::~ProtocolSignal()
{
}
void ProtocolSignal::set_data(boost::shared_ptr<data::Logic> _logic_data,
void ProtocolSignal::set_data(boost::shared_ptr<data::Logic> _logic_data, boost::shared_ptr<data::Dso> _dso_data,
boost::shared_ptr<pv::data::Analog> _analog_data,
boost::shared_ptr<data::Group> _group_data)
{
(void)_dso_data;
(void)_analog_data;
(void)_group_data;

View File

@@ -57,6 +57,7 @@ public:
virtual ~ProtocolSignal();
void set_data(boost::shared_ptr<pv::data::Logic> _logic_data,
boost::shared_ptr<pv::data::Dso> _dso_data,
boost::shared_ptr<pv::data::Analog> _analog_data,
boost::shared_ptr<pv::data::Group> _group_data);

View File

@@ -42,6 +42,7 @@ namespace pv {
namespace data {
class SignalData;
class Logic;
class Dso;
class Analog;
class Group;
}
@@ -76,7 +77,7 @@ public:
static const QColor dsLightRed;
static const QPen SignalAxisPen;
enum {DS_LOGIC = 0, DS_ANALOG, DS_GROUP, DS_PROTOCOL};
enum {DS_LOGIC = 0, DS_ANALOG, DS_GROUP, DS_PROTOCOL, DS_DSO};
protected:
Signal(QString name, int index, int type, int order);
@@ -187,6 +188,7 @@ public:
virtual void del_decoder() = 0;
virtual void set_data(boost::shared_ptr<pv::data::Logic> _logic_data,
boost::shared_ptr<pv::data::Dso> _dso_data,
boost::shared_ptr<pv::data::Analog> _analog_data,
boost::shared_ptr<pv::data::Group> _group_data) = 0;

View File

@@ -95,7 +95,7 @@ void Viewport::paintEvent(QPaintEvent *event)
(void)event;
using pv::view::Signal;
int i, j;
QStyleOption o;
o.initFrom(this);
QPainter p(this);
@@ -118,7 +118,7 @@ void Viewport::paintEvent(QPaintEvent *event)
paintProgress(p);
break;
}
} else if (_view.session().get_device()->mode == ANALOG) {
} else {
paintSignals(p);
}
@@ -134,7 +134,6 @@ void Viewport::paintEvent(QPaintEvent *event)
p.setPen(Signal::dsGray);
const double sigY = s->get_v_offset() - _view.v_offset();
int i, j;
if (s->get_type() == Signal::DS_ANALOG) {
p.drawLine(0, sigY, width(), sigY);
const double spanY = (s->get_signalHeight()) * 1.0f / NumSpanY;
@@ -152,11 +151,39 @@ void Viewport::paintEvent(QPaintEvent *event)
p.drawLine(0 + spanX * i, sigY,
0 + spanX * i, sigY - s->get_signalHeight());
}
} else {
} else if (s->get_type() == Signal::DS_LOGIC) {
p.drawLine(0, sigY + 10, width(), sigY + 10);
}
}
if (_view.session().get_device()->mode == DSO) {
p.setPen(Signal::dsGray);
p.setPen(Qt::DotLine);
const double spanY =height() * 1.0f / 8;
for (i = 1; i < 9; i++) {
const double posY = spanY * i;
p.drawLine(0, posY, width(), posY);
const double miniSpanY = spanY / 5;
for (j = 1; j < 5; j++) {
p.drawLine(width() / 2.0f - 10, posY - miniSpanY * j,
width() / 2.0f + 10, posY - miniSpanY * j);
}
}
const double spanX = width() * 1.0f / 10;
for (i = 1; i < 11; i++) {
const double posX = spanX * i;
p.drawLine(posX, 0,
posX, height());
const double miniSpanX = spanX / 5;
for (j = 1; j < 5; j++) {
p.drawLine(posX - miniSpanX * j, height() / 2.0f - 10,
posX - miniSpanX * j, height() / 2.0f + 10);
}
}
}
p.end();
}

BIN
DSLogic-gui/res/DSLogic.bin Normal file

Binary file not shown.

BIN
DSLogic-gui/res/DSLogic.fw Normal file

Binary file not shown.

View File

@@ -223,6 +223,13 @@ QLabel {
margin: 0px;
}
QCheckBox::indicator:checked {
image: url(:icons/checkbox.png);
}
QRadioButton::indicator:checked {
image: url(:icons/radiobutton.png);
}
QLabel:disabled {
color: rgb(232, 232, 230, 255);
}

9339
DSLogic-gui/trace.txt Normal file

File diff suppressed because it is too large Load Diff