
add_library(thread OBJECT
    gateway.cc
    gmutex.cc
    thread_base.cc
)

target_include_directories(thread PUBLIC
    ${CMAKE_BINARY_DIR}/src/config
    ${CMAKE_SOURCE_DIR}/src/Base/misc
)

target_link_libraries(thread PUBLIC
	misc)

install(FILES
    gateway.hh
    gds_atomic.h
    gmutex.hh
    mt_queue.hh
    thread_base.hh
    DESTINATION include/gds-sigp
)
