Changeset 2203


Ignore:
Timestamp:
Apr 16, 2011 2:36:34 PM (10 years ago)
Author:
stefan
Message:

add -DPROJECTNAME_BUILD to C/C++ compiler flags

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/coin.m4

    r2165 r2203  
    541541esac
    542542
     543# add -DPROJECT_BUILD to signal compiler preprocessor which config header file to include
     544if test x$COIN_PRJCT != x; then
     545  CXXFLAGS="$CXXFLAGS -D${COIN_PRJCT}_BUILD"
     546fi
     547
    543548# Try if CXXFLAGS works
    544549save_CXXFLAGS="$CXXFLAGS"
     
    925930    fi ;;
    926931esac
     932
     933# add -DPROJECT_BUILD to signal compiler preprocessor which config header file to include
     934if test x$COIN_PRJCT != x; then
     935  CFLAGS="$CFLAGS -D${COIN_PRJCT}_BUILD"
     936fi
    927937
    928938# Try if CFLAGS works
Note: See TracChangeset for help on using the changeset viewer.