| 1 | # The following macros allow certain features and debugging output
|
|---|
| 2 | # to be disabled / enabled at compile time.
|
|---|
| 3 |
|
|---|
| 4 | # Debug output from spectrum calculation
|
|---|
| 5 | DEFINES += LOG_SPECTRUMANALYSER
|
|---|
| 6 |
|
|---|
| 7 | # Debug output from waveform generation
|
|---|
| 8 | #DEFINES += LOG_WAVEFORM
|
|---|
| 9 |
|
|---|
| 10 | # Debug output from engine
|
|---|
| 11 | DEFINES += LOG_ENGINE
|
|---|
| 12 |
|
|---|
| 13 | # Dump input data to spectrum analyer, plus artefact data files
|
|---|
| 14 | #DEFINES += DUMP_SPECTRUMANALYSER
|
|---|
| 15 |
|
|---|
| 16 | # Dump captured audio data
|
|---|
| 17 | #DEFINES += DUMP_CAPTURED_AUDIO
|
|---|
| 18 |
|
|---|
| 19 | # Disable calculation of level
|
|---|
| 20 | #DEFINES += DISABLE_LEVEL
|
|---|
| 21 |
|
|---|
| 22 | # Disable calculation of frequency spectrum
|
|---|
| 23 | # If this macro is defined, the FFTReal DLL will not be built
|
|---|
| 24 | #DEFINES += DISABLE_FFT
|
|---|
| 25 |
|
|---|
| 26 | # Disables rendering of the waveform
|
|---|
| 27 | #DEFINES += DISABLE_WAVEFORM
|
|---|
| 28 |
|
|---|
| 29 | # If defined, superimpose the progress bar on the waveform
|
|---|
| 30 | DEFINES += SUPERIMPOSE_PROGRESS_ON_WAVEFORM
|
|---|
| 31 |
|
|---|
| 32 | # Perform spectrum analysis calculation in a separate thread
|
|---|
| 33 | DEFINES += SPECTRUM_ANALYSER_SEPARATE_THREAD
|
|---|
| 34 |
|
|---|
| 35 | # Suppress warnings about strncpy potentially being unsafe, emitted by MSVC
|
|---|
| 36 | win32: DEFINES += _CRT_SECURE_NO_WARNINGS
|
|---|
| 37 |
|
|---|
| 38 | win32 {
|
|---|
| 39 | # spectrum_build_dir is defined with a leading slash so that it can
|
|---|
| 40 | # be used in contexts such as
|
|---|
| 41 | # ..$${spectrum_build_dir}
|
|---|
| 42 | # without the result having a trailing slash where spectrum_build_dir
|
|---|
| 43 | # is undefined.
|
|---|
| 44 | spectrum_build_dir = /release
|
|---|
| 45 | if (!debug_and_release|build_pass): CONFIG(debug, debug|release) {
|
|---|
| 46 | spectrum_build_dir = /debug
|
|---|
| 47 | }
|
|---|
| 48 | }
|
|---|
| 49 |
|
|---|