summaryrefslogtreecommitdiff
path: root/utests/CMakeLists.txt
blob: 4a54d2ab84c538e34628ecd53816b5a0b8a47e24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}
                    ${CMAKE_CURRENT_SOURCE_DIR}/../include)

ADD_LIBRARY(utests SHARED
            utest_error.c
            utest_helper.cpp
            utest_file_map.cpp
            utest_assert.cpp
            utest.cpp
            compiler_write_only.cpp
            compiler_copy_buffer.cpp
            compiler_copy_buffer_row.cpp)
TARGET_LINK_LIBRARIES(utests cl m)

ADD_EXECUTABLE(run utest_run.cpp)
TARGET_LINK_LIBRARIES(run utests)

ADD_EXECUTABLE(flat_address_space runtime_flat_address_space.cpp)
TARGET_LINK_LIBRARIES(flat_address_space utests)