Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
a0aef244
Commit
a0aef244
authored
Aug 20, 2012
by
Vladislav Vinogradov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed perf_gpu_cpu from CMake scripts
parent
a507d564
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
1 addition
and
43 deletions
+1
-43
OpenCVModule.cmake
cmake/OpenCVModule.cmake
+0
-2
CMakeLists.txt
modules/gpu/CMakeLists.txt
+0
-40
perf_precomp.hpp
modules/gpu/perf/perf_precomp.hpp
+1
-1
utility.cpp
modules/gpu/perf/utility.cpp
+0
-0
utility.hpp
modules/gpu/perf/utility.hpp
+0
-0
test_precomp.cpp
modules/gpu/test/test_precomp.cpp
+0
-0
test_precomp.hpp
modules/gpu/test/test_precomp.hpp
+0
-0
No files found.
cmake/OpenCVModule.cmake
View file @
a0aef244
...
...
@@ -509,8 +509,6 @@ endmacro()
macro
(
ocv_add_precompiled_headers the_target
)
if
(
"
${
the_target
}
"
MATCHES
"^opencv_test_.*$"
)
SET
(
pch_path
"test/test_"
)
elseif
(
"
${
the_target
}
"
MATCHES
"opencv_perf_gpu_cpu"
)
SET
(
pch_path
"perf_cpu/perf_cpu_"
)
elseif
(
"
${
the_target
}
"
MATCHES
"^opencv_perf_.*$"
)
SET
(
pch_path
"perf/perf_"
)
else
()
...
...
modules/gpu/CMakeLists.txt
View file @
a0aef244
...
...
@@ -111,43 +111,3 @@ ocv_add_accuracy_tests(FILES "Include" ${test_hdrs}
FILES
"Src"
${
test_srcs
}
${
nvidia
}
)
ocv_add_perf_tests
()
set
(
perf_cpu_path
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/perf_cpu"
)
if
(
BUILD_PERF_TESTS AND EXISTS
"
${
perf_cpu_path
}
"
)
# opencv_highgui is required for imread/imwrite
set
(
perf_deps
${
the_module
}
opencv_ts opencv_highgui opencv_imgproc opencv_calib3d opencv_objdetect opencv_video opencv_nonfree
)
ocv_check_dependencies
(
${
perf_deps
}
)
if
(
OCV_DEPENDENCIES_FOUND
)
set
(
the_target
"opencv_perf_gpu_cpu"
)
ocv_module_include_directories
(
${
perf_deps
}
"
${
perf_cpu_path
}
"
)
if
(
NOT OPENCV_PERF_
${
the_module
}
_CPU_SOURCES
)
file
(
GLOB perf_srcs
"
${
perf_cpu_path
}
/*.cpp"
)
file
(
GLOB perf_hdrs
"
${
perf_cpu_path
}
/*.hpp"
"
${
perf_cpu_path
}
/*.h"
)
source_group
(
"Src"
FILES
${
perf_srcs
}
)
source_group
(
"Include"
FILES
${
perf_hdrs
}
)
set
(
OPENCV_PERF_
${
the_module
}
_CPU_SOURCES
${
perf_srcs
}
${
perf_hdrs
}
)
endif
()
add_executable
(
${
the_target
}
${
OPENCV_PERF_
${
the_module
}
_CPU_SOURCES
}
)
target_link_libraries
(
${
the_target
}
${
OPENCV_MODULE_
${
the_module
}
_DEPS
}
${
perf_deps
}
${
OPENCV_LINKER_LIBS
}
)
# Additional target properties
set_target_properties
(
${
the_target
}
PROPERTIES
DEBUG_POSTFIX
"
${
OPENCV_DEBUG_POSTFIX
}
"
RUNTIME_OUTPUT_DIRECTORY
"
${
EXECUTABLE_OUTPUT_PATH
}
"
)
if
(
ENABLE_SOLUTION_FOLDERS
)
set_target_properties
(
${
the_target
}
PROPERTIES FOLDER
"tests performance"
)
endif
()
ocv_add_precompiled_headers
(
${
the_target
}
)
else
(
OCV_DEPENDENCIES_FOUND
)
#TODO: warn about unsatisfied dependencies
endif
(
OCV_DEPENDENCIES_FOUND
)
endif
()
modules/gpu/perf/perf_precomp.hpp
View file @
a0aef244
...
...
@@ -27,7 +27,7 @@
#include "opencv2/nonfree/nonfree.hpp"
#include "opencv2/legacy/legacy.hpp"
#include "
perf_
utility.hpp"
#include "utility.hpp"
#ifdef GTEST_CREATE_SHARED_LIBRARY
#error no modules except ts should have GTEST_CREATE_SHARED_LIBRARY defined
...
...
modules/gpu/perf/
perf_
utility.cpp
→
modules/gpu/perf/utility.cpp
View file @
a0aef244
File moved
modules/gpu/perf/
perf_
utility.hpp
→
modules/gpu/perf/utility.hpp
View file @
a0aef244
File moved
modules/gpu/test/precomp.cpp
→
modules/gpu/test/
test_
precomp.cpp
View file @
a0aef244
File moved
modules/gpu/test/precomp.hpp
→
modules/gpu/test/
test_
precomp.hpp
View file @
a0aef244
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment