Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
linphone-cmake-builder
Commits
18335381
Commit
18335381
authored
Mar 20, 2017
by
Ghislain MARY
Browse files
Add lcb_blacklist_dependencies macro.
parent
8e2105b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
cmake/CMakeLists.txt
View file @
18335381
...
...
@@ -1086,7 +1086,16 @@ endmacro()
macro
(
lcb_builder_dependencies BUILDER
)
set
(
_args
"
${
ARGN
}
"
)
foreach
(
_dependency IN LISTS _args
)
list
(
APPEND EP_
${
BUILDER
}
_DEPENDENCIES
"EP_
${
_dependency
}
"
)
set
(
_add_dependency 1
)
if
(
LINPHONE_BUILDER_BLACKLISTED_DEPENDENCIES
)
list
(
FIND LINPHONE_BUILDER_BLACKLISTED_DEPENDENCIES
"
${
_dependency
}
"
_found
)
if
(
_found GREATER -1
)
set
(
_add_dependency 0
)
endif
()
endif
()
if
(
_add_dependency
)
list
(
APPEND EP_
${
BUILDER
}
_DEPENDENCIES
"EP_
${
_dependency
}
"
)
endif
()
endforeach
()
endmacro
()
...
...
@@ -1316,3 +1325,10 @@ endmacro()
macro
(
lcb_use_c_compiler_for_assembler BOOL_VALUE
)
lcb_builder_use_c_compiler_for_assembler
(
"
${
LINPHONE_BUILDER_CURRENT_BUILDER
}
"
${
BOOL_VALUE
}
)
endmacro
()
macro
(
lcb_blacklist_dependencies
)
set
(
_args
"
${
ARGN
}
"
)
foreach
(
_dependency IN LISTS _args
)
list
(
APPEND LINPHONE_BUILDER_BLACKLISTED_DEPENDENCIES
"
${
_dependency
}
"
)
endforeach
()
endmacro
()
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