Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Brad King
CMake
Commits
d3d889b1
Commit
d3d889b1
authored
Jul 03, 2022
by
Craig Scott
Committed by
Kitware Robot
Jul 03, 2022
Browse files
Stage topic 'LINK_LIBRARY-Darwin-LIBRARY-features-enhancements'
Topic-id: 7433 Topic-url:
cmake/cmake!7433
parents
d4076e97
53786166
Pipeline
#288173
failed with stages
in 78 minutes and 53 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Modules/Platform/Darwin.cmake
View file @
d3d889b1
...
...
@@ -103,9 +103,9 @@ foreach(lang C CXX Fortran OBJC OBJCXX)
set
(
CMAKE_
${
lang
}
_CREATE_MACOSX_FRAMEWORK
"<CMAKE_
${
lang
}
_COMPILER> <LANGUAGE_COMPILE_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_
${
lang
}
_FLAGS> <LINK_FLAGS> -o <TARGET> <SONAME_FLAG> <TARGET_INSTALLNAME_DIR><TARGET_SONAME> <OBJECTS> <LINK_LIBRARIES>"
)
# Set default framework search path flag for languages known to use a
# preprocessor that may find headers in frameworks.
set
(
CMAKE_
${
lang
}
_FRAMEWORK_SEARCH_FLAG -F
)
# Set default framework search path flag for languages known to use a
# preprocessor that may find headers in frameworks.
set
(
CMAKE_
${
lang
}
_FRAMEWORK_SEARCH_FLAG -F
)
endforeach
()
# Defines LINK_LIBRARY features for frameworks
...
...
@@ -122,13 +122,13 @@ set(CMAKE_LINK_LIBRARY_USING_WEAK_FRAMEWORK "LINKER:-weak_framework,<LIBRARY>")
set
(
CMAKE_LINK_LIBRARY_USING_WEAK_FRAMEWORK_SUPPORTED TRUE
)
# Defines LINK_LIBRARY features for libraries
set
(
CMAKE_LINK_LIBRARY_USING_NEEDED_LIBRARY
"PATH{LINKER:-needed_library <LIBRARY>}NAME{LINKER:-needed-l<LIB
_ITEM
>}"
)
set
(
CMAKE_LINK_LIBRARY_USING_NEEDED_LIBRARY
"PATH{LINKER:-needed_library <LIBRARY>}NAME{LINKER:-needed-l<LIB
RARY
>}"
)
set
(
CMAKE_LINK_LIBRARY_USING_NEEDED_LIBRARY_SUPPORTED TRUE
)
set
(
CMAKE_LINK_LIBRARY_USING_REEXPORT_LIBRARY
"PATH{LINKER:-reexport_library <LIBRARY>}NAME{LINKER:-reexport-l<LIB
_ITEM
>}"
)
set
(
CMAKE_LINK_LIBRARY_USING_REEXPORT_LIBRARY
"PATH{LINKER:-reexport_library <LIBRARY>}NAME{LINKER:-reexport-l<LIB
RARY
>}"
)
set
(
CMAKE_LINK_LIBRARY_USING_REEXPORT_LIBRARY_SUPPORTED TRUE
)
set
(
CMAKE_LINK_LIBRARY_USING_WEAK_LIBRARY
"PATH{LINKER:-weak_library <LIBRARY>}NAME{LINKER:-weak-l<LIB
_ITEM
>}"
)
set
(
CMAKE_LINK_LIBRARY_USING_WEAK_LIBRARY
"PATH{LINKER:-weak_library <LIBRARY>}NAME{LINKER:-weak-l<LIB
RARY
>}"
)
set
(
CMAKE_LINK_LIBRARY_USING_WEAK_LIBRARY_SUPPORTED TRUE
)
# Defines LINK_LIBRARY feature to Force loading of all members of an archive
...
...
Write
Preview
Supports
Markdown
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