git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2151 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
a66446f323
commit
3c71c76657
1 changed files with 12 additions and 11 deletions
|
|
@ -9,21 +9,22 @@
|
||||||
### 1) Include the sources
|
### 1) Include the sources
|
||||||
######################################################################################
|
######################################################################################
|
||||||
|
|
||||||
INCLUDE_DIRECTORIES(
|
INCLUDE_DIRECTORIES(
|
||||||
# include CUDA source directory
|
|
||||||
${CUDA_SRC_DIR}
|
# include CUDA source directory
|
||||||
|
${CUDA_SRC_DIR}
|
||||||
# include NVIDIA source directory
|
# include NVIDIA source directory
|
||||||
${NVIDIA_SRC_DIR}
|
${NVIDIA_SRC_DIR}
|
||||||
# include EO source directory
|
# include EO source directory
|
||||||
${PARADISEO_EO_SRC_DIR}/src
|
${PARADISEO_EO_SRC_DIR}/src
|
||||||
# include MO source directory
|
# include MO source directory
|
||||||
${PARADISEO_MO_SRC_DIR}/src
|
${PARADISEO_MO_SRC_DIR}/src
|
||||||
# include problems directory
|
# include problems directory
|
||||||
${PARADISEO_PROBLEMS_SRC_DIR}
|
${PARADISEO_PROBLEMS_SRC_DIR}
|
||||||
# include GPU directory
|
# include GPU directory
|
||||||
${PARADISEO_GPU_SRC_DIR}
|
${PARADISEO_GPU_SRC_DIR}
|
||||||
# include your source directory
|
# include your source directory
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/../src
|
${CMAKE_CURRENT_SOURCE_DIR}/../src
|
||||||
)
|
)
|
||||||
|
|
||||||
######################################################################################
|
######################################################################################
|
||||||
|
|
@ -40,10 +41,10 @@ LINK_DIRECTORIES(${PARADISEO_EO_BIN_DIR}/lib ${NVIDIA_LIB_DIR} ${CUDA_LIB_DIR}
|
||||||
######################################################################################
|
######################################################################################
|
||||||
|
|
||||||
SET (TEST_LIST
|
SET (TEST_LIST
|
||||||
t-memory
|
t-memory
|
||||||
t-moCudaBitVector
|
t-moCudaBitVector
|
||||||
t-moCudaIntVector
|
t-moCudaIntVector
|
||||||
t-moCudaBitNeighbor
|
t-moCudaBitNeighbor
|
||||||
t-OneMaxIncrEval
|
t-OneMaxIncrEval
|
||||||
t-EvalOneMax
|
t-EvalOneMax
|
||||||
# t-moCudaKswapNeighborhood
|
# t-moCudaKswapNeighborhood
|
||||||
|
|
@ -64,7 +65,7 @@ IF(ENABLE_CMAKE_TESTING)
|
||||||
|
|
||||||
# Link the librairies
|
# Link the librairies
|
||||||
FOREACH (test ${TEST_LIST})
|
FOREACH (test ${TEST_LIST})
|
||||||
TARGET_LINK_LIBRARIES(${test} ga es eoutils eo)
|
TARGET_LINK_LIBRARIES(${test} ga es eoutils eo ${cutil})
|
||||||
ENDFOREACH (test)
|
ENDFOREACH (test)
|
||||||
|
|
||||||
ENDIF(ENABLE_CMAKE_TESTING)
|
ENDIF(ENABLE_CMAKE_TESTING)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue