cgview.pro 497 Bytes
Newer Older
1 2
TEMPLATE = app
QT -= gui
3
CONFIG += console
4

5 6 7 8
include (../version.pri)
QMAKE_TARGET_PRODUCT = CGView
QMAKE_TARGET_DESCRIPTION = CGView

9 10 11 12 13
include(../libcore/libcore.pri)

# This generate *.moc files from NHEADERS, which get included from *.cpp
new_moc.CONFIG = no_link moc_verify
new_moc.output  = ${QMAKE_FILE_BASE}.moc
14
new_moc.commands = $$moc_header.commands
15 16 17 18
new_moc.input = NHEADERS
QMAKE_EXTRA_COMPILERS = new_moc

SOURCES += main.cpp
19 20 21

# makes headers visible in qt-creator
HEADERS += $$NHEADERS