mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-17 00:30:55 +00:00
21 lines
601 B
CMake
21 lines
601 B
CMake
|
# This file is part of LyX, the document processor.
|
||
|
# Licence details can be found in the file COPYING.
|
||
|
#
|
||
|
# Copyright (c) 2013 Kornel Benko, <kornel@lyx.org>
|
||
|
|
||
|
project(test)
|
||
|
|
||
|
set(TESTS "test_biblio")
|
||
|
|
||
|
add_executable(biblio biblio.cpp boost.cpp)
|
||
|
target_link_libraries(biblio ${Lyx_Boost_Libraries})
|
||
|
add_dependencies(lyx_run_tests biblio)
|
||
|
|
||
|
foreach(tst ${TESTS})
|
||
|
add_test(NAME "frontends/${tst}"
|
||
|
COMMAND ${CMAKE_COMMAND}
|
||
|
-Dbiblio=$<TARGET_FILE:biblio>
|
||
|
-Dsaved_data=${TOP_SRC_DIR}/src/frontends/tests/regfiles/biblio
|
||
|
-P ${TOP_SRC_DIR}/src/frontends/tests/${tst}.cmake)
|
||
|
endforeach()
|