
include_directories(${PROJECT_SOURCE_DIR})
include(MacroDefineModule)

get_filename_component(DIRNAME "${CMAKE_CURRENT_LIST_DIR}" NAME)
file(GLOB MADPY_EXCLUDE "${CMAKE_CURRENT_LIST_DIR}/py${DIRNAME}.cc")

DEFINE_MODULE(NAME mad.threading
    EXCLUDE ${MADPY_EXCLUDE}
    HEADER_EXT ".h;.hh"
    SOURCE_EXT ".cc;.cpp")
