2 # Author : Cedric.Bilat@he-arc.ch
5 ifndef __API_CUDA_BOOST_MK__
6 __API_CUDA_BOOST_MK__=true
8 ##########################################
10 ##########################################
13 #########################
15 #########################
23 ifeq ($(COMPILATEUR),VISUAL)
26 NVCCFLAGS+= -I${BOOST64_INC}
29 NVCCLDFLAGS+= -L${BOOST64_VISUAL_LIB_STATIC}
30 #NVCCLDFLAGS+= -L${BOOST64_VISUAL_LIB}
34 API_BIN+= ${BOOST64_VISUAL_BIN}
42 #########################
44 #########################
52 #instalation : sudo apt-get install libboost-all-dev
53 #NVCCFLAGS+= -L/usr/lib
58 #NVCCFLAGS+= -I/opt/boost/include
59 NVCCFLAGS+= -I$(subst :, -I,${BOOST_INC})
62 #NVCCLDFLAGS+= -L/opt/boost/gcc/lib
63 NVCCLDFLAGS+= -L$(subst :, -L,${BOOST_LIB})
64 NVCCLDFLAGS+= -l$(subst :, -l,${BOOST_LIBRARIES})
67 API_BIN+= ${BOOST_LIB}
73 ifeq ($(COMPILATEUR),g++)
84 #RPATH_LINK+=${BOOST_LIB}
89 ##########################################
91 ##########################################
93 endif#__API_CUDA_BOOST_MK__