Reduced FFTW patience to 1 for debug builds for fastest startup

Don't make  proper Windows  applications in  debug builds.  This means
that  the  debug output  now  goes  to  the  console and  the  program
(wsjtx.exe) no longer detaches from the console.

If you  require a proper Windows  executable, for instance if  you are
getting  the  debug  output  via  the normal  method  of  attaching  a
debugger,  you can  still do  so  by setting  the CMake  configuration
option WSJT_CREATE_WINMAIN to ON for your debug build configuration on
Windows.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5249 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Bill Somerville
2015-04-20 15:20:38 +00:00
parent dd03873625
commit d9f14cbed8
2 changed files with 13 additions and 7 deletions
+5 -2
View File
@@ -407,8 +407,11 @@ MainWindow::MainWindow(bool multiple, QSettings * settings, QSharedMemory *shdme
QStringList jt9_args {
"-s", QApplication::applicationName () // shared memory key,
// includes rig-name
, "-w", "2" //FFTW patience
#ifdef NDEBUG
, "-w", "2" //FFTW patience - release
#else
, "-w", "1" //FFTW patience - debug builds for speed
#endif
// The number of threads for FFTW specified here is chosen as
// three because that gives the best throughput of the large