34
|
1 |
#
|
|
2 |
# Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
|
3 |
# All rights reserved.
|
|
4 |
# This component and the accompanying materials are made available
|
|
5 |
# under the terms of "Eclipse Public License v1.0"
|
|
6 |
# which accompanies this distribution, and is available
|
|
7 |
# at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
|
8 |
#
|
|
9 |
# Initial Contributors:
|
|
10 |
# Nokia Corporation - initial contribution.
|
|
11 |
#
|
|
12 |
# Contributors:
|
|
13 |
#
|
|
14 |
# Description:
|
|
15 |
#
|
|
16 |
|
|
17 |
# ##########################################################
|
|
18 |
# Start of Flag definitions
|
|
19 |
# Add or remove comments to disable or enable the features
|
|
20 |
# ##########################################################
|
|
21 |
|
|
22 |
# ##########################################################
|
|
23 |
# Start of Logging flag definitions
|
|
24 |
# ##########################################################
|
|
25 |
|
|
26 |
# Full logging flag that enables the full logging including also timestamps
|
|
27 |
# Enabled by default in debug builds
|
|
28 |
# CONFIG(debug, debug|release) : LOGGING_FLAGS += LOGGING_ENABLED
|
|
29 |
|
|
30 |
# Uncomment to enable full logging in release builds
|
|
31 |
# LOGGING_FLAGS *= LOGGING_ENABLED
|
|
32 |
|
|
33 |
# Timestamp logging flag that enables only timestamp logging
|
|
34 |
# LOGGING_FLAGS += TIMESTAMP_LOGGING_ENABLED
|
|
35 |
|
|
36 |
# Combines Ui and Engine logs by feeding UI traces to the engine logger
|
|
37 |
# LOGGING_FLAGS += COMBINE_WITH_ENGINE_LOGGER
|
|
38 |
|
|
39 |
# Logging level
|
|
40 |
# 1 - Normal level
|
|
41 |
# 2 - More verbose level
|
|
42 |
# 3 - Most verbose level
|
|
43 |
LOGGING_FLAGS += LOGGING_LEVEL=1
|
|
44 |
|
|
45 |
# Select which radio component is being logged
|
|
46 |
# 1 - Radio application
|
|
47 |
# 2 - Radio homescreen widget
|
|
48 |
LOGGING_FLAGS += LOGGED_COMPONENT=2
|
|
49 |
|
|
50 |
contains(LOGGING_FLAGS, TIMESTAMP_LOGGING_ENABLED)|contains(LOGGING_FLAGS, LOGGING_ENABLED) {
|
|
51 |
|
|
52 |
# Writes debug prints to file if enabled
|
|
53 |
#LOGGING_FLAGS += TRACE_TO_FILE
|
|
54 |
|
|
55 |
# Settings for the log file name
|
|
56 |
symbian:contains(LOGGING_FLAGS, TRACE_TO_FILE) {
|
|
57 |
LOGGING_FLAGS += \"TRACE_OUTPUT_FILE=\\\"c:/logs/radio/radiohswidget.txt\\\"\"
|
|
58 |
LOGGING_FLAGS += FILTER_BY_LOGMARKER=true
|
|
59 |
}
|
|
60 |
}
|
|
61 |
|
|
62 |
# Method for testing signal-slot connections
|
|
63 |
# 1 - Log failed connection
|
|
64 |
# 2 - Log failed connection and halt debugger
|
|
65 |
LOGGING_FLAGS += CONNECT_TEST_MODE=2
|
|
66 |
|
|
67 |
# Logging is always enabled in Win32 environment
|
|
68 |
win32:LOGGING_FLAGS *= LOGGING_ENABLED
|
|
69 |
|
|
70 |
DEFINES += $$LOGGING_FLAGS
|
|
71 |
|
|
72 |
# ##########################################################
|
|
73 |
# End of Flag definitions
|
|
74 |
# ##########################################################
|
|
75 |
|
|
76 |
# $$_PRO_FILE_PWD_ points to the directory of the pro file
|
|
77 |
MOC_DIR = $$_PRO_FILE_PWD_/tmp
|
|
78 |
RCC_DIR = $$_PRO_FILE_PWD_/tmp
|
|
79 |
OBJECTS_DIR = $$_PRO_FILE_PWD_/tmp
|
|
80 |
UI_DIR = $$_PRO_FILE_PWD_/tmp
|
|
81 |
UI_HEADERS_DIR = $$_PRO_FILE_PWD_/tmp
|
|
82 |
UI_SOURCES_DIR = $$_PRO_FILE_PWD_/tmp
|