# Copyright (c) 2007-2012 Hartmut Kaiser
# Copyright (c)      2011 Bryce Lelbach
#
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

set(root "${hpx_SOURCE_DIR}/hpx/components/iostreams")

add_definitions(-DHPX_IOSTREAMS_MODULE_EXPORTS)

if(HPX_DEFAULT_BUILD_TARGETS)
  add_hpx_component(iostreams
    FOLDER "Core/Components"
    HEADER_ROOT ${root}
    AUTOGLOB
    ESSENTIAL)
else()
  add_hpx_component(iostreams
    FOLDER "Core/Components"
    HEADER_ROOT ${root}
    AUTOGLOB)
endif()

add_hpx_pseudo_dependencies(components.iostreams
                            iostreams_component)

