Skip to content
Snippets Groups Projects
micropython.cmake 493 B
Newer Older
  • Learn to ignore specific revisions
  • q3k's avatar
    q3k committed
    # If you want to add dependencies on other ESP-IDF modules, add them to
    # IDF_COMPONENTS in main/CMakeLists, as main/ is the component that the
    # usermodules are actually part of.
    
    
    q3k's avatar
    q3k committed
    add_library(usermod_badge23 INTERFACE)
    
    target_sources(usermod_badge23 INTERFACE
        ${CMAKE_CURRENT_LIST_DIR}/mp_hardware.c
        ${CMAKE_CURRENT_LIST_DIR}/mp_synth.c
    )
    
    target_include_directories(usermod_badge23 INTERFACE
        ${CMAKE_CURRENT_LIST_DIR}
    )
    
    target_link_libraries(usermod INTERFACE usermod_badge23)