/opencl/oclfft

To get this branch, use:
bzr branch http://darksoft.org/webbzr/opencl/oclfft

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Matthias Vogelgesang
  • Date: 2011-01-31 09:18:47 UTC
  • Revision ID: git-v1:418c612a670678194837191e7c580047d8d58c28
Initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
cmake_minimum_required(VERSION 2.6)
 
2
 
 
3
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
 
4
 
 
5
find_package(OpenCL REQUIRED)
 
6
 
 
7
include_directories(${OPENCL_INCLUDE_DIRS})
 
8
 
 
9
add_library(oclfft STATIC 
 
10
    fft_execute.cpp
 
11
    fft_setup.cpp
 
12
    fft_kernelstring.cpp)
 
13
 
 
14
set(CMAKE_C_FLAGS "-std=c99")
 
15
 
 
16
add_executable(test-oclfft oclfft.c)
 
17
add_dependencies(test-oclfft oclfft)
 
18
target_link_libraries(test-oclfft oclfft ${OPENCL_LIBRARIES})