forked from STEllAR-GROUP/hpxla
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
31 lines (24 loc) · 927 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright (c) 2012 Bryce Adelstein-Lelbach
#
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
set(non_hpx_tests
std_complex_cblas_compatibility
local_matrix
local_matrix_view
local_blas_level_1
local_blas_level_2
local_blas_level_3
)
foreach(test ${non_hpx_tests})
add_hpx_executable(${test}_test SOURCES ${test}.cpp
DEPENDENCIES ${BLAS_LIBRARY} NOLIBS)
set_target_properties(${test}_test_exe PROPERTIES
COMPILE_FLAGS -DHPXLA_NO_LIBHPX)
# Add a custom target for this example.
add_hpx_pseudo_target(tests.${test})
# Make pseudo-targets depend on master pseudo-target.
add_hpx_pseudo_dependencies(tests tests.${test})
# Add dependencies to pseudo-target.
add_hpx_pseudo_dependencies(tests.${test} ${test}_test_exe)
endforeach()