CMakeLists.txt 345 B

123456789101112
  1. cmake_minimum_required(VERSION 3.5)
  2. set(CMAKE_CXX_STANDARD 14)
  3. project(opencl_prototype)
  4. file(GLOB_RECURSE opencl_prototype_SOURCES "src/*.cpp")
  5. file(GLOB_RECURSE opencl_prototype_HEADERS "include/*.hpp")
  6. include_directories(include)
  7. add_executable(opencl_prototype ${opencl_prototype_SOURCES})
  8. target_link_libraries(opencl_prototype OpenCL)