Subversion Repositories gelsvn

Rev

Rev 107 | Go to most recent revision | Blame | Last modification | View Log | RSS feed

// -*- MPC -*-
// $Id: qt.mpb 217 2006-05-05 09:35:48Z bj $

project {
  requires += qt
  includes += $(QTDIR)/include
  libpaths += $(QTDIR)/lib
  macros   += QT_THREAD_SUPPORT
  lit_libs += qt-mt$(QT_VERSION)

  Define_Custom(UIC) {
    automatic        = 1
    command          = $(QTDIR)/bin/uic
    postcommand      = $(QTDIR)/bin/uic -impl <%output_noext%>.h -o <%output_noext%>.cpp <%input%>
    output_option    = -o
    inputext         = .ui
    header_outputext = .h
  }

  Define_Custom(MOC) {
    automatic        = 0
    command          = $(QTDIR)/bin/moc
    output_option    = -o
    pch_postrule     = 1
    inputext         = .h
    pre_extension    = _moc
    source_outputext = .cpp
  }
}