xref: /haiku/src/tests/add-ons/translators/Jamfile (revision 5ffbe7d778424c9c59f00b37a3baff5c4c648790)
1SubDir HAIKU_TOP src tests add-ons translators ;
2
3AddSubDirSupportedPlatforms libbe_test ;
4
5local libtranslation = translation ;
6
7# Let Jam know where to find some of our source files
8SEARCH_SOURCE += [ FDirName $(SUBDIR) bmptranslator ] ;
9SEARCH_SOURCE += [ FDirName $(SUBDIR) pngtranslator ] ;
10SEARCH_SOURCE += [ FDirName $(SUBDIR) stxttranslator ] ;
11SEARCH_SOURCE += [ FDirName $(SUBDIR) tgatranslator ] ;
12SEARCH_SOURCE += [ FDirName $(SUBDIR) tifftranslator ] ;
13
14if $(TARGET_PLATFORM) = libbe_test {
15	UsePublicHeaders translation ;
16	libtranslation = <tests!unittests>libtranslation.so ;
17}
18
19UnitTestLib libtranslatorstest.so
20	: TranslatorTestAddOn.cpp
21		BMPTranslatorTest.cpp
22		PNGTranslatorTest.cpp
23		STXTTranslatorTest.cpp
24		TGATranslatorTest.cpp
25		TIFFTranslatorTest.cpp
26	: $(libtranslation) be [ TargetLibstdc++ ]
27;
28
29SubInclude HAIKU_TOP src tests add-ons translators exif ;
30