[AD] c++ test.

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


i'm not sure if this is what you had in mind eric, but here's the c++ test program and a makefile patch for the mingw32 build serving as an example test implementation. for other builds you only need to edit one line. the test will simply try to compile an allegro c++ program and continue regardless of errors.

cpptest.cpp goes in "tests/" btw... for unix the test should be compiled only if AC_PROG_CXX succeeds. i am not sure how to do that but i bet one exports a makefile variable with AC_SUBST and go from there...

comments please!

--
One OS to rule them all,
one OS to find them,
one OS to bring them all
and in the darkness bind them.

Attachment: cpptest.diff.gz
Description: GNU Zip compressed data

Attachment: cpptest.cpp.gz
Description: GNU Zip compressed data



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/