Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
500894fa
Commit
500894fa
authored
Mar 31, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: Support for libs/loader.
parent
f51de264
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
0 deletions
+20
-0
extras/buildsystem/cmake/CMakeLists/libs_loaders_CMakeLists.txt
.../buildsystem/cmake/CMakeLists/libs_loaders_CMakeLists.txt
+14
-0
extras/buildsystem/cmake/CMakeLists/root_CMakeLists.txt
extras/buildsystem/cmake/CMakeLists/root_CMakeLists.txt
+1
-0
extras/buildsystem/cmake/include/config.cmake
extras/buildsystem/cmake/include/config.cmake
+1
-0
extras/buildsystem/cmake/scripts/convert_vlc_to_cmake.sh
extras/buildsystem/cmake/scripts/convert_vlc_to_cmake.sh
+4
-0
No files found.
extras/buildsystem/cmake/CMakeLists/libs_loaders_CMakeLists.txt
0 → 100644
View file @
500894fa
if(ENABLE_LOADER)
set(SOURCES_libloader ldt_keeper.c pe_image.c module.c ext.c win32.c
driver.c pe_resource.c resource.c registry.c afl.c vfl.c
wrapper.S stubs.s kludge.c)
add_library(loader STATIC ${SOURCES_libloader})
set_target_properties(loader PROPERTIES COMPILE_FLAGS
"-D__WINE__ -DHAVE_SYS_MMAN_H=1 -DHAVE_VSSCANF=1 -DWIN32_PATH=\\\"\\\" -DTRACE\\\(...\\\)=\\\(void\\\)0 -fno-PIC -U_FILE_OFFSET_BITS -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer")
target_link_libraries(loader pthread)
endif(ENABLE_LOADER)
extras/buildsystem/cmake/CMakeLists/root_CMakeLists.txt
View file @
500894fa
...
...
@@ -29,6 +29,7 @@ add_definitions(-D_GNU_SOURCE)
include_directories(${CMAKE_SOURCE_DIR}/include ${CMAKE_BINARY_DIR}/include)
# our sources:
add_subdirectory(libs/loader)
add_subdirectory(src)
add_subdirectory(modules)
add_subdirectory(po)
...
...
extras/buildsystem/cmake/include/config.cmake
View file @
500894fa
...
...
@@ -20,6 +20,7 @@ OPTION( ENABLE_DYNAMIC_PLUGINS "Enable dynamic plugin" ON )
OPTION
(
UPDATE_CHECK
"Enable automatic new version checking"
OFF
)
OPTION
(
ENABLE_NO_SYMBOL_CHECK
"Don't check symbols of modules against libvlc. (Enabling this option speeds up compilation)"
OFF
)
OPTION
(
ENABLE_CONTRIB
"Attempt to use VLC contrib system to get the third-party libraries"
ON
)
OPTION
(
ENABLE_LOADER
"Enable the win32 codec loader"
ON
)
if
(
ENABLE_CONTRIB
)
...
...
extras/buildsystem/cmake/scripts/convert_vlc_to_cmake.sh
View file @
500894fa
...
...
@@ -21,6 +21,10 @@ ln -sf ../$cmake_dir/CMakeLists/src_CMakeLists.txt src/CMakeLists.txt
echo
"Removing old modules/gui/qt4/CMakeLists.txt"
rm
-f
modules/gui/qt4/CMakeLists.txt
echo
"Installing libs/loaders/CMakeLists.txt"
rm
-f
libs/loaders/CMakeLists.txt
ln
-s
../
$cmake_dir
/CMakeLists/libs_loaders_CMakeLists.txt libs/loaders/CMakeLists.txt
echo
"Installing modules/CMakeLists.txt"
rm
-f
modules/CMakeLists.txt
ln
-s
../
$cmake_dir
/CMakeLists/modules_CMakeLists.txt modules/CMakeLists.txt
...
...
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