能源管控程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

CMakeLists.txt 1.6 KiB

2 years ago
123456789101112131415161718192021222324252627282930313233343536373839
  1. # Uncompilable CMake File to enable project editing with CLion IDE
  2. cmake_minimum_required(VERSION 3.13)
  3. project(arduino-mqtt)
  4. include_directories(
  5. /Applications/Arduino.app/Contents/Java/hardware/arduino/avr/cores/arduino
  6. /Users/256dpi/Development/Arduino/libraries/Ethernet/src
  7. /Users/256dpi/Development/Arduino/libraries/WiFi101/src
  8. /Users/256dpi/Development/Arduino/libraries/MKRGSM/src
  9. /Applications/Arduino.app/Contents/Java/libraries/Bridge/src
  10. /Users/256dpi/Library/Arduino15/packages/esp8266/hardware/esp8266/2.3.0/libraries/ESP8266WiFi/src
  11. /Users/256dpi/Library/Arduino15/packages/esp32/libraries/WiFi/src
  12. /Users/256dpi/Library/Arduino15/packages/esp32/libraries/WiFiClientSecure/src
  13. src)
  14. include_directories(src/)
  15. set(CMAKE_CXX_FLAGS -std=c++11)
  16. set(SOURCE_FILES
  17. examples/AdafruitHuzzahESP8266/AdafruitHuzzahESP8266.ino
  18. examples/AdafruitHuzzahESP8266Secure/AdafruitHuzzahESP8266Secure.ino
  19. examples/ArduinoEthernetShield/ArduinoEthernetShield.ino
  20. examples/ArduinoMKRGSM1400/ArduinoMKRGSM1400.ino
  21. examples/ArduinoMKRGSM1400Secure/ArduinoMKRGSM1400Secure.ino
  22. examples/ArduinoWiFi101/ArduinoWiFi101.ino
  23. examples/ArduinoWiFi101Secure/ArduinoWiFi101Secure.ino
  24. examples/ArduinoWiFiShield/ArduinoWiFiShield.ino
  25. examples/ArduinoYun/ArduinoYun.ino
  26. examples/ArduinoYunSecure/ArduinoYunSecure.ino
  27. examples/ESP32DevelopmentBoard/ESP32DevelopmentBoard.ino
  28. examples/ESP32DevelopmentBoardSecure/ESP32DevelopmentBoardSecure.ino
  29. src/lwmqtt
  30. src/MQTT.h
  31. src/MQTTClient.h
  32. src/MQTTClient.cpp)
  33. add_executable(arduino-mqtt ${SOURCE_FILES})