git-svn-id: svn://db.shs.com.ru/pip@686 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
31
esp32_component/esp-idf/components/pip/CMakeLists.txt
Normal file
31
esp32_component/esp-idf/components/pip/CMakeLists.txt
Normal file
@@ -0,0 +1,31 @@
|
||||
set(COMPONENT_SRCS "main.cpp" "pip/src_main/io_devices/piiodevice.cpp")
|
||||
set(COMPONENT_ADD_INCLUDEDIRS pip/src_main)
|
||||
list(APPEND COMPONENT_ADD_INCLUDEDIRS pip/src_main/auxiliary)
|
||||
list(APPEND COMPONENT_ADD_INCLUDEDIRS pip/src_main/code)
|
||||
list(APPEND COMPONENT_ADD_INCLUDEDIRS pip/src_main/console)
|
||||
list(APPEND COMPONENT_ADD_INCLUDEDIRS pip/src_main/containers)
|
||||
list(APPEND COMPONENT_ADD_INCLUDEDIRS pip/src_main/core)
|
||||
list(APPEND COMPONENT_ADD_INCLUDEDIRS pip/src_main/crypt)
|
||||
list(APPEND COMPONENT_ADD_INCLUDEDIRS pip/src_main/geo)
|
||||
list(APPEND COMPONENT_ADD_INCLUDEDIRS pip/src_main/io_devices)
|
||||
list(APPEND COMPONENT_ADD_INCLUDEDIRS pip/src_main/io_utils)
|
||||
list(APPEND COMPONENT_ADD_INCLUDEDIRS pip/src_main/math)
|
||||
list(APPEND COMPONENT_ADD_INCLUDEDIRS pip/src_main/opencl)
|
||||
list(APPEND COMPONENT_ADD_INCLUDEDIRS pip/src_main/resources)
|
||||
list(APPEND COMPONENT_ADD_INCLUDEDIRS pip/src_main/system)
|
||||
list(APPEND COMPONENT_ADD_INCLUDEDIRS pip/src_main/thread)
|
||||
set(COMPONENT_PRIV_REQUIRES pthread)
|
||||
register_component()
|
||||
set(PIP_FREERTOS ON)
|
||||
set(LIB OFF)
|
||||
include_directories(${IDF_INCLUDE_DIRECTORIES} ../newlib/platform_include ../libsodium/libsodium/src/libsodium/include ../libsodium/port_include)
|
||||
#message("IDF_COMPILE_DEFINITIONS = ${IDF_COMPILE_DEFINITIONS}")
|
||||
#message("IDF_INCLUDE_DIRECTORIES = ${IDF_INCLUDE_DIRECTORIES}")
|
||||
add_compile_options(${IDF_COMPILE_OPTIONS})
|
||||
add_compile_options(${IDF_CXX_COMPILE_OPTIONS})
|
||||
add_definitions(-DESP_PLATFORM)
|
||||
add_definitions(-DGCC_NOT_5_2_0=0)
|
||||
add_definitions(-DHAVE_CONFIG_H)
|
||||
add_subdirectory(pip)
|
||||
|
||||
target_link_libraries(${COMPONENT_TARGET} pip)
|
||||
2
esp32_component/esp-idf/components/pip/main.cpp
Normal file
2
esp32_component/esp-idf/components/pip/main.cpp
Normal file
@@ -0,0 +1,2 @@
|
||||
#include "pip.h"
|
||||
|
||||
Reference in New Issue
Block a user