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
ffa44fb1
Commit
ffa44fb1
authored
Jun 08, 2012
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed precompiled headers build on Linux
parent
47a4e877
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
OpenCVPCHSupport.cmake
cmake/OpenCVPCHSupport.cmake
+6
-0
ts.hpp
modules/ts/include/opencv2/ts/ts.hpp
+0
-3
No files found.
cmake/OpenCVPCHSupport.cmake
View file @
ffa44fb1
...
@@ -24,10 +24,12 @@ IF(CMAKE_COMPILER_IS_GNUCXX)
...
@@ -24,10 +24,12 @@ IF(CMAKE_COMPILER_IS_GNUCXX)
ENDIF
()
ENDIF
()
SET
(
_PCH_include_prefix
"-I"
)
SET
(
_PCH_include_prefix
"-I"
)
SET
(
_PCH_isystem_prefix
"-isystem"
)
ELSEIF
(
WIN32
)
ELSEIF
(
WIN32
)
SET
(
PCHSupport_FOUND TRUE
)
# for experimental msvc support
SET
(
PCHSupport_FOUND TRUE
)
# for experimental msvc support
SET
(
_PCH_include_prefix
"/I"
)
SET
(
_PCH_include_prefix
"/I"
)
SET
(
_PCH_isystem_prefix
"/I"
)
ELSE
()
ELSE
()
SET
(
PCHSupport_FOUND FALSE
)
SET
(
PCHSupport_FOUND FALSE
)
ENDIF
()
ENDIF
()
...
@@ -50,7 +52,11 @@ MACRO(_PCH_GET_COMPILE_FLAGS _out_compile_flags)
...
@@ -50,7 +52,11 @@ MACRO(_PCH_GET_COMPILE_FLAGS _out_compile_flags)
GET_DIRECTORY_PROPERTY
(
DIRINC INCLUDE_DIRECTORIES
)
GET_DIRECTORY_PROPERTY
(
DIRINC INCLUDE_DIRECTORIES
)
FOREACH
(
item
${
DIRINC
}
)
FOREACH
(
item
${
DIRINC
}
)
if
(
item MATCHES
"^
${
OpenCV_SOURCE_DIR
}
/modules/"
)
LIST
(
APPEND
${
_out_compile_flags
}
"
${
_PCH_include_prefix
}
\"
${
item
}
\"
"
)
LIST
(
APPEND
${
_out_compile_flags
}
"
${
_PCH_include_prefix
}
\"
${
item
}
\"
"
)
else
()
LIST
(
APPEND
${
_out_compile_flags
}
"
${
_PCH_isystem_prefix
}
\"
${
item
}
\"
"
)
endif
()
ENDFOREACH
(
item
)
ENDFOREACH
(
item
)
GET_DIRECTORY_PROPERTY
(
_directory_flags DEFINITIONS
)
GET_DIRECTORY_PROPERTY
(
_directory_flags DEFINITIONS
)
...
...
modules/ts/include/opencv2/ts/ts.hpp
View file @
ffa44fb1
...
@@ -41,9 +41,6 @@
...
@@ -41,9 +41,6 @@
#ifndef GTEST_USES_POSIX_RE
#ifndef GTEST_USES_POSIX_RE
# define GTEST_USES_POSIX_RE 0
# define GTEST_USES_POSIX_RE 0
#endif
#endif
// #ifdef __GNUC__
// # pragma GCC diagnostic ignored "-Wmissing-declarations"
// #endif
#include "opencv2/core/core.hpp"
#include "opencv2/core/core.hpp"
...
...
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