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
a8f27e4a
Commit
a8f27e4a
authored
Feb 21, 2012
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Information about cmake and build platform is added to the status report
parent
0630e701
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
2 deletions
+24
-2
CMakeLists.txt
CMakeLists.txt
+21
-2
android.toolchain.cmake
android/android.toolchain.cmake
+3
-0
No files found.
CMakeLists.txt
View file @
a8f27e4a
...
@@ -661,8 +661,26 @@ include(cmake/OpenCVGenConfig.cmake REQUIRED)
...
@@ -661,8 +661,26 @@ include(cmake/OpenCVGenConfig.cmake REQUIRED)
# Summary:
# Summary:
# ----------------------------------------------------------------------------
# ----------------------------------------------------------------------------
status
(
""
)
status
(
""
)
status
(
"General configuration for opencv
${
OPENCV_VERSION
}
====================================="
)
status
(
"General configuration for OpenCV
${
OPENCV_VERSION
}
====================================="
)
#build platform
status
(
""
)
status
(
" Platform:"
)
status
(
" Host:"
${
CMAKE_HOST_SYSTEM_NAME
}
${
CMAKE_HOST_SYSTEM_VERSION
}
${
CMAKE_HOST_SYSTEM_PROCESSOR
}
)
status
(
" Target:"
${
CMAKE_SYSTEM_NAME
}
${
CMAKE_SYSTEM_VERSION
}
${
CMAKE_SYSTEM_PROCESSOR
}
)
status
(
" CMake:"
${
CMAKE_VERSION
}
)
status
(
" CMake generator:"
${
CMAKE_GENERATOR
}
)
status
(
" CMake build tool:"
${
CMAKE_BUILD_TOOL
}
)
if
(
MSVC
)
status
(
" MSVC:"
${
MSVC_VERSION
}
)
endif
()
if
(
CMAKE_GENERATOR MATCHES Xcode
)
status
(
" Xcode:"
${
XCODE_VERSION
}
)
endif
()
# C/C++ options
status
(
""
)
status
(
""
)
status
(
" C++:"
)
status
(
" Built as dynamic libs?:"
BUILD_SHARED_LIBS THEN YES ELSE NO
)
status
(
" Built as dynamic libs?:"
BUILD_SHARED_LIBS THEN YES ELSE NO
)
status
(
" C++ Compiler:"
CMAKE_COMPILER THEN
"
${
CMAKE_COMPILER
}
"
ELSE
"
${
CMAKE_CXX_COMPILER
}
"
)
status
(
" C++ Compiler:"
CMAKE_COMPILER THEN
"
${
CMAKE_COMPILER
}
"
ELSE
"
${
CMAKE_CXX_COMPILER
}
"
)
status
(
" C++ flags (Release):"
${
CMAKE_CXX_FLAGS
}
${
CMAKE_CXX_FLAGS_RELEASE
}
)
status
(
" C++ flags (Release):"
${
CMAKE_CXX_FLAGS
}
${
CMAKE_CXX_FLAGS_RELEASE
}
)
...
@@ -675,6 +693,7 @@ else()
...
@@ -675,6 +693,7 @@ else()
status
(
" Linker flags (Debug):"
${
CMAKE_SHARED_LINKER_FLAGS
}
${
CMAKE_SHARED_LINKER_FLAGS_DEBUG
}
)
status
(
" Linker flags (Debug):"
${
CMAKE_SHARED_LINKER_FLAGS
}
${
CMAKE_SHARED_LINKER_FLAGS_DEBUG
}
)
endif
()
endif
()
# OpenCV modules
status
(
""
)
status
(
""
)
status
(
" OpenCV modules:"
)
status
(
" OpenCV modules:"
)
string
(
REPLACE
"opencv_"
""
OPENCV_MODULES_BUILD_ST
"
${
OPENCV_MODULES_BUILD
}
"
)
string
(
REPLACE
"opencv_"
""
OPENCV_MODULES_BUILD_ST
"
${
OPENCV_MODULES_BUILD
}
"
)
...
@@ -686,7 +705,7 @@ status(" Disabled by user:" OPENCV_MODULES_DISABLED_USER THEN ${OPENCV
...
@@ -686,7 +705,7 @@ status(" Disabled by user:" OPENCV_MODULES_DISABLED_USER THEN ${OPENCV
status
(
" Disabled by dependency:"
OPENCV_MODULES_DISABLED_AUTO THEN
${
OPENCV_MODULES_DISABLED_AUTO_ST
}
ELSE
"-"
)
status
(
" Disabled by dependency:"
OPENCV_MODULES_DISABLED_AUTO THEN
${
OPENCV_MODULES_DISABLED_AUTO_ST
}
ELSE
"-"
)
status
(
" Unavailable:"
OPENCV_MODULES_DISABLED_FORCE THEN
${
OPENCV_MODULES_DISABLED_FORCE_ST
}
ELSE
"-"
)
status
(
" Unavailable:"
OPENCV_MODULES_DISABLED_FORCE THEN
${
OPENCV_MODULES_DISABLED_FORCE_ST
}
ELSE
"-"
)
# Android extra
if
(
ANDROID
)
if
(
ANDROID
)
status
(
""
)
status
(
""
)
status
(
" Android: "
)
status
(
" Android: "
)
...
...
android/android.toolchain.cmake
View file @
a8f27e4a
...
@@ -840,6 +840,9 @@ set( CMAKE_C_FLAGS "${ANDROID_CXX_FLAGS} ${CMAKE_C_FLAGS}" )
...
@@ -840,6 +840,9 @@ set( CMAKE_C_FLAGS "${ANDROID_CXX_FLAGS} ${CMAKE_C_FLAGS}" )
include
(
CMakeForceCompiler
)
include
(
CMakeForceCompiler
)
CMAKE_FORCE_C_COMPILER
(
"
${
CMAKE_C_COMPILER
}
"
GNU
)
CMAKE_FORCE_C_COMPILER
(
"
${
CMAKE_C_COMPILER
}
"
GNU
)
CMAKE_FORCE_CXX_COMPILER
(
"
${
CMAKE_CXX_COMPILER
}
"
GNU
)
CMAKE_FORCE_CXX_COMPILER
(
"
${
CMAKE_CXX_COMPILER
}
"
GNU
)
set
(
CMAKE_SIZEOF_VOID_P 4
)
set
(
CMAKE_C_SIZEOF_DATA_PTR 4
)
set
(
CMAKE_CXX_SIZEOF_DATA_PTR 4
)
#set these global flags for cmake client scripts to change behavior
#set these global flags for cmake client scripts to change behavior
set
(
ANDROID True
)
set
(
ANDROID True
)
...
...
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