I need to specify a build dependency for a library, an executable or a unit test that is a plugin.
This plugin is an .so library but I do not want it to link with the target that is being built, I just want it to compile a new version if there was a change. Maybe I'm doing something wrong here...

ex.:

unit-test my_tests
    :
      $(test_sources)
      /base/foo//foo
      $(PLUGIN_LIST) # I want this to be rebuilt if needed, but I do not want it to link - in this variable are contained the target names in the form /base/$(target_name)//$(target_name)
      $(PROJECT_ROOT)//boost_thread
      $(PROJECT_ROOT)//boost_date_time
      $(PROJECT_ROOT)//dl
    :
  ;

--

Sébastien Fortier