Add README and fix CMakeLists.txt for in tree build

This commit is contained in:
Nick Østergaard 2015-09-18 19:03:41 +02:00
parent e421a76bb0
commit d84602c7c4
2 changed files with 24 additions and 1 deletions

View File

@ -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()

23
README Normal file
View File

@ -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`.