Skip to content

Commit c134525

Browse files
authored
Added CMakeLists.txt to include new demo
Add build configuration for models demo application
1 parent 2d84e0a commit c134525

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
set(OPENCV_SUPERRES_SAMPLE_REQUIRED_DEPS
2+
opencv_core
3+
opencv_imgproc
4+
opencv_dnn_superres
5+
opencv_highgui
6+
opencv_imgcodecs
7+
)
8+
9+
ocv_add_executable(dnn_superres
10+
dnn_superres.cpp
11+
)
12+
13+
ocv_add_executable(dnn_superres_benchmark
14+
dnn_superres_benchmark.cpp
15+
)
16+
17+
ocv_add_executable(dnn_superres_srgan_rdn_demo
18+
dnn_superres_srgan_rdn_demo.cpp
19+
)
20+
21+
ocv_target_link_libraries(dnn_superres
22+
${OPENCV_SUPERRES_SAMPLE_REQUIRED_DEPS}
23+
)
24+
25+
ocv_target_link_libraries(dnn_superres_benchmark
26+
${OPENCV_SUPERRES_SAMPLE_REQUIRED_DEPS}
27+
)
28+
29+
ocv_target_link_libraries(dnn_superres_srgan_rdn_demo
30+
${OPENCV_SUPERRES_SAMPLE_REQUIRED_DEPS}
31+
)

0 commit comments

Comments
 (0)