if(NOT COMPONENT_TIMER_MANAGER_MK64F12_INCLUDED)
    
    set(COMPONENT_TIMER_MANAGER_MK64F12_INCLUDED true CACHE BOOL "component_timer_manager component is included.")

    target_sources(${MCUX_SDK_PROJECT_NAME} PRIVATE
        ${CMAKE_CURRENT_LIST_DIR}/fsl_component_timer_manager.c
    )


    target_include_directories(${MCUX_SDK_PROJECT_NAME} PRIVATE
        ${CMAKE_CURRENT_LIST_DIR}/.
    )


    #OR Logic component
    if(CONFIG_USE_component_tpm_adapter_MK64F12)
         include(component_tpm_adapter_MK64F12)
    endif()
    if(CONFIG_USE_component_ctimer_adapter_MK64F12)
         include(component_ctimer_adapter_MK64F12)
    endif()
    if(CONFIG_USE_component_ftm_adapter_MK64F12)
         include(component_ftm_adapter_MK64F12)
    endif()
    if(CONFIG_USE_component_gpt_adapter_MK64F12)
         include(component_gpt_adapter_MK64F12)
    endif()
    if(CONFIG_USE_component_lpit_adapter_MK64F12)
         include(component_lpit_adapter_MK64F12)
    endif()
    if(CONFIG_USE_component_lptmr_adapter_MK64F12)
         include(component_lptmr_adapter_MK64F12)
    endif()
    if(CONFIG_USE_component_mrt_adapter_MK64F12)
         include(component_mrt_adapter_MK64F12)
    endif()
    if(CONFIG_USE_component_pit_adapter_MK64F12)
         include(component_pit_adapter_MK64F12)
    endif()
    if(NOT (CONFIG_USE_component_tpm_adapter_MK64F12 OR CONFIG_USE_component_ctimer_adapter_MK64F12 OR CONFIG_USE_component_ftm_adapter_MK64F12 OR CONFIG_USE_component_gpt_adapter_MK64F12 OR CONFIG_USE_component_lpit_adapter_MK64F12 OR CONFIG_USE_component_lptmr_adapter_MK64F12 OR CONFIG_USE_component_mrt_adapter_MK64F12 OR CONFIG_USE_component_pit_adapter_MK64F12))
        message(WARNING "Since component_tpm_adapter_MK64F12/component_ctimer_adapter_MK64F12/component_ftm_adapter_MK64F12/component_gpt_adapter_MK64F12/component_lpit_adapter_MK64F12/component_lptmr_adapter_MK64F12/component_mrt_adapter_MK64F12/component_pit_adapter_MK64F12 is not included at first or config in config.cmake file, use component_tpm_adapter_MK64F12 by default.")
        include(component_tpm_adapter_MK64F12)
    endif()

    include(driver_common_MK64F12)

    include(component_lists_MK64F12)

endif()
