|
@@ -1,4 +1,10 @@
|
|
-idf_component_register(SRC_DIRS .
|
|
|
|
|
|
+idf_component_register(SRCS operator.cpp utf8.c
|
|
REQUIRES esp_common pthread
|
|
REQUIRES esp_common pthread
|
|
INCLUDE_DIRS .
|
|
INCLUDE_DIRS .
|
|
)
|
|
)
|
|
|
|
+
|
|
|
|
+#doing our own implementation of new operator for some pre-compiled binaries
|
|
|
|
+target_link_libraries(${COMPONENT_LIB} INTERFACE "-u _ZdlPv")
|
|
|
|
+target_link_libraries(${COMPONENT_LIB} INTERFACE "-u _Znwj")
|
|
|
|
+
|
|
|
|
+
|