MACRO(CREA_FIND_AND_USE_LIBRARIES)
-
+OPTION(DEBUG "Use debug libraries" ON)
#-----------------------------------------------------------------------------
# If one can invoke this macro then crea has already been found !!
# However if one whishes to link against crea and crea was built
#boost_date_time-vc71-mt-1_37
#message("creamacro find and use lib = ${Boost_SIGNALS_LIBRARY}")
- SET(BOOST_LIBRARIES
+ IF(DEBUG)
+ SET(BOOST_LIBRARIES
+ boost_signals-vc90-mt-gd-1_40
+ boost_filesystem-vc90-mt-gd-1_40
+ boost_date_time-vc90-mt-gd-1_40
+ #what about boost_thread? JPR
+ )
+ ELSE(NOT DEBUG)
+ SET(BOOST_LIBRARIES
boost_signals-vc90-mt-1_40
- boost_filesystem-vc90-mt-1_40
- boost_date_time-vc90-mt-1_40
-
- #what about boost_thread? JPR
- )
+ boost_filesystem-vc90-mt-1_40
+ boost_date_time-vc90-mt-1_40
+ )
+ ENDIF(DEBUG)
ENDIF(WIN32)
IF(NOT WIN32)
IF(APPLE)