]> git.lyx.org Git - lyx.git/blob - src/frontends/tests/CMakeLists.txt
Make InsetInfo math/IPA icons visible in dark mode
[lyx.git] / src / frontends / tests / 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) 2013 Kornel Benko, <kornel@lyx.org>
5
6 project(testFrontends)
7
8 set(TESTS "test_biblio")
9
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")
14
15 foreach(tst ${TESTS})
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)
21 endforeach()