Boost logo

Boost-Build :

Subject: [Boost-build] Define link libs (Debug or Release)
From: Renato Tegon Forti (re.tf_at_[hidden])
Date: 2012-04-17 07:32:51


lib system : : <name>boost_system <search>/3rdparty/Boost/1.46.1/lib
;

lib omp : : <name>gomp <search>/usr/lib/gcc/x86_64-linux-gnu/4.6.3
;

lib mysqlcppconn : : <name>mysqlcppconn <search>/usr/lib ;

 

# Debug

lib mylib_DEB : : <name> mylibd <search>/3rdparty;

 

#Release

lib mylib_REL : : <name> mylib <search>/3rdparty;

 

lib dts_cte_bhv : main.cpp

system

omp

mysqlcppconn

# HOW TO PUT LIBS HERE !

: :

<variant>debug

<variant>release

<cxxflags>-fopenmp

<include>/3rdparty/Poco/2011.1/20110110/Net/include/

<include>/3rdparty/Poco/2011.1/20110110/Foundation/include/

  ;

 

I ddi try this:

 

.

omp

mysqlcppconn

: :

<variant>debug : mylib_DEB

<variant>release : mylib_REL

<cxxflags>-fopenmp

.

 

But don't work! Any Idea!

 



Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk