Initial import.
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1986 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
94f09db83e
commit
f1f07fe2a8
48 changed files with 6126 additions and 0 deletions
60
ParadisEO-GPU/tutoriel/OneMax/CMakeLists.txt
Normal file
60
ParadisEO-GPU/tutoriel/OneMax/CMakeLists.txt
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
###############################################################################
|
||||
##
|
||||
## CMakeLists file for OneMax Example/application
|
||||
##
|
||||
###############################################################################
|
||||
|
||||
|
||||
######################################################################################
|
||||
### 1) Include the sources
|
||||
######################################################################################
|
||||
|
||||
INCLUDE_DIRECTORIES(
|
||||
# include CUDA source directory
|
||||
${CUDA_SRC_DIR}
|
||||
# include NVIDIA source directory
|
||||
${NVIDIA_SRC_DIR}
|
||||
# include EO source directory
|
||||
${PARADISEO_EO_SRC_DIR}/src
|
||||
# include MO source directory
|
||||
${PARADISEO_MO_SRC_DIR}/src
|
||||
# include problems directory
|
||||
${PARADISEO_PROBLEMS_SRC_DIR}
|
||||
# include GPU directory
|
||||
${PARADISEO_GPU_SRC_DIR}
|
||||
# include your source directory
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/../src
|
||||
)
|
||||
|
||||
######################################################################################
|
||||
|
||||
######################################################################################
|
||||
### 2) Specify where CMake can find the libraries
|
||||
######################################################################################
|
||||
|
||||
LINK_DIRECTORIES(${PARADISEO_EO_BIN_DIR}/lib ${NVIDIA_LIB_DIR} ${CUDA_LIB_DIR} )
|
||||
|
||||
######################################################################################
|
||||
|
||||
######################################################################################
|
||||
### 3) Define your targets and link the librairies
|
||||
######################################################################################
|
||||
|
||||
#CUDA_ADD_EXECUTABLE(Cutest test.cu)
|
||||
CUDA_ADD_EXECUTABLE(CutestFirstImpr testFirstImpr.cu)
|
||||
CUDA_ADD_EXECUTABLE(CutestNeutralHC testNeutralHC.cu)
|
||||
CUDA_ADD_EXECUTABLE(CutestSimpleHC testSimpleHC.cu)
|
||||
CUDA_ADD_EXECUTABLE(CutestSimpleTS testSimpleTS.cu)
|
||||
CUDA_ADD_EXECUTABLE(CutestSimulatedAnnealing testSimulatedAnnealing.cu)
|
||||
CUDA_ADD_EXECUTABLE(CutestKswapHC testKswapHC.cu)
|
||||
|
||||
#TARGET_LINK_LIBRARIES(Cutest eoutils ga eo libcutil.a)
|
||||
TARGET_LINK_LIBRARIES(CutestFirstImpr eoutils ga eo libcutil.a)
|
||||
TARGET_LINK_LIBRARIES(CutestNeutralHC eoutils ga eo libcutil.a)
|
||||
TARGET_LINK_LIBRARIES(CutestSimpleHC eoutils ga eo libcutil.a)
|
||||
TARGET_LINK_LIBRARIES(CutestSimpleTS eoutils ga eo libcutil.a)
|
||||
TARGET_LINK_LIBRARIES(CutestSimulatedAnnealing eoutils ga eo libcutil.a)
|
||||
TARGET_LINK_LIBRARIES(CutestKswapHC eoutils ga eo libcutil.a)
|
||||
|
||||
|
||||
######################################################################################
|
||||
Loading…
Add table
Add a link
Reference in a new issue