Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
wiki:documentation:devguide:core:translator [2016/11/04 07:30] carolina.santos [CMake] |
wiki:documentation:devguide:core:translator [2016/11/04 07:32] (current) carolina.santos [CMake] |
||
---|---|---|---|
Line 158: | Line 158: | ||
To facilitate the creation of binary files containing the translated messages as well as their inclusion in the binary distribution of packages in TerraLib family applications, the macro **TERRALIB_REGISTER_TRANSLATION** was created in CMake to be able to automate this process. This macro is in //build/cmake/terralib_macros.cmake// file in the code repository. | To facilitate the creation of binary files containing the translated messages as well as their inclusion in the binary distribution of packages in TerraLib family applications, the macro **TERRALIB_REGISTER_TRANSLATION** was created in CMake to be able to automate this process. This macro is in //build/cmake/terralib_macros.cmake// file in the code repository. | ||
- | All TerraLib libraries that need the message translation system should use the above macro in their build project files (//CMakeLists.txt//). It has the following form: | + | All TerraLib libraries that need the message translation system should use the above macro in their build project files (//CMakeLists.txt//), in the following form: |
<code cpp> | <code cpp> |