cmake_minimum_required(VERSION 3.21)


project(Roughpy_Platform VERSION 0.0.1)

add_roughpy_component(Platform
    SOURCES
        src/configuration.cpp
#        src/threading/openmp_threading.cpp
        src/device.cpp
        src/cpu_device/CPUDevice.cpp
        src/cpu_device/CPUDevice.h
    PUBLIC_HEADERS
        include/roughpy/platform.h
        include/roughpy/platform/filesystem.h
        include/roughpy/platform/configuration.h
        include/roughpy/platform/serialization.h
        include/roughpy/platform/threads.h
        include/roughpy/platform/device.h
    PUBLIC_DEPS
        Boost::boost
        Boost::url
        Boost::disable_autolinking
        cereal::cereal
    NEEDS
        RoughPy::Core
    )
