view src/vigra-test.cpp @ 3609:360eff7d9c06

texinfo: compile native info when native target. * src/mingw-texinfo-1-fixes.patch: define sleep in mingw. * src/texinfo.mk: only build tools libs for cross build ginfo when doing cross build.
author John Donoghue
date Mon, 09 Jun 2014 08:11:22 -0400
parents 14b3f5ea78ae
children
line wrap: on
line source

/*
 * This file is part of MXE.
 * See index.html for further information.
 */

#include <string>
#include <iostream>
#include <vigra/imageinfo.hxx>

using namespace vigra;

int main(int argc, char *argv[])
{
    std::string formats = vigra::impexListFormats();

    std::cout << "Supported formats: " << formats << std::endl;

    return formats.length() > 0;
}