On 03/03/2015 14:45, Michael Black wrote:
Hi Mike,
Assuming WSJT-X.
I'm trying to build either a debug package or a release-with-debug
package. Trying to enable the WSJT-X_trace.log.
I can build the debug or release targets with debug info no problem.
Just can't figure out how to make a package.
Can someone elighten me as to the magic to make that happen?
There are several reasons why an installer for a debug build is not
possible, the main one being that the debug build takes many short cuts
to get a fast build that make a debug build non-portable. Another is
that the matching debug Qt libraries are not really suitable for deployment.
I suspect you actually want debug trace logging in a release build, this
is possible. There are a few CMake options that control the inclusion of
the relevant components in a release configuration build.
They are all documented and can be viewed using cmke-gui.
WSJT_QDEBUG_IN_RELEASE when set to ON causes QDebug code to be compiled
in (qDebug () stream usage and debug stream insertors for user defined
Qt types for example).
WSJT_QDEBUG_TO_FILE when set ON causes all QDebug generated output to be
redirected to "<temp-directory>/WSJT-X_trace.log".
WSJT_TRACE_CAT when set to ON causes many rig control trace messages to
be generated.
WSJT_TRACE_CAT_POLLS when set ON causes rig control trace from within
the CAT polling code, can cause very large trace files (only effective
when WSJT_TRACE_CAT is also ON).
WSJT_HAMLIB_TRACE when set to ON causes the verbosity of Hamlib debug
trace messages to be raised to 'verbose'.
Thanks
Mike W9MDB
73
Bill
G4WJS.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel