diff --git a/trunk/paradiseo-gpu/tutorial/QAP_CPU/application/CMakeLists.txt b/trunk/paradiseo-gpu/tutorial/QAP_CPU/application/CMakeLists.txt new file mode 100644 index 000000000..e15b9da21 --- /dev/null +++ b/trunk/paradiseo-gpu/tutorial/QAP_CPU/application/CMakeLists.txt @@ -0,0 +1,39 @@ +###################################################################################### +### 1) Include the sources +###################################################################################### + +INCLUDE_DIRECTORIES( + + # include CUDA source directory + ${GPU_SRC_DIR} + # include EO source directory + ${EO_SRC_DIR}/src + # include MO source directory + ${MO_SRC_DIR}/src + # include problems directory + ${PROBLEMS_SRC_DIR} + # include GPU directory + ${GPU_SRC_DIR}/src + # include your source directory + ${CMAKE_CURRENT_SOURCE_DIR}/../src + ) + +###################################################################################### + +###################################################################################### +### 2) Specify where CMake can find the libraries +###################################################################################### + +LINK_DIRECTORIES(${EO_BIN_DIR}/lib ${CUDA_DIR}/lib ) + +###################################################################################### + +###################################################################################### +### 3) Define your targets and link the librairies +###################################################################################### + +CUDA_ADD_EXECUTABLE(testSimpleTS_CPU testSimpleTS_CPU.cu) +CUDA_ADD_EXECUTABLE(testSimpleHC_CPU testSimpleHC_CPU.cu) + +TARGET_LINK_LIBRARIES(testSimpleTS_CPU eoutils ga eo) +TARGET_LINK_LIBRARIES(testSimpleHC_CPU eoutils ga eo) \ No newline at end of file