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
2d278d72
Commit
2d278d72
authored
May 09, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: Fix bootstrap script.
parent
1c2c9b2f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
extras/buildsystem/cmake/scripts/convert_modules_to_cmake.sh
extras/buildsystem/cmake/scripts/convert_modules_to_cmake.sh
+1
-1
No files found.
extras/buildsystem/cmake/scripts/convert_modules_to_cmake.sh
View file @
2d278d72
...
@@ -3,7 +3,7 @@ echo "Searching $1"
...
@@ -3,7 +3,7 @@ echo "Searching $1"
for
file
in
`
find
$1
-name
"Modules.am"
`
;
do
for
file
in
`
find
$1
-name
"Modules.am"
`
;
do
cmake_file
=
`
dirname
$file
`
/CMakeLists.txt
cmake_file
=
`
dirname
$file
`
/CMakeLists.txt
echo
"Creating
$cmake_file
"
echo
"Creating
$cmake_file
"
cat
$file
| perl
-ne
's/\\\n/ /g; print'
|
sed
-n
-e
"s/^SOURCES_
\(
.
*
\)
[ ]*=
\(
.*
\)
$/
vlc_add_module(
\1
\2
)/p"
|
tr
'\t'
' '
|
sed
's/ */ /g'
|
sed
's/\$(NULL)//g'
>
$cmake_file
cat
$file
| perl
-ne
's/\\\n/ /g; print'
|
sed
-n
-e
"s/^SOURCES_
\(
[^
\
]
*
\)
[ ]*=
\(
.*
\)
$/
vlc_add_module(
\1
\2
)/p"
|
tr
'\t'
' '
|
sed
's/ */ /g'
|
sed
's/\$(NULL)//g'
>
$cmake_file
dir
=
`
dirname
$file
`
dir
=
`
dirname
$file
`
echo
""
>>
$cmake_file
echo
""
>>
$cmake_file
for
subdirfile
in
`
find
$dir
-name
"Modules.am"
`
;
do
for
subdirfile
in
`
find
$dir
-name
"Modules.am"
`
;
do
...
...
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