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
37dc2645
Commit
37dc2645
authored
Feb 08, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmake: More po generation fixes.
parent
889cd240
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
extras/buildsystem/cmake/CMakeLists/po_CMakeLists.txt
extras/buildsystem/cmake/CMakeLists/po_CMakeLists.txt
+10
-10
No files found.
extras/buildsystem/cmake/CMakeLists/po_CMakeLists.txt
View file @
37dc2645
...
...
@@ -6,13 +6,13 @@
#FIXME: detection ?
set
( GMSGFMT msgfmt )
set
( MSGFMT msgfmt )
set
( XGETTEXT xgettext )
set
( MSGMERGE_UPDATE msgmerge --update )
set
( MSGINIT msginit )
set
( MSGCONV msgconv )
set
( MSGFILTER msgfilter )
find_program
( GMSGFMT msgfmt )
find_program
( MSGFMT msgfmt )
find_program
( XGETTEXT xgettext )
find_program
( MSGMERGE_UPDATE msgmerge --update )
find_program
( MSGINIT msginit )
find_program
( MSGCONV msgconv )
find_program
( MSGFILTER msgfilter )
set( POFILES
af
...
...
@@ -67,11 +67,11 @@ set( POFILES
)
FOREACH( pofile ${POFILES} )
set( po-target ${po-target} ${pofile}.gmo )
set( po-target ${po-target} ${
CMAKE_CURRENT_BINARY_DIR}/${
pofile}.gmo )
ENDFOREACH( pofile)
ADD_CUSTOM_TARGET( all-po ALL
DEPENDS ${
CMAKE_CURRENT_BINARY_DIR}/${
po-target}
DEPENDS ${po-target}
)
foreach( pofile ${POFILES} )
...
...
@@ -79,6 +79,6 @@ foreach( pofile ${POFILES} )
COMMAND rm -f ${CMAKE_CURRENT_BINARY_DIR}/${pofile}.gmo
COMMAND ${GMSGFMT} -c --statistics -o ${CMAKE_CURRENT_BINARY_DIR}/t-${pofile}.gmo ${CMAKE_CURRENT_SOURCE_DIR}/${pofile}.po
COMMAND mv ${CMAKE_CURRENT_BINARY_DIR}/t-${pofile}.gmo ${CMAKE_CURRENT_BINARY_DIR}/${pofile}.gmo
DEPENDS ${pofile}.po
DEPENDS ${
CMAKE_CURRENT_SOURCE_DIR}/${
pofile}.po
)
endforeach( pofile )
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