source: src/global.pri @ 05afe5f

qt5
Last change on this file since 05afe5f was 2af8e2f, checked in by pavelpa <pavelpa@…>, 13 years ago

created 'global.pri' file, which should cover all
global definition of the project

  • this file has to be include in each "*.pro" file, where it's needed
  • defines "MAEMO" for handling 'MAEMO' specific code in source files
  • defines "maemo" for handling 'MAEMO' specific files in "*.pro" file(s)
  • Property mode set to 100644
File size: 453 bytes
Line 
1# This is 'global.pri' file which defines
2# GLOBAL definitions for the project
3# include this file in each "*.pro" file, where it's needed
4# USAGE: include(./global.pri)
5
6# Define 'MAEMO' specific CONFIG/DEFINE
7# To handle 'MAEMO' specific soruces/code
8DISTRO = $$system(cat /etc/issue)
9contains( DISTRO, [Mm]aemo) {
10    # for 'MAEMO' specific source code parts
11    DEFINES += MAEMO
12    # for eg. including 'MAEMO' specific files
13    CONFIG += maemo
14}
15
Note: See TracBrowser for help on using the repository browser.