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
be4251c1
Commit
be4251c1
authored
Jan 11, 2011
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed compile problems when Makefiles are used
parent
d2c2c07a
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
5 additions
and
5 deletions
+5
-5
OpenCVModule.cmake
OpenCVModule.cmake
+2
-2
precomp.cpp
modules/core/test/precomp.cpp
+0
-1
test_arithm.cpp
modules/core/test/test_arithm.cpp
+1
-1
test_main.cpp
modules/core/test/test_main.cpp
+1
-1
test_precomp.cpp
modules/core/test/test_precomp.cpp
+1
-0
test_precomp.hpp
modules/core/test/test_precomp.hpp
+0
-0
No files found.
OpenCVModule.cmake
View file @
be4251c1
...
...
@@ -106,10 +106,10 @@ macro(define_opencv_module name)
add_executable
(
${
the_target
}
${
test_srcs
}
${
test_hdrs
}
)
if
(
PCHSupport_FOUND
)
set
(
pch_header
${
CMAKE_CURRENT_SOURCE_DIR
}
/test/precomp.hpp
)
set
(
pch_header
${
CMAKE_CURRENT_SOURCE_DIR
}
/test/
test_
precomp.hpp
)
if
(
${
CMAKE_GENERATOR
}
MATCHES
"Visual*"
OR
${
CMAKE_GENERATOR
}
MATCHES
"Xcode*"
)
if
(
${
CMAKE_GENERATOR
}
MATCHES
"Visual*"
)
set
(
${
the_target
}
_pch
"test/precomp.cpp"
)
set
(
${
the_target
}
_pch
"test/
test_
precomp.cpp"
)
endif
()
add_native_precompiled_header
(
${
the_target
}
${
pch_header
}
)
elseif
(
CMAKE_COMPILER_IS_GNUCXX AND
${
CMAKE_GENERATOR
}
MATCHES
".*Makefiles"
)
...
...
modules/core/test/precomp.cpp
deleted
100644 → 0
View file @
d2c2c07a
#include "precomp.hpp"
modules/core/test/test_arithm.cpp
View file @
be4251c1
#include "precomp.hpp"
#include "
test_
precomp.hpp"
#include <iostream>
using
namespace
cv
;
...
...
modules/core/test/test_main.cpp
View file @
be4251c1
#include "precomp.hpp"
#include "
test_
precomp.hpp"
#include "opencv2/gtest/gtest_main.hpp"
modules/core/test/test_precomp.cpp
0 → 100644
View file @
be4251c1
#include "test_precomp.hpp"
modules/core/test/precomp.hpp
→
modules/core/test/
test_
precomp.hpp
View file @
be4251c1
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