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
18933c12
Commit
18933c12
authored
Mar 02, 2012
by
Anatoly Baksheev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disabled BUILD_WITH_DEBUG_INFO flag for MSCV. Now debug info is included in debug configuration
parent
f5b8af32
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
CMakeLists.txt
CMakeLists.txt
+1
-1
OpenCVCRTLinkage.cmake
cmake/OpenCVCRTLinkage.cmake
+1
-1
No files found.
CMakeLists.txt
View file @
18933c12
...
...
@@ -145,7 +145,7 @@ OCV_OPTION(BUILD_EXAMPLES "Build all examples"
OCV_OPTION
(
BUILD_PACKAGE
"Enables 'make package_source' command"
ON
)
OCV_OPTION
(
BUILD_PERF_TESTS
"Build performance tests"
ON
IF
(
NOT IOS
)
)
OCV_OPTION
(
BUILD_TESTS
"Build accuracy & regression tests"
ON
IF
(
NOT IOS
)
)
OCV_OPTION
(
BUILD_WITH_DEBUG_INFO
"Include debug info into debug libs
"
ON
)
OCV_OPTION
(
BUILD_WITH_DEBUG_INFO
"Include debug info into debug libs
(not MSCV only)"
ON
)
OCV_OPTION
(
BUILD_WITH_STATIC_CRT
"Enables use of staticaly linked CRT for staticaly linked OpenCV"
ON IF MSVC
)
# 3rd party libs
...
...
cmake/OpenCVCRTLinkage.cmake
View file @
18933c12
...
...
@@ -43,7 +43,7 @@ if(NOT ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION} LESS 2.8 AND NOT ${CMAKE_MI
endif
()
endif
()
if
(
NOT BUILD_WITH_DEBUG_INFO
)
if
(
NOT BUILD_WITH_DEBUG_INFO
AND NOT MSVC
)
string
(
REPLACE
"/debug"
""
CMAKE_EXE_LINKER_FLAGS_DEBUG
"
${
CMAKE_EXE_LINKER_FLAGS_DEBUG
}
"
)
string
(
REPLACE
"/DEBUG"
""
CMAKE_EXE_LINKER_FLAGS_DEBUG
"
${
CMAKE_EXE_LINKER_FLAGS_DEBUG
}
"
)
string
(
REPLACE
"/INCREMENTAL:YES"
"/INCREMENTAL:NO"
CMAKE_EXE_LINKER_FLAGS_DEBUG
"
${
CMAKE_EXE_LINKER_FLAGS_DEBUG
}
"
)
...
...
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