[haiku-development] How to add a build target?

  • From: "Lee Mon" <strongleemon@xxxxxxxxxx>
  • To: "haiku-development" <haiku-development@xxxxxxxxxxxxx>
  • Date: Mon, 18 Mar 2019 02:14:26 +0300

Hello, I am trying to add a built target, I add my jamfile in
src/tests/kits/crypto:

SubDir HAIKU_TOP src tests kits crypto ;


SetSubDirSupportedPlatformsBeOSCompatible ;

AddSubDirSupportedPlatforms libbe_test ;


UnitTestLib libcryptotest.so :

       HashValidityTest.cpp


   : be [ TargetLibstdc++ ] [ TargetLibsupc++ ]

;

But I can't see it in the build logs. I also added
SubInclude HAIKU_TOP src tests kits crypto ;

into src/tests/kits/Jamfile.
I rebuilt the unittests target but the library doesn't appear and there are no 
errors in the build log.

When I am trying to build libcryptotest.so:

$JAM_EXEC -q -j2 libcryptotest.so
Starting build of type regular ... Skipping setjmp_test2.S test on non-x86 don't know how to make libcryptotest.so
...patience...
...found 1 target(s)...
...can't find 1 target(s)...

What do I miss?

Other related posts: