mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Cmake build: Use test/dummy_functions.cpp instead of support/tests/dummy_functions.cpp
Test-programms in src/tests are now handled the same as in autoconf.
This commit is contained in:
parent
66c677b946
commit
6093a3a9b1
@ -8,7 +8,7 @@ set(check_layout_SOURCES)
|
||||
foreach(_f insets/InsetLayout.cpp CiteEnginesList.cpp Color.cpp Counters.cpp Floating.cpp
|
||||
FloatList.cpp FontInfo.cpp Layout.cpp LayoutFile.cpp Lexer.cpp
|
||||
ModuleList.cpp Spacing.cpp TextClass.cpp tests/check_layout.cpp
|
||||
tests/boost.cpp support/tests/dummy_functions.cpp)
|
||||
tests/boost.cpp tests/dummy_functions.cpp)
|
||||
list(APPEND check_layout_SOURCES "${TOP_SRC_DIR}/src/${_f}")
|
||||
endforeach()
|
||||
|
||||
@ -61,7 +61,7 @@ endforeach()
|
||||
set(check_ExternalTransforms_SOURCES)
|
||||
foreach(_f graphics/GraphicsParams.cpp insets/ExternalTransforms.cpp
|
||||
Length.cpp lengthcommon.cpp tests/check_ExternalTransforms.cpp
|
||||
tests/boost.cpp support/tests/dummy_functions.cpp)
|
||||
tests/boost.cpp tests/dummy_functions.cpp)
|
||||
list(APPEND check_ExternalTransforms_SOURCES ${TOP_SRC_DIR}/src/${_f})
|
||||
endforeach()
|
||||
|
||||
@ -84,7 +84,7 @@ add_test(NAME "check_ExternalTransforms"
|
||||
add_dependencies(lyx_run_tests check_ExternalTransforms)
|
||||
|
||||
set(check_Length_SOURCES)
|
||||
foreach(_f Length.cpp lengthcommon.cpp tests/check_Length.cpp tests/boost.cpp support/tests/dummy_functions.cpp)
|
||||
foreach(_f Length.cpp lengthcommon.cpp tests/check_Length.cpp tests/boost.cpp tests/dummy_functions.cpp)
|
||||
list(APPEND check_Length_SOURCES ${TOP_SRC_DIR}/src/${_f})
|
||||
endforeach()
|
||||
add_executable(check_Length ${check_Length_SOURCES})
|
||||
@ -106,7 +106,7 @@ add_dependencies(lyx_run_tests check_Length)
|
||||
|
||||
include_directories(${TOP_SRC_DIR}/src/tests)
|
||||
set(check_ListingsCaption_SOURCES)
|
||||
foreach(_f tests/check_ListingsCaption.cpp tests/boost.cpp support/tests/dummy_functions.cpp)
|
||||
foreach(_f tests/check_ListingsCaption.cpp tests/boost.cpp tests/dummy_functions.cpp)
|
||||
list(APPEND check_ListingsCaption_SOURCES ${TOP_SRC_DIR}/src/${_f})
|
||||
endforeach()
|
||||
add_executable(check_ListingsCaption ${check_ListingsCaption_SOURCES})
|
||||
|
Loading…
Reference in New Issue
Block a user