Statistics
| Branch: | Revision:

root / tests / CMakeLists.txt @ 9f38e25a

History | View | Annotate | Download (2.5 kB)

1
# Copyright 2014 GRNET S.A. All rights reserved.
2
#
3
# Redistribution and use in source and binary forms, with or
4
# without modification, are permitted provided that the following
5
# conditions are met:
6
#
7
#   1. Redistributions of source code must retain the above
8
#      copyright notice, this list of conditions and the following
9
#      disclaimer.
10
#
11
#   2. Redistributions in binary form must reproduce the above
12
#      copyright notice, this list of conditions and the following
13
#      disclaimer in the documentation and/or other materials
14
#      provided with the distribution.
15
#
16
# THIS SOFTWARE IS PROVIDED BY GRNET S.A. ``AS IS'' AND ANY EXPRESS
17
# OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
19
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL GRNET S.A OR
20
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
23
# USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
24
# AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
26
# ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27
# POSSIBILITY OF SUCH DAMAGE.
28
#
29
# The views and conclusions contained in the software and
30
# documentation are those of the authors and should not be
31
# interpreted as representing official policies, either expressed
32
# or implied, of GRNET S.A.
33

    
34
cmake_minimum_required(VERSION 2.8)
35

    
36
project (xseg_tests)
37

    
38
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../src/include)
39
include_directories(${CMAKE_CURRENT_BINARY_DIR}/../src/include)
40

    
41
add_executable(xbinheap_test xbinheap_test.c)
42
target_link_libraries(xbinheap_test xseg)
43

    
44
add_executable(xcache_test xcache_test.c)
45
target_link_libraries(xcache_test xseg)
46

    
47
add_executable(xhash_test xhash_test.c)
48
target_link_libraries(xhash_test xseg)
49

    
50
add_executable(xheap_test xheap_test.c)
51
target_link_libraries(xheap_test xseg)
52

    
53
#add_executable(xpool_test xpool_test.c)
54
#target_link_libraries(xpool_test xseg)
55

    
56
add_executable(xobj_test xobj_test.c)
57
target_link_libraries(xobj_test xseg)
58

    
59
add_executable(xworkq_test xworkq_test.c)
60
target_link_libraries(xworkq_test xseg)
61

    
62
add_executable(xwaitq_test xwaitq_test.c)
63
target_link_libraries(xwaitq_test xseg)
64

    
65
add_executable(xq_test xq_test.c)
66
target_link_libraries(xq_test xseg m)
67

    
68
add_executable(xq_lock_test xq_lock_test.c)
69
target_link_libraries(xq_lock_test xseg m)