2011-05-10 17:44:41 +00:00
|
|
|
# This file is part of LyX, the document processor.
|
|
|
|
# Licence details can be found in the file COPYING.
|
|
|
|
#
|
|
|
|
# Copyright (c) 2008-2011 Peter Kümmel, <syntheticpp@gmx.net>
|
|
|
|
# Copyright (c) 2008-2011 Kornel Benko, <Kornel.Benko@berlin.de>
|
|
|
|
#
|
|
|
|
|
|
|
|
configure_file(${TOP_SRC_DIR}/lib/lyx2lyx/lyx2lyx_version.py.in
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/lyx2lyx_version.py)
|
|
|
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/lyx2lyx_version.py DESTINATION ${LYX_DATA_SUBDIR}lyx2lyx)
|
|
|
|
|
|
|
|
if (UNIX)
|
|
|
|
set(_project "lyx2lyx")
|
2012-01-22 13:05:37 +00:00
|
|
|
# include(../PyCompile)
|
2011-05-10 17:44:41 +00:00
|
|
|
endif()
|
|
|
|
|
2016-06-01 16:31:48 +00:00
|
|
|
set(_testname "lyx2lyx/parser_tools")
|
|
|
|
add_test(NAME ${_testname}
|
|
|
|
COMMAND ${LYX_PYTHON_EXECUTABLE} "${TOP_SRC_DIR}/lib/lyx2lyx/test_parser_tools.py"
|
|
|
|
)
|
|
|
|
settestlabel(${_testname} "lyx2lyx")
|
|
|
|
|
2011-05-10 17:44:41 +00:00
|
|
|
install(PROGRAMS ${TOP_SRC_DIR}/lib/lyx2lyx/lyx2lyx DESTINATION ${LYX_DATA_SUBDIR}lyx2lyx)
|