cmake: fix build of dnn tests with shared common code
authorAlexander Alekhin <alexander.a.alekhin@gmail.com>
Sun, 31 Mar 2019 08:51:09 +0000 (08:51 +0000)
committerAlexander Alekhin <alexander.a.alekhin@gmail.com>
Sun, 31 Mar 2019 08:52:25 +0000 (08:52 +0000)
commitfcb07c64f399a8237f4e5d3bc9083aa572d8c703
treead8461c8436cd21dd5d4d3ecd8d5ffa580971150
parent6316b3ed915c5e45f667e3a630b44023d5722746
cmake: fix build of dnn tests with shared common code

- don't share .cpp files (PCH support is broken)
modules/dnn/CMakeLists.txt
modules/dnn/perf/perf_common.cpp [new file with mode: 0644]
modules/dnn/test/test_common.cpp
modules/dnn/test/test_common.impl.hpp [new file with mode: 0644]