improve player spawning and esp-idf compatibility

This commit is contained in:
p2r3
2025-08-17 02:58:25 +03:00
parent e24d07585f
commit ecad0d7a50
3 changed files with 79 additions and 8 deletions

8
src/CMakeLists.txt Normal file
View File

@@ -0,0 +1,8 @@
# This file is meant for use with ESP-IDF or PlatformIO.
# Compilation for other platforms must be done manually.
FILE(GLOB_RECURSE app_sources ${CMAKE_SOURCE_DIR}/src/*.*)
idf_component_register(SRCS ${app_sources}
PRIV_REQUIRES esp_wifi nvs_flash
INCLUDE_DIRS ".")