]> git.lyx.org Git - lyx.git/blob - lib/lyx2lyx/CMakeLists.txt
Update fr.po
[lyx.git] / lib / lyx2lyx / CMakeLists.txt
1 # This file is part of LyX, the document processor.
2 # Licence details can be found in the file COPYING.
3 #
4 # Copyright (c) 2008-2011 Peter Kümmel, <syntheticpp@gmx.net>
5 # Copyright (c) 2008-2011 Kornel Benko, <Kornel.Benko@berlin.de>
6 #
7
8 configure_file(${TOP_SRC_DIR}/lib/lyx2lyx/lyx2lyx_version.py.in 
9                ${CMAKE_CURRENT_BINARY_DIR}/lyx2lyx_version.py)
10 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/lyx2lyx_version.py DESTINATION ${LYX_DATA_SUBDIR}lyx2lyx)
11
12 if (UNIX)
13         set(_project "lyx2lyx")
14         # include(../PyCompile)
15 endif()
16
17 set(_testname "lyx2lyx/parser_tools")
18 add_test(NAME ${_testname}
19   COMMAND ${LYX_PYTHON_EXECUTABLE} "${TOP_SRC_DIR}/lib/lyx2lyx/test_parser_tools.py"
20   )
21 settestlabel(${_testname} "lyx2lyx")
22
23 install(PROGRAMS ${TOP_SRC_DIR}/lib/lyx2lyx/lyx2lyx DESTINATION ${LYX_DATA_SUBDIR}lyx2lyx)