Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
model-checker : remove dead file
[simgrid.git] / examples / msg / mc / CMakeLists.txt
1 cmake_minimum_required(VERSION 2.6)
2
3 if(HAVE_MC)
4   set(EXECUTABLE_OUTPUT_PATH "${CMAKE_CURRENT_BINARY_DIR}")
5
6   file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/chord/")
7
8   add_executable(centralized centralized_mutex.c)
9   add_executable(bugged1     bugged1.c)
10   add_executable(bugged2      bugged2.c)
11   add_executable(bugged3           bugged3.c)
12   add_executable(electric_fence    electric_fence.c)
13   add_executable(bugged1_liveness bugged1_liveness.c)
14   add_executable(bugged2_liveness bugged2_liveness.c)
15   add_executable(chord/chord chord/chord.c)
16
17   target_link_libraries(centralized simgrid )
18   target_link_libraries(bugged1     simgrid )
19   target_link_libraries(bugged2     simgrid )
20   target_link_libraries(bugged3     simgrid )
21   target_link_libraries(electric_fence     simgrid )
22   target_link_libraries(bugged1_liveness     simgrid )
23   target_link_libraries(bugged2_liveness     simgrid )
24   target_link_libraries(chord/chord     simgrid )
25
26 endif()
27
28 set(tesh_files
29   ${tesh_files}
30   ${CMAKE_CURRENT_SOURCE_DIR}/bugged1.tesh
31   ${CMAKE_CURRENT_SOURCE_DIR}/bugged2.tesh
32   ${CMAKE_CURRENT_SOURCE_DIR}/bugged1_liveness.tesh
33   ${CMAKE_CURRENT_SOURCE_DIR}/centralized.tesh
34   ${CMAKE_CURRENT_SOURCE_DIR}/chord/chord_neverjoin.tesh 
35   ${CMAKE_CURRENT_SOURCE_DIR}/chord/chord_neverjoin_timeout_visited.tesh 
36   PARENT_SCOPE
37   )
38 set(xml_files
39   ${xml_files}
40   ${CMAKE_CURRENT_SOURCE_DIR}/deploy_bugged1_liveness.xml
41   ${CMAKE_CURRENT_SOURCE_DIR}/deploy_bugged1.xml
42   ${CMAKE_CURRENT_SOURCE_DIR}/deploy_bugged2_liveness.xml
43   ${CMAKE_CURRENT_SOURCE_DIR}/deploy_bugged2.xml
44   ${CMAKE_CURRENT_SOURCE_DIR}/deploy_bugged3.xml
45   ${CMAKE_CURRENT_SOURCE_DIR}/deploy_electric_fence.xml
46   ${CMAKE_CURRENT_SOURCE_DIR}/deploy_mutex.xml
47   ${CMAKE_CURRENT_SOURCE_DIR}/platform.xml
48   ${CMAKE_CURRENT_SOURCE_DIR}/chord/deploy_chord4.xml
49   PARENT_SCOPE
50   )
51 set(examples_src
52   ${examples_src}
53   ${CMAKE_CURRENT_SOURCE_DIR}/bugged1.c
54   ${CMAKE_CURRENT_SOURCE_DIR}/bugged1_liveness.c
55   ${CMAKE_CURRENT_SOURCE_DIR}/bugged2.c
56   ${CMAKE_CURRENT_SOURCE_DIR}/bugged2_liveness.c
57   ${CMAKE_CURRENT_SOURCE_DIR}/bugged3.c
58   ${CMAKE_CURRENT_SOURCE_DIR}/electric_fence.c
59   ${CMAKE_CURRENT_SOURCE_DIR}/centralized_mutex.c
60   ${CMAKE_CURRENT_SOURCE_DIR}/bugged1_liveness.h
61   ${CMAKE_CURRENT_SOURCE_DIR}/bugged2_liveness.h
62   ${CMAKE_CURRENT_SOURCE_DIR}/chord/chord.c
63   PARENT_SCOPE
64   )
65 set(bin_files
66   ${bin_files}
67   ${CMAKE_CURRENT_SOURCE_DIR}/parse_dwarf
68   ${CMAKE_CURRENT_SOURCE_DIR}/promela_bugged1_liveness
69   ${CMAKE_CURRENT_SOURCE_DIR}/promela_bugged2_liveness
70   PARENT_SCOPE
71   )
72 set(txt_files
73   ${txt_files}
74   PARENT_SCOPE
75   )