On Mon, Mar 31, 2008 at 3:43 PM, Timenkov Yuri <[EMAIL PROTECTED]> wrote:
>  > > You may try to add install(SCRIPT/CODE) command which ensures that
>  > >  translations are built.
>  > >
>  > >  install(code "
>  > >         execute_process(
>  > >                 COMMAND \${CMAKE_MAKE_PROGRAM} translations
>  > >                 WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
>  > >         )
>  > >         FILE(INSTALL
>  > >                 DESTINATION translations
>  > >                 TYPE FILE
>  > >                 FILES \"${CMAKE_CURRENT_BINARY_DIR}/foo.trans\")
>  > >  ")
>  > >
>  > >  This may work only on linux / or only with make program.

Unfortunately, it doesn't seem to be working, "make translations" is
still not run automatically on "make install"...  Thanks for the help,
anyway.
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to