mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 03:30:34 +08:00
Merge pull request #1620 from SpecLad:record-build-type
This commit is contained in:
commit
7fb18a2311
@ -2965,6 +2965,16 @@ void printVersionInfo(bool useStdOut)
|
||||
if(useStdOut) std::cout << "Inner VCS version: " << ver << std::endl;
|
||||
}
|
||||
|
||||
const char * build_type =
|
||||
#ifdef _DEBUG
|
||||
"debug";
|
||||
#else
|
||||
"release";
|
||||
#endif
|
||||
|
||||
::testing::Test::RecordProperty("cv_build_type", build_type);
|
||||
if (useStdOut) std::cout << "Build type: " << build_type << std::endl;
|
||||
|
||||
const char* parallel_framework = currentParallelFramework();
|
||||
|
||||
if (parallel_framework) {
|
||||
|
Loading…
Reference in New Issue
Block a user