Add README and fix CMakeLists.txt for in tree build
This commit is contained in:
parent
e421a76bb0
commit
d84602c7c4
|
@ -12,7 +12,7 @@ foreach( LANG ${LANG_ARRAY} )
|
||||||
${CMAKE_SOURCE_DIR}/${LANG}/kicad.po
|
${CMAKE_SOURCE_DIR}/${LANG}/kicad.po
|
||||||
-o ${CMAKE_BINARY_DIR}/${LANG}/kicad.mo )
|
-o ${CMAKE_BINARY_DIR}/${LANG}/kicad.mo )
|
||||||
|
|
||||||
install( DIRECTORY ${CMAKE_BINARY_DIR}/${LANG}
|
install( FILES ${CMAKE_BINARY_DIR}/${LANG}/kicad.mo
|
||||||
DESTINATION share/kicad/internat
|
DESTINATION share/kicad/internat
|
||||||
COMPONENT resources )
|
COMPONENT resources )
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
= KiCad GUI translations
|
||||||
|
|
||||||
|
This is the repository for the po files that is used for the GUI
|
||||||
|
translations for KiCad.
|
||||||
|
|
||||||
|
It is cmake equipped to conform with the rest of the installation
|
||||||
|
principles for KiCad.
|
||||||
|
|
||||||
|
== Depends
|
||||||
|
- Cmake
|
||||||
|
- Gettext
|
||||||
|
|
||||||
|
== How to install
|
||||||
|
```
|
||||||
|
cd kicad-i18n
|
||||||
|
cmake .
|
||||||
|
make
|
||||||
|
make install
|
||||||
|
```
|
||||||
|
|
||||||
|
If you want to change the default install prefix to match your KiCad
|
||||||
|
build, you can add for
|
||||||
|
example use `-DCMAKE_INSTALL_PREFIX=/usr`.
|
Loading…
Reference in New Issue