Changeset 56 for psi/trunk/iris/example


Ignore:
Timestamp:
Sep 21, 2006, 9:40:35 PM (19 years ago)
Author:
dmik
Message:

Psi: General: All output directories are made OS-specific (by adding the OS name to the path), to make it possible to build Psi for different platforms from a single source tree.

Location:
psi/trunk/iris/example
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • psi/trunk/iris/example/example.pri

    r2 r56  
     1OS = unknown
     2os2:OS = os2
     3win32:OS = win
     4unix:OS = nix
     5mac:OS = mac
     6
    17# stay clean
    2 MOC_DIR        = .moc
    3 OBJECTS_DIR    = .obj
    4 UI_DIR         = .ui
     8debug: {
     9        MOC_DIR        = .debug/.$$OS/.moc
     10        OBJECTS_DIR    = .debug/.$$OS/.obj
     11        UI_DIR         = .debug/.$$OS/.ui
     12} else {
     13        MOC_DIR        = .$$OS/.moc
     14        OBJECTS_DIR    = .$$OS/.obj
     15        UI_DIR         = .$$OS/.ui
     16}
    517
    618# include some of cutestuff
  • psi/trunk/iris/example/server/server.pro

    r2 r56  
    33TARGET = server
    44
    5 MOC_DIR        = .moc
    6 OBJECTS_DIR    = .obj
    7 UI_DIR         = .ui
     5OS = unknown
     6os2:OS = os2
     7win32:OS = win
     8unix:OS = nix
     9mac:OS = mac
     10
     11debug: {
     12        MOC_DIR        = .debug/.$$OS/.moc
     13        OBJECTS_DIR    = .debug/.$$OS/.obj
     14        UI_DIR         = .debug/.$$OS/.ui
     15} else {
     16        MOC_DIR        = .$$OS/.moc
     17        OBJECTS_DIR    = .$$OS/.obj
     18        UI_DIR         = .$$OS/.ui
     19}
    820
    921include(../xmpptest/iris.pri)
  • psi/trunk/iris/example/xmpptest/xmpptest.pro

    r2 r56  
    33TARGET  = xmpptest
    44
    5 MOC_DIR        = .moc
    6 OBJECTS_DIR    = .obj
    7 UI_DIR         = .ui
     5OS = unknown
     6os2:OS = os2
     7win32:OS = win
     8unix:OS = nix
     9mac:OS = mac
     10
     11debug: {
     12        MOC_DIR        = .debug/.$$OS/.moc
     13        OBJECTS_DIR    = .debug/.$$OS/.obj
     14        UI_DIR         = .debug/.$$OS/.ui
     15} else {
     16        MOC_DIR        = .$$OS/.moc
     17        OBJECTS_DIR    = .$$OS/.obj
     18        UI_DIR         = .$$OS/.ui
     19}
    820
    921#DEFINES += CS_XMPP
Note: See TracChangeset for help on using the changeset viewer.