MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / create_module_cmakelists

Function create_module_cmakelists

Buildscripts/release-sdk.py:78–85  ·  view source on GitHub ↗
(module_name)

Source from the content-addressed store, hash-verified

76 ]
77
78def create_module_cmakelists(module_name):
79 return dedent(f'''
80 cmake_minimum_required(VERSION 3.20)
81 idf_component_register(
82 INCLUDE_DIRS "include"
83 )
84 add_prebuilt_library({module_name} "binary/lib{module_name}.a")
85 '''.format(module_name=module_name))
86
87def write_module_cmakelists(path, content):
88 with open(path, 'w') as f:

Callers 2

add_driverFunction · 0.85
add_moduleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected