On Tuesday 28 July 2009, alexis lameire wrote:
...
> thenks i have not all understand but i have try this :)
> http://pastie.org/561548
> i don't understand the problem of create_pot and update_po target :)
> i wouldn't this target launch at all :) it's easyeast to me to have this
> target :) and more proper them a bash script :) at this time the mo file
> don't created correctly :/ why ?
You have this:
#gestion de gettext
add_custom_target(
update_pot
COMMAND xgettext -d ${package_name} -s -o
${package_name}.pot
${CMAKE_CURRENT_BINARY_DIR}/${source_file}
-p ./po
--from-code=utf-8 -j
--keyword=_
--package-name=${package_name}
--package-version=${package_version}
--msgid-bugs-address=${email_report}
DEPENDS ${source_file}
)
I didn't see where source_file is set. Maybe that's the simple reason for
problems you have ?
And at least I would prefer if you put the interesting code directly in the
emails or attach the files. Doesn't stuff posted to pastebin go away after a
few days ?
Alex
_______________________________________________
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake