1 # This file is part of LyX, the document processor.
2 # Licence details can be found in the file COPYING.
4 # Copyright (c) 2013 Kornel Benko, <kornel@lyx.org>
8 set(TESTS "test_biblio")
10 add_executable(biblio biblio.cpp boost.cpp)
11 target_link_libraries(biblio ${Lyx_Boost_Libraries})
12 add_dependencies(lyx_run_tests biblio)
13 set_target_properties(biblio PROPERTIES FOLDER "tests/frontends")
16 add_test(NAME "frontends/${tst}"
17 COMMAND ${CMAKE_COMMAND}
18 -Dbiblio=$<TARGET_FILE:biblio>
19 -Dsaved_data=${TOP_SRC_DIR}/src/frontends/tests/regfiles/biblio
20 -P ${TOP_SRC_DIR}/src/frontends/tests/${tst}.cmake)