summaryrefslogtreecommitdiff
path: root/tests/projects/package/vcpkg_dependency/src/main.cpp
blob: 4955734dce7693e35878b6f9db78f7007211c5ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include <OpenColorIO/OpenColorIO.h>
#include <OpenImageIO/imageio.h>
#include <boost/system/error_code.hpp>
#include <boost/filesystem.hpp>

int main(int argc, char **argv) {
    // test for opencolorio, opencolorio is one of the dependencies of openimageio.
    auto transform = OCIO_NAMESPACE::ColorSpaceTransform::Create();

    // test for openimageio.
    auto write_image = OIIO::ImageInput::open("test.png");

    // test for boost-system, boost-system is one of the dependencies of boost-filesystem.
    boost::system::error_code ec;

    // test for boost-filesystem.
    boost::filesystem::exists("test.png", ec);

    return 0;
}