Ignore:
Timestamp:
Jun 13, 2010 8:35:15 AM (9 years ago)
Author:
stefan
Message:

do not require CbcConfig?.h in example to decide whether sample or miplib3 is present - do this in makefile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/examples/Makefile.in

    r1464 r1468  
    4949
    5050# C++ Compiler options
    51 CXXFLAGS = @CXXFLAGS@ -DSAMPLEDIR=\"@SAMPLE_DATA@\" -DMIPLIB3DIR=\"@MIPLIB3_DATA@\"
     51CXXFLAGS = @CXXFLAGS@
     52@COIN_HAS_SAMPLE_TRUE@CXXFLAGS += -DSAMPLEDIR=\"@SAMPLE_DATA@\"
     53@COIN_HAS_SAMPLE_TRUE@CXXFLAGS += -DMIPLIB3DIR=\"@MIPLIB3_DATA@\"
    5254
    5355# C Compiler options
    54 CFLAGS = @CFLAGS@ -DSAMPLEDIR=\"@SAMPLE_DATA@\"
     56CFLAGS = @CFLAGS@
     57@COIN_HAS_SAMPLE_TRUE@CFLAGS += -DSAMPLEDIR=\"@SAMPLE_DATA@\"
    5558
    5659# additional C++ Compiler options for linking
Note: See TracChangeset for help on using the changeset viewer.