File tree Expand file tree Collapse file tree 2 files changed +1149
-0
lines changed
Expand file tree Collapse file tree 2 files changed +1149
-0
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ endif()
7171
7272option (DEBUG_SUPPORT "Debug plugin support" ON )
7373option (FS_SUPPORT "Filesystem plugin support" ON )
74+ option (IO_SUPPORT "IO plugin support" ON )
7475option (MATH_SUPPORT "Math plugin support" ON )
7576option (UBUS_SUPPORT "Ubus plugin support" ${DEFAULT_UBUS_SUPPORT} )
7677option (UCI_SUPPORT "UCI plugin support" ${DEFAULT_UCI_SUPPORT} )
@@ -163,6 +164,13 @@ if(FS_SUPPORT)
163164 target_link_options (fs_lib PRIVATE ${UCODE_MODULE_LINK_OPTIONS} )
164165endif ()
165166
167+ if (IO_SUPPORT)
168+ set (LIBRARIES ${LIBRARIES} io_lib)
169+ add_library (io_lib MODULE lib/io.c)
170+ set_target_properties (io_lib PROPERTIES OUTPUT_NAME io PREFIX "" )
171+ target_link_options (io_lib PRIVATE ${UCODE_MODULE_LINK_OPTIONS} )
172+ endif ()
173+
166174if (MATH_SUPPORT)
167175 set (LIBRARIES ${LIBRARIES} math_lib)
168176 add_library (math_lib MODULE lib/math.c)
You can’t perform that action at this time.
0 commit comments