STM32CubePrgAPI.pro 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. #-------------------------------------------------
  2. #
  3. # Project created by QtCreator 2018-12-07T16:23:33
  4. #
  5. #-------------------------------------------------
  6. QT += core
  7. QT -= gui
  8. TARGET = STM32CubePrgAPI
  9. CONFIG += console
  10. CONFIG -= app_bundle
  11. TEMPLATE = app
  12. SOURCES += $$PWD/../../../src/CAN_Example.cpp \
  13. $$PWD/../../../src/I2C_Example.cpp \
  14. $$PWD/../../../src/SPI_Example.cpp \
  15. $$PWD/../../../src/UART_Example.cpp \
  16. $$PWD/../../../src/USB_Example.cpp \
  17. $$PWD/../../../src/Example1.cpp \
  18. $$PWD/../../../src/Example2.cpp \
  19. $$PWD/../../../src/Example3.cpp \
  20. $$PWD/../../../src/DisplayManager.cpp \
  21. $$PWD/../../../src/main.cpp
  22. HEADERS += $$PWD/../../../include/CAN_Example.h \
  23. $$PWD/../../../include/CubeProgrammer_API.h \
  24. $$PWD/../../../include/DeviceDataStructure.h \
  25. $$PWD/../../../include/DisplayManager.h \
  26. $$PWD/../../../include/Example1.h \
  27. $$PWD/../../../include/Example2.h \
  28. $$PWD/../../../include/Example3.h \
  29. $$PWD/../../../include/I2C_Example.h \
  30. $$PWD/../../../include/SPI_Example.h \
  31. $$PWD/../../../include/UART_Example.h \
  32. $$PWD/../../../include/USB_Example.h \
  33. INCLUDEPATH += "$$PWD/../../../include"
  34. win32 {
  35. DESTDIR = "$$PWD/../../../lib/"
  36. LIBS += -L$$PWD/../../../lib/ -lCubeProgrammer_API
  37. }
  38. unix {
  39. DESTDIR = "$$PWD/../../../../bin/"
  40. LIBS += -L$$PWD/../../../../lib/ -lCubeProgrammer_API
  41. QMAKE_LFLAGS += '-Wl,-rpath,\'\$$ORIGIN/.\''
  42. QMAKE_LFLAGS += '-Wl,-rpath,\'\$$ORIGIN/../lib\''
  43. }
  44. macx{
  45. DESTDIR = "$$PWD/../../../../bin"
  46. LIBS += -L$$PWD/../../../../bin/ -lCubeProgrammer_API
  47. QMAKE_RPATHDIR += $$PWD/../../../../bin
  48. }