Sat, 29 Jun 2024 13:33:57 +0200
Added some conditional version tests
74
cba50f7529d0
Version 0.3.8. Switched build system to idf.py
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
1 | # The following lines of boilerplate have to be in your project's CMakeLists |
cba50f7529d0
Version 0.3.8. Switched build system to idf.py
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
2 | # in this exact order for cmake to work correctly |
129 | 3 | cmake_minimum_required(VERSION 3.16) |
4 | ||
5 | ||
6 | #find_package(EXPAT 2.6.2 MODULE REQUIRED) | |
7 | ||
8 | ||
136
89fc3c57282e
Reverted gpio_pad_select_gpio() calls, added the correct include. Starting the unit works better now. Reverted some other small changes. In some parts the controller is very slow, possible spiffs issue?
Michiel Broek <mbroek@mbse.eu>
parents:
129
diff
changeset
|
9 | set(PROJECT_VER "0.4.0") |
74
cba50f7529d0
Version 0.3.8. Switched build system to idf.py
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
10 | set(PROJECT_NAME "brewboard") |
cba50f7529d0
Version 0.3.8. Switched build system to idf.py
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
11 | |
129 | 12 | |
13 | #target_link_libraries(brewboard PUBLIC expat::expat) | |
14 | ||
15 | set(EXTRA_COMPONENT_DIRS components/esp32-ds18b20 components/esp32-owb components/PID components/spidriver components/tft components/websocket) | |
74
cba50f7529d0
Version 0.3.8. Switched build system to idf.py
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
16 | include($ENV{IDF_PATH}/tools/cmake/project.cmake) |
cba50f7529d0
Version 0.3.8. Switched build system to idf.py
Michiel Broek <mbroek@mbse.eu>
parents:
diff
changeset
|
17 | project(brewboard) |