1 # dummy driver for interface test
2 set(DUMMY_DRIVER_SRC src/dummy-compile.cpp)
3 set(DUMMY_V2_DRIVER_SRC src/dummyV2-compile.cpp)
4 set(HELP_DRIVER_SRC src/help-compile.cpp)
5 set(DUMMY_INFER_SRC src/dummy-infer.cpp)
6 set(DUMMY_INFER_V2_SRC src/dummy-inferV2.cpp)
7 set(HELP_INFER_SRC src/help-infer.cpp)
8 set(DUMMY_PROFILE_SRC src/dummy-profile.cpp)
9 set(DUMMY_V2_PROFILE_SRC src/dummyV2-profile.cpp)
10 set(DUMMY_V3_PROFILE_SRC src/dummyV3-profile.cpp)
11 set(HELP_PROFILE_SRC src/help-profile.cpp)
12 set(DUMMY_ENV_SRC src/dummyEnv-compile.cpp)
13 set(DUMMY_ONNX_EXT src/dummy-onnx-ext.cpp)
15 add_executable(dummy-compile ${DUMMY_DRIVER_SRC})
16 add_executable(dummyV2-compile ${DUMMY_V2_DRIVER_SRC})
17 add_executable(help-compile ${HELP_DRIVER_SRC})
18 add_executable(dummy-infer ${DUMMY_INFER_SRC})
19 add_executable(dummy-inferV2 ${DUMMY_INFER_V2_SRC})
20 add_executable(help-infer ${HELP_INFER_SRC})
21 add_executable(dummy-profile ${DUMMY_PROFILE_SRC})
22 add_executable(dummyV2-profile ${DUMMY_V2_PROFILE_SRC})
23 add_executable(dummyV3-profile ${DUMMY_V3_PROFILE_SRC})
24 add_executable(help-profile ${HELP_PROFILE_SRC})
25 add_executable(dummyEnv-compile ${DUMMY_ENV_SRC})
26 add_executable(dummy-onnx-ext ${DUMMY_ONNX_EXT})
28 set(DUMMY_DRIVER "${CMAKE_CURRENT_BINARY_DIR}/dummy-compile")
29 set(DUMMY_V2_DRIVER "${CMAKE_CURRENT_BINARY_DIR}/dummyV2-compile")
30 set(HELP_DRIVER "${CMAKE_CURRENT_BINARY_DIR}/help-compile")
31 set(DUMMY_INFER "${CMAKE_CURRENT_BINARY_DIR}/dummy-infer")
32 set(DUMMY_INFER_V2 "${CMAKE_CURRENT_BINARY_DIR}/dummy-inferV2")
33 set(HELP_INFER "${CMAKE_CURRENT_BINARY_DIR}/help-infer")
34 set(DUMMY_PROFILE "${CMAKE_CURRENT_BINARY_DIR}/dummy-profile")
35 set(DUMMY_V2_PROFILE "${CMAKE_CURRENT_BINARY_DIR}/dummyV2-profile")
36 set(DUMMY_V3_PROFILE "${CMAKE_CURRENT_BINARY_DIR}/dummyV3-profile")
37 set(HELP_PROFILE "${CMAKE_CURRENT_BINARY_DIR}/help-profile")
38 set(DUMMY_ENV "${CMAKE_CURRENT_BINARY_DIR}/dummyEnv-compile")
39 set(DUMMY_ONNX_EXT "${CMAKE_CURRENT_BINARY_DIR}/dummy-onnx-ext")
41 install(FILES ${DUMMY_DRIVER}
42 PERMISSIONS OWNER_WRITE OWNER_READ OWNER_EXECUTE
43 GROUP_READ GROUP_EXECUTE
44 WORLD_READ WORLD_EXECUTE
47 install(FILES ${DUMMY_V2_DRIVER}
48 PERMISSIONS OWNER_WRITE OWNER_READ OWNER_EXECUTE
49 GROUP_READ GROUP_EXECUTE
50 WORLD_READ WORLD_EXECUTE
53 install(FILES ${HELP_DRIVER}
54 PERMISSIONS OWNER_WRITE OWNER_READ OWNER_EXECUTE
55 GROUP_READ GROUP_EXECUTE
56 WORLD_READ WORLD_EXECUTE
59 install(FILES ${DUMMY_INFER}
60 PERMISSIONS OWNER_WRITE OWNER_READ OWNER_EXECUTE
61 GROUP_READ GROUP_EXECUTE
62 WORLD_READ WORLD_EXECUTE
65 install(FILES ${DUMMY_INFER_V2}
66 PERMISSIONS OWNER_WRITE OWNER_READ OWNER_EXECUTE
67 GROUP_READ GROUP_EXECUTE
68 WORLD_READ WORLD_EXECUTE
71 install(FILES ${HELP_INFER}
72 PERMISSIONS OWNER_WRITE OWNER_READ OWNER_EXECUTE
73 GROUP_READ GROUP_EXECUTE
74 WORLD_READ WORLD_EXECUTE
77 install(FILES ${DUMMY_PROFILE}
78 PERMISSIONS OWNER_WRITE OWNER_READ OWNER_EXECUTE
79 GROUP_READ GROUP_EXECUTE
80 WORLD_READ WORLD_EXECUTE
83 install(FILES ${DUMMY_V2_PROFILE}
84 PERMISSIONS OWNER_WRITE OWNER_READ OWNER_EXECUTE
85 GROUP_READ GROUP_EXECUTE
86 WORLD_READ WORLD_EXECUTE
89 install(FILES ${DUMMY_V3_PROFILE}
90 PERMISSIONS OWNER_WRITE OWNER_READ OWNER_EXECUTE
91 GROUP_READ GROUP_EXECUTE
92 WORLD_READ WORLD_EXECUTE
95 install(FILES ${HELP_PROFILE}
96 PERMISSIONS OWNER_WRITE OWNER_READ OWNER_EXECUTE
97 GROUP_READ GROUP_EXECUTE
98 WORLD_READ WORLD_EXECUTE
101 install(FILES ${DUMMY_ENV}
102 PERMISSIONS OWNER_WRITE OWNER_READ OWNER_EXECUTE
103 GROUP_READ GROUP_EXECUTE
104 WORLD_READ WORLD_EXECUTE
107 install(FILES ${DUMMY_ONNX_EXT}
108 PERMISSIONS OWNER_WRITE OWNER_READ OWNER_EXECUTE
109 GROUP_READ GROUP_EXECUTE
110 WORLD_READ WORLD_EXECUTE