Opened 14 years ago

Closed 10 years ago

#15 closed enhancement (fixed)

building own local projects incorporting setting from the configure magi

Reported by: sdv Owned by: andreasw
Priority: minor Component: component1
Version: Keywords:



it would be nice, if users that start new projects would have a way to incorporate the findings of the configure-magic in their make-file; thereby achieving some plattform-independence.

It used to be the case, that by including Coin/Makefiles/Make?.location and .../Make.coin, one had access to the main-ingredience of the coin-configuration. Something similar would be desireable. Maybe:

a) a way to utilize the configure.cache (with an example how to do so)


b) putting somewhere a that would automatically for user-inclusion provide the old Makefile.location (maybe with some additional settings: like which compiler/linker to call; which global options where choosen etc.

best regards, sven

Change History (3)

comment:1 Changed 14 years ago by andreasw

  • Status changed from new to assigned

comment:2 Changed 14 years ago by andreasw

I have been quite bad about this ticket. This is a legitimate request...

A workaround for now is that one can do the follwing:

Assume that Makefile that one wants to generate is in /u/me/GreatCode/Makefile[.in]. Then in the project's subdirectory (VPATH location) do

cp /u/me/GreatCode/ .
./config.status Makefile
mv Makefile /u/me/GreatCode/Makefile
./config.status Makefile

At least I think this will work. This could easily be put into a script.

comment:3 Changed 10 years ago by stefan

  • Resolution set to fixed
  • Status changed from assigned to closed

Projects based on BuildTools >= 0.6 now create .pc files. They should contain all information needed to link against COIN-OR projects.

Note: See TracTickets for help on using tickets.