Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
cdd62540
Commit
cdd62540
authored
Feb 05, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: Don't use tabs and generate revision.c builtin.h vlc_about.h in the build tree.
parent
5b9a4e95
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
121 additions
and
118 deletions
+121
-118
extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt
extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt
+121
-118
No files found.
extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt
View file @
cdd62540
...
@@ -20,111 +20,111 @@ set( SOURCES_libvlc_dirent extras/dirent.c )
...
@@ -20,111 +20,111 @@ set( SOURCES_libvlc_dirent extras/dirent.c )
set( SOURCES_libvlc_getopt misc/getopt.c misc/getopt.h misc/getopt1.c )
set( SOURCES_libvlc_getopt misc/getopt.c misc/getopt.h misc/getopt1.c )
set( SOURCES_libvlc_common
set( SOURCES_libvlc_common
libvlc.c
libvlc.c
libvlc-common.c
libvlc-common.c
libvlc.h
libvlc.h
libvlc-module.c
libvlc-module.c
interface/interface.h
interface/interface.h
interface/interface.c
interface/interface.c
interface/intf_eject.c
interface/intf_eject.c
interface/interaction.c
interface/interaction.c
playlist/playlist_internal.h
playlist/playlist_internal.h
playlist/thread.c
playlist/thread.c
playlist/control.c
playlist/control.c
playlist/engine.c
playlist/engine.c
playlist/sort.c
playlist/sort.c
playlist/loadsave.c
playlist/loadsave.c
playlist/tree.c
playlist/tree.c
playlist/item.c
playlist/item.c
playlist/search.c
playlist/search.c
playlist/services_discovery.c
playlist/services_discovery.c
input/item.c
input/item.c
input/access.c
input/access.c
input/clock.c
input/clock.c
input/control.c
input/control.c
input/decoder.c
input/decoder.c
input/decoder_synchro.c
input/decoder_synchro.c
input/demux.c
input/demux.c
input/es_out.c
input/es_out.c
input/input.c
input/input.c
input/meta.c
input/meta.c
input/input_internal.h
input/input_internal.h
input/vlm_internal.h
input/vlm_internal.h
input/stream.c
input/stream.c
input/mem_stream.c
input/mem_stream.c
input/subtitles.c
input/subtitles.c
input/var.c
input/var.c
video_output/video_output.c
video_output/video_output.c
video_output/vout_pictures.c
video_output/vout_pictures.c
video_output/vout_pictures.h
video_output/vout_pictures.h
video_output/video_text.c
video_output/video_text.c
video_output/video_widgets.c
video_output/video_widgets.c
video_output/vout_subpictures.c
video_output/vout_subpictures.c
video_output/vout_intf.c
video_output/vout_intf.c
audio_output/aout_internal.h
audio_output/aout_internal.h
audio_output/common.c
audio_output/common.c
audio_output/dec.c
audio_output/dec.c
audio_output/filters.c
audio_output/filters.c
audio_output/input.c
audio_output/input.c
audio_output/mixer.c
audio_output/mixer.c
audio_output/output.c
audio_output/output.c
audio_output/intf.c
audio_output/intf.c
stream_output/stream_output.c
stream_output/stream_output.c
stream_output/stream_output.h
stream_output/stream_output.h
stream_output/announce.c
stream_output/announce.c
stream_output/profiles.c
stream_output/profiles.c
stream_output/sap.c
stream_output/sap.c
stream_output/sdp.c
stream_output/sdp.c
osd/osd.c
osd/osd.c
osd/osd_text.c
osd/osd_text.c
osd/osd_widgets.c
osd/osd_widgets.c
network/acl.c
network/acl.c
network/getaddrinfo.c
network/getaddrinfo.c
network/io.c
network/io.c
network/error.c
network/error.c
network/tcp.c
network/tcp.c
network/udp.c
network/udp.c
network/httpd.c
network/httpd.c
network/rootwrap.c
network/rootwrap.c
network/tls.c
network/tls.c
network/poll.c
network/poll.c
text/charset.c
text/charset.c
text/strings.c
text/strings.c
text/unicode.c
text/unicode.c
text/wincp.c
text/wincp.c
text/iso_lang.c
text/iso_lang.c
text/iso-639_def.h
text/iso-639_def.h
misc/md5.c
misc/md5.c
misc/rand.c
misc/rand.c
misc/mtime.c
misc/mtime.c
misc/block.c
misc/block.c
modules/builtin.h
${CMAKE_BINARY_DIR}/src/
modules/builtin.h
modules/modules.h
modules/modules.h
modules/modules.c
modules/modules.c
modules/cache.c
modules/cache.c
modules/entry.c
modules/entry.c
modules/os.c
modules/os.c
misc/threads.c
misc/threads.c
misc/stats.c
misc/stats.c
misc/cpu.c
misc/cpu.c
config/configuration.h
config/configuration.h
config/core.c
config/core.c
config/chain.c
config/chain.c
config/file.c
config/file.c
config/cmdline.c
config/cmdline.c
misc/events.c
misc/events.c
misc/image.c
misc/image.c
misc/messages.c
misc/messages.c
misc/objects.c
misc/objects.c
misc/variables.h
misc/variables.h
misc/variables.c
misc/variables.c
misc/error.c
misc/error.c
misc/update.c
misc/update.c
misc/revision.c
${CMAKE_BINARY_DIR}/src/
misc/revision.c
input/vlm.c
input/vlm.c
misc/xml.c
misc/xml.c
misc/devices.c
misc/devices.c
extras/libc.c
extras/libc.c
${CMAKE_
SOURCE
_DIR}/include/vlc_about.h )
${CMAKE_
BINARY
_DIR}/include/vlc_about.h )
set( SOURCES_libvlc ${SOURCES_libvlc_common} )
set( SOURCES_libvlc ${SOURCES_libvlc_common} )
...
@@ -182,15 +182,16 @@ endif(APPLE)
...
@@ -182,15 +182,16 @@ endif(APPLE)
##########################################################
##########################################################
# revision.c
# revision.c
set(rev "${CMAKE_
CURRENT_SOURCE_DIR}
/misc/revision.c")
set(rev "${CMAKE_
BINARY_DIR}/src
/misc/revision.c")
add_custom_command(
add_custom_command(
OUTPUT ${rev}
OUTPUT ${rev}
COMMAND rm -f ${rev} ${rev}.tmp
COMMAND rm -f ${rev} ${rev}.tmp
COMMAND echo "/* AUTOGENERATED FILE - DO NOT EDIT */" > ${rev}.tmp
COMMAND mkdir -p `dirname ${rev}`
COMMAND printf "const char psz_vlc_changeset[] = \"" >> ${rev}.tmp
COMMAND echo "/* AUTOGENERATED FILE - DO NOT EDIT */" > ${rev}.tmp
COMMAND sh -c "printf `LANG=C svnversion ${CMAKE_SOURCE_DIR} || printf \"exported\"`" >> ${rev}.tmp
COMMAND printf "const char psz_vlc_changeset[] = \"" >> ${rev}.tmp
COMMAND echo "\";" >> ${rev}.tmp
COMMAND sh -c "printf `LANG=C svnversion ${CMAKE_SOURCE_DIR} || printf \"exported\"`" >> ${rev}.tmp
COMMAND mv -f ${rev}.tmp ${rev}
COMMAND echo "\";" >> ${rev}.tmp
COMMAND mv -f ${rev}.tmp ${rev}
VERBATIM
VERBATIM
)
)
set(rev)
set(rev)
...
@@ -199,24 +200,26 @@ set(rev)
...
@@ -199,24 +200,26 @@ set(rev)
# builtin.h
# builtin.h
# No real use for this one, we just used to need it.
# No real use for this one, we just used to need it.
# We should really remove that.
# We should really remove that.
set(builtin "${CMAKE_
CURRENT_SOURCE_DIR}
/modules/builtin.h")
set(builtin "${CMAKE_
BINARY_DIR}/src
/modules/builtin.h")
add_custom_command(
add_custom_command(
OUTPUT ${builtin}
OUTPUT ${builtin}
COMMAND echo "/* Auto generated by ${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt */" > ${builtin}
COMMAND mkdir -p `dirname ${builtin}`
COMMAND echo "int vlc_entry__main( module_t* );" >> ${builtin}
COMMAND echo "/* Auto generated by ${CMAKE_CURRENT_BUILD_DIR}/CMakeLists.txt */" > ${builtin}
COMMAND echo "#define ALLOCATE_ALL_BUILTINS() do {} while(0)" >> ${builtin}
COMMAND echo "int vlc_entry__main( module_t* );" >> ${builtin}
COMMAND echo "#define ALLOCATE_ALL_BUILTINS() do {} while(0)" >> ${builtin}
VERBATIM
VERBATIM
)
)
set(should)
set(should)
##########################################################
##########################################################
# vlc_about.h
# vlc_about.h
set(about "${CMAKE_
SOURCE
_DIR}/include/vlc_about.h")
set(about "${CMAKE_
BINARY
_DIR}/include/vlc_about.h")
add_custom_command(
add_custom_command(
OUTPUT ${about}
OUTPUT ${about}
COMMAND rm -f -- "${about}.tmp"
COMMAND rm -f -- "${about}.tmp"
COMMAND mkdir -p `dirname ${about}`
COMMAND mkdir -p -- ../include
COMMAND mkdir -p -- ../include
COMMAND echo "/* Automatically generated file - DO NOT EDIT */" > "${about}.tmp"
COMMAND echo "/* Automatically generated file - DO NOT EDIT */" > "${about}.tmp"
COMMAND echo "static const char psz_license[] =" >> "${about}.tmp"
COMMAND echo "static const char psz_license[] =" >> "${about}.tmp"
...
@@ -249,4 +252,4 @@ set_target_properties(libvlc PROPERTIES SOVERSION 1.0.0)
...
@@ -249,4 +252,4 @@ set_target_properties(libvlc PROPERTIES SOVERSION 1.0.0)
set_target_properties(libvlc libvlc-control PROPERTIES PREFIX "")
set_target_properties(libvlc libvlc-control PROPERTIES PREFIX "")
set_target_properties(libvlc libvlc-control PROPERTIES LINK_FLAGS "${LINK_FLAGS} ${CMAKE_THREAD_LIBS_INIT}")
set_target_properties(libvlc libvlc-control PROPERTIES LINK_FLAGS "${LINK_FLAGS} ${CMAKE_THREAD_LIBS_INIT}")
set_target_properties(libvlc libvlc-control vlc PROPERTIES COMPILE_FLAGS
set_target_properties(libvlc libvlc-control vlc PROPERTIES COMPILE_FLAGS
"-Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes" )
"-Wall -Wextra -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast -Wcast-align -Wwrite-strings -Wmissing-prototypes
-I${CMAKE_BINARY_DIR}/src -I${CMAKE_BINARY_DIR}/include
" )
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