Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
e55d8a63
Commit
e55d8a63
authored
Feb 05, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: Add an option to link or not against libvlc the module.
parent
1c24bea8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
extras/buildsystem/cmake/include/config.cmake
extras/buildsystem/cmake/include/config.cmake
+1
-0
extras/buildsystem/cmake/include/vlc_module_funcs.cmake
extras/buildsystem/cmake/include/vlc_module_funcs.cmake
+3
-1
No files found.
extras/buildsystem/cmake/include/config.cmake
View file @
e55d8a63
...
...
@@ -189,6 +189,7 @@ set(COPYRIGHT_YEARS "2001-2007")
OPTION
(
ENABLE_HTTPD
"Enable httpd server"
ON
)
OPTION
(
ENABLE_VLM
"Enable vlm"
ON
)
OPTION
(
ENABLE_DYNAMIC_PLUGINS
"Enable dynamic plugin"
ON
)
OPTION
(
ENABLE_NO_SYMBOL_CHECK
"Don't check symbols of modules against libvlc. (Enabling this option speeds up compilation)"
ON
)
set
(
HAVE_DYNAMIC_PLUGINS
${
ENABLE_DYNAMIC_PLUGINS
}
)
set
(
LIBEXT
${
CMAKE_SHARED_MODULE_SUFFIX
}
)
...
...
extras/buildsystem/cmake/include/vlc_module_funcs.cmake
View file @
e55d8a63
...
...
@@ -3,7 +3,9 @@ include( ${CMAKE_SOURCE_DIR}/cmake/vlc_add_compile_flag.cmake )
MACRO
(
vlc_add_module module_name
)
if
(
ENABLE_VLC_MODULE_
${
module_name
}
)
add_library
(
${
module_name
}
_plugin MODULE
${
ARGN
}
)
set
(
VLC_
${
module_name
}
_LINK_LIBRARIES
"
${
VLC_
${
module_name
}
_LINK_LIBRARIES
}
;libvlc"
)
if
(
NOT ENABLE_NO_SYMBOL_CHECK
)
vlc_module_add_link_libraries
(
libvlc
)
endif
(
NOT ENABLE_NO_SYMBOL_CHECK
)
set_target_properties
(
${
module_name
}
_plugin PROPERTIES COMPILE_FLAGS
"-D__PLUGIN__ -DMODULE_NAME=
${
module_name
}
-DMODULE_NAME_IS_
${
module_name
}
-I
${
CMAKE_CURRENT_SOURCE_DIR
}
${
VLC_
${
module_name
}
_COMPILE_FLAG
}
"
)
if
(
VLC_
${
module_name
}
_LINK_LIBRARIES
)
...
...
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