[haiku-bugs] Re: [Haiku] #12595: Create a symlink to the cppunit library
- From: "bonefish" <trac@xxxxxxxxxxxx>
- Date: Sun, 17 Jan 2016 10:30:32 -0000
#12595: Create a symlink to the cppunit library
----------------------------+----------------------------
Reporter: Max-Might | Owner: bonefish
Type: bug | Status: closed
Priority: normal | Milestone: Unscheduled
Component: Build System | Version: R1/Development
Resolution: fixed | Keywords:
Blocked By: | Blocking:
Has a Patch: 1 | Platform: All
----------------------------+----------------------------
Comment (by bonefish):
Replying to [comment:3 Max-Might]:
But UnitTestsLib adds a dependency to libcppunit.so and it confuses jam.
Good point, I missed that. Symlinks have the problem that they never are
never updated and thus e.g. ignorant to `DEBUG` level changes. I usually
prefer explicit installing when preparing "execution environments" (e.g.
[
http://cgit.haiku-
os.org/haiku/tree/src/tests/Jamfile?id=bb0ca427dfb92ec6c7cf93389e05e3b4d8a050e8#n19])
-- this also provides convenient pseudo targets that just build an prepare
everything. Not sure why the unit test stuff works differently. Possibly
it's just very old and didn't receive much consideration when the build
system was restructured later on.
--
Ticket URL: <
https://dev.haiku-os.org/ticket/12595#comment:5>
Haiku <
https://dev.haiku-os.org>
Haiku - the operating system.
Other related posts: