added dependencies and build files (loosely inspired by Sebastian Dorda's love-native-android)

This commit is contained in:
Martin Felis
2013-12-05 17:58:37 +01:00
parent 9604528a96
commit 95a086a47f
3700 changed files with 1691119 additions and 0 deletions
@@ -0,0 +1,23 @@
#include <IL/devil_cpp_wrapper.hpp>
#include <iostream>
using namespace std;
int main(int argc, char **argv)
{
if (argc < 2) {
cout << "Please specify a filename." << endl;
return 1;
}
ilImage Image(argv[1]);
cout << Image.Width() << 'x' << Image.Height() << '@' << (ILuint)Image.Bpp() << endl;
ilEnable(IL_FILE_OVERWRITE);
Image.Save("test.tga");
return 0;
}