Changes between Version 1 and Version 2 of pm-source-make


Ignore:
Timestamp:
Jun 2, 2006 12:10:44 AM (14 years ago)
Author:
andreasw
Comment:

safety save (I hate Cntr-W for browers)

Legend:

Unmodified
Added
Removed
Modified
  • pm-source-make

    v1 v2  
    136136== Additional Flags ==
    137137
     138=== Include Directories ===
     139
     140{{{
     141########################################################################
     142#                            Additional flags                          #
     143########################################################################
     144
     145# Here list all include flags, relative to this "srcdir" directory.  This
     146# "cygpath" stuff is necessary to compile with native compilers on Windows.
     147AM_CPPFLAGS = \
     148        -I`$(CYGPATH_W) $(COINUTILSSRCDIR)/src`
     149}}}
     150
     151 * To specify the compiler flags for include directories for header files, one should use the '''AM_CPPFLAGS''' variable.  The '''CYGPATH_W''' in the given example might seem a bit cumbersome (and it is), but this is necessary to ensure that the code can also be compiled with native Windows compilers under Cygwin.  The {{{CYGPATH_W}}} variable is automatically set to "{{{cygpath -w}}}" on Cygwin, which translates the UNIX-style path to a proper Windows path.  On other platforms, it is simply set to "{{{echo}}}".
     152
     153 Note that one can also make use of the '''''PRJ''SRCDIR''' variables for the COIN projects.
     154
     155=== Additional Preprocessor Definitions ===
     156
     157{{{
     158# List additional defines
     159AM_CPPFLAGS += -DCOIN_NO_CLP_MESSAGE -DUSE_CBCCONFIG
     160}}}
     161
     162 * Additional "{{{-D}}}" preprocessor flags should also be added to the '''AM_CPPFLAGS''' variable.
     163
     164== Installation of Header Files ==
     165
     166{{{
     167########################################################################
     168#                Headers that need to be installed                     #
     169########################################################################
     170
     171# Here list all the header files that are required by a user of the library,
     172# and that therefore should be installed in 'install'
     173include_HEADERS = \
     174        ../inc/config_cbc.h \
     175        CbcBranchActual.hpp \
     176        CbcBranchBase.hpp \
     177        CbcBranchLotsize.hpp \
     178        CbcBranchCut.hpp \
     179        CbcCompareActual.hpp \
     180        CbcCompareBase.hpp \
     181        CbcCutGenerator.hpp \
     182        CbcEventHandler.hpp \
     183        CbcHeuristic.hpp \
     184        CbcHeuristicFPump.hpp \
     185        CbcHeuristicGreedy.hpp \
     186.
     187.
     188.
     189}}}
     190
     191 * In order to use a COIN library (which is written in C or C++), a user will need some of the header files in the source directories to compile her/his own code.  For this reason, we