[BuildTools-tickets] [BuildTools] #9: tried various ways to add -D defines to project -- all seem to fail

BuildTools coin-trac at coin-or.org
Mon Jul 3 18:25:48 EDT 2006


#9: tried various ways to add -D defines to project -- all seem to fail
------------------------------+---------------------------------------------
 Reporter:  kingaj            |       Owner:  somebody
     Type:  defect            |      Status:  new     
 Priority:  blocker           |   Milestone:          
Component:  component1        |     Version:          
 Keywords:  CXXDEFS for COIN  |  
------------------------------+---------------------------------------------
 How does one pass in a define statement "-DMYDEF=XX" into a project
 compilation?

 Here are the various ways I tried to do this:
 1) Modify test/Makefile.am -- all changes to this file seem to be
 completely ignored by configure.
 2) Define CXXDEFS in the environment as suggested in config.ac -- this is
 also completely ignored by configure.
 3) Modify coin.m4 so that CXXDEFS is included in DEFS -- this also seems
 to have failed.

-- 
Ticket URL: <https://projects.coin-or.org/BuildTools/ticket/9>
BuildTools <http://www.coin-or.org>
My example project


More information about the BuildTools-tickets mailing list