qmake.conf
57 lines
| 891 B
| text/plain
|
TextLexer
r65 | # | |||
# qmake configuration for stm32f4 | ||||
# | ||||
# | ||||
isEmpty(_simulator_conf){ | ||||
_simulator_conf="oneshot" | ||||
QMAKE_CFLAGS= -std=c99 | ||||
include(../../common/simulator.conf) | ||||
DEFINES += \"assert_param(expr)=((void)0)\" | ||||
INCLUDEPATH += $$PWD /usr/include/SDL | ||||
DEFINES += BSP="\"\\\"$$BSP"\\\"\" | ||||
contains( TEMPLATE, app ) { | ||||
OBJECTS_DIR=obj-$$UCMODEL | ||||
DESTDIR=bin-$$UCMODEL | ||||
r71 | LIBS += -L$$[QT_INSTALL_PREFIX]/bsp/lib/$$BSP -lbsp | |||
LIBS += -L$$[QT_INSTALL_LIBS]/$$UCMODEL | ||||
LIBS += -lSDLCD -lSDL -lz -lcpu -lcore -lm -lc | ||||
r65 | SOURCES +=$$[QT_INSTALL_PREFIX]/mkspecs/features/simulator/startup.c | |||
SOURCES +=$$[QT_INSTALL_PREFIX]/mkspecs/features/simulator/fs.c | ||||
r71 | #INCLUDEPATH+= $$[QT_INSTALL_PREFIX]/bsp/includes/$$BSP | |||
r65 | ||||
} | ||||
r71 | #contains( TEMPLATE, lib ) { | |||
# OBJECTS_DIR=obj-$$UCMODEL | ||||
# DESTDIR=bin-$$UCMODEL | ||||
# CONFIG+=staticlib | ||||
#} | ||||
r65 | ||||
r71 | #include(../../common/libuc2libs.conf) | |||
r65 | ||||
} | ||||