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
74e7ae15
Commit
74e7ae15
authored
Feb 04, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: Correctly generate builtin.h.
parent
5d31b49b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt
extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt
+16
-2
No files found.
extras/buildsystem/cmake/CMakeLists/src_CMakeLists.txt
View file @
74e7ae15
...
...
@@ -94,6 +94,7 @@ set( SOURCES_libvlc_common
misc/rand.c
misc/mtime.c
misc/block.c
modules/builtin.h
modules/modules.h
modules/modules.c
modules/cache.c
...
...
@@ -177,12 +178,11 @@ endif(APPLE)
##########################################################
# revision.c
set(rev "${CMAKE_CURRENT_SOURCE_DIR}/misc/revision.c")
add_custom_command(
OUTPUT ${rev}
COMMAND echo "${rev}"
COMMAND rm -f ${rev} ${rev}.tmp
COMMAND echo ${rev}
COMMAND echo "/* AUTOGENERATED FILE - DO NOT EDIT */" > ${rev}.tmp
COMMAND printf "const char psz_vlc_changeset[] = \"" >> ${rev}.tmp
COMMAND sh -c "echo `LANG=C\ svnversion\ ${CMAKE_SOURCE_DIR}\ ||\ echo\ exported`"
...
...
@@ -191,6 +191,20 @@ COMMAND mv -f ${rev}.tmp ${rev}
VERBATIM
)
##########################################################
# builtin.h
# No real use for this one, we just used to need it.
# We should really remove that.
set(builtin "${CMAKE_CURRENT_SOURCE_DIR}/modules/builtin.h")
add_custom_command(
OUTPUT ${builtin}
COMMAND echo "/* Auto generated by ${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt */" > ${builtin}
COMMAND echo "int vlc_entry__main( module_t* );" >> ${builtin}
COMMAND echo "#define ALLOCATE_ALL_BUILTINS() do {} while(0)" >> ${builtin}
VERBATIM
)
set(rev)
##########################################################
# SET_TARGET_PROPERTIES
...
...
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