foreach(_f insets/InsetLayout.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
- support/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()
-add_definitions(-DNO_LAYOUT_CSS)
+include_directories(${TOP_SRC_DIR}/src/support/tests)
+
add_executable(check_layout ${check_layout_SOURCES})
target_link_libraries(check_layout support
add_test(NAME "check_layout/${bns}"
COMMAND check_layout "${TOP_SRC_DIR}/lib/layouts/${bn}")
+ settestlabel("check_layout/${bns}" "layout")
endforeach()