Blame view

tests/CMakeLists.txt 500 Bytes
86f177cf   Benjamin Renard   Lock system imple...
1
2
3
4

PROJECT(testParallel)

include_directories(
bab9407b   Benjamin Renard   DDClient is now a...
5
  ${DDCLIENTINCLUDE_DIR}
86f177cf   Benjamin Renard   Lock system imple...
6
7
8
9
10
11
12
13
14
)

#Configuration de l'exécutable
file(
        GLOB_RECURSE
        source_files
        ./*
)
  
dc1a467d   Benjamin Renard   Add executable to...
15
ADD_EXECUTABLE (testParallel testParallel.c )
86f177cf   Benjamin Renard   Lock system imple...
16
17
18
target_link_libraries(
  testParallel
  ${CMAKE_THREAD_LIBS_INIT}
bab9407b   Benjamin Renard   DDClient is now a...
19
  ${DDCLIENTLIBRARY}
86f177cf   Benjamin Renard   Lock system imple...
20
21
)

dc1a467d   Benjamin Renard   Add executable to...
22
23
24
25
26
27
28
29
ADD_EXECUTABLE (testGetData testGetData.c )
target_link_libraries(
  testGetData
  ${CMAKE_THREAD_LIBS_INIT}
  ${DDCLIENTLIBRARY}
)

install (TARGETS testParallel testGetData DESTINATION tests)