radioapp/buildflags.pri
changeset 16 f54ebcfc1b80
parent 13 46974bebc798
child 19 afea38384506
equal deleted inserted replaced
14:63aabac4416d 16:f54ebcfc1b80
    24 # RADIOFLAGS += USE_DEBUGGING_CONTROLS
    24 # RADIOFLAGS += USE_DEBUGGING_CONTROLS
    25 
    25 
    26 # Reads the layout docml files and images from e:/radiotest/ folder
    26 # Reads the layout docml files and images from e:/radiotest/ folder
    27 # RADIOFLAGS += USE_LAYOUT_FROM_E_DRIVE
    27 # RADIOFLAGS += USE_LAYOUT_FROM_E_DRIVE
    28 
    28 
    29 # Usage of the Mobile Extensions APIs
       
    30 # RADIOFLAGS += USE_MOBILE_EXTENSIONS_API
       
    31 
       
    32 # Usage of stubbed radio engine
       
    33 # RADIOFLAGS += USE_STUBBED_RADIOENGINE
       
    34 
       
    35 # Flag to use dummy radio data read from XML file
    29 # Flag to use dummy radio data read from XML file
    36 # RADIOFLAGS += USE_DUMMY_RADIO_DATA
    30 # RADIOFLAGS += USE_DUMMY_RADIO_DATA
    37 
    31 
    38 # Functional testing
    32 # Functional testing
    39 # RADIOFLAGS += SHOW_CALLSIGN_IN_ANY_REGION
    33 # RADIOFLAGS += SHOW_CALLSIGN_IN_ANY_REGION
    40 
    34 
    41 # Build flag to enable usage of the new preset utility
    35 # Build flag to enable usage of the new preset utility
    42 # RADIOFLAGS += COMPILE_WITH_NEW_PRESET_UTILITY
    36 RADIOFLAGS += COMPILE_WITH_NEW_PRESET_UTILITY
    43 
    37 
    44 # Build flag to add EXPORTUNFROZEN to the pro file
    38 # Build flag to add EXPORTUNFROZEN to the pro file
    45 # RADIOFLAGS += USE_UNFROZEN_EXPORTS
    39 # RADIOFLAGS += USE_UNFROZEN_EXPORTS
    46 
    40 
    47 # Enables the assert macros
    41 # Enables the assert macros
    93 # Copy all radio flags to defines to define them as preprocessor macros
    87 # Copy all radio flags to defines to define them as preprocessor macros
    94 DEFINES += $$RADIOFLAGS
    88 DEFINES += $$RADIOFLAGS
    95 CONFIG += $$RADIOFLAGS
    89 CONFIG += $$RADIOFLAGS
    96 CONFIG += $$LOGGING_FLAGS
    90 CONFIG += $$LOGGING_FLAGS
    97 
    91 
    98 win32:DEFINES += BUILD_WIN32
    92 symbian: {
    99 
    93     DEFINES += SYMBIAN
   100 # Mobile extension headers are in a special path
    94     TARGET.EPOCALLOWDLLDATA = 1
   101 MOBILE_EXTENSIONS_PATH = /mobile_extensions/include
    95     TARGET.VID              = VID_DEFAULT
   102 !exists($$MOBILE_EXTENSIONS_PATH) {
    96     TARGET.CAPABILITY       = CAP_GENERAL_DLL
   103     CONFIG -= USE_MOBILE_EXTENSIONS_API
       
   104     DEFINES -= USE_MOBILE_EXTENSIONS_API
       
   105 }
       
   106 USE_MOBILE_EXTENSIONS_API {
       
   107     INCLUDEPATH += $$MOBILE_EXTENSIONS_PATH
       
   108 }
    97 }
   109 
    98 
   110 USE_STUBBED_RADIOENGINE {
    99 win32: {
   111     INCLUDEPATH += /epoc32/include/radioengine_stub
   100     DEFINES     += BUILD_WIN32
       
   101     DESTDIR     = ../bin
       
   102     LIBS        += -L../bin
       
   103     INCLUDEPATH += ../radioenginewrapper/inc
   112 }
   104 }
   113 
   105 
   114 USE_UNFROZEN_EXPORTS {
   106 USE_UNFROZEN_EXPORTS {
   115     symbian:MMP_RULES +=  "exportunfrozen"
   107     symbian:MMP_RULES   +=  "exportunfrozen"
       
   108     symbian:DEF_FILE    = not_used.def
   116 }
   109 }
   117 
   110 
   118 # $$_PRO_FILE_PWD_ points to the directory of the pro file
   111 # $$_PRO_FILE_PWD_ points to the directory of the pro file
   119 MOC_DIR         = $$_PRO_FILE_PWD_/tmp
   112 MOC_DIR         = $$_PRO_FILE_PWD_/tmp
   120 RCC_DIR         = $$_PRO_FILE_PWD_/tmp
   113 RCC_DIR         = $$_PRO_FILE_PWD_/tmp