mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-14 11:54:53 +03:00
fd0dbd1ebf
With the goal of centralizing all tests in the system, this is a first step to establish a Tests sub-tree. It will contain all of the unit tests and test harnesses for the various components in the system.
10 lines
358 B
CMake
10 lines
358 B
CMake
file(GLOB CMD_SOURCES CONFIGURE_DEPENDS "*.cpp")
|
|
|
|
# FIXME: These tests do not use LibTest
|
|
foreach(CMD_SRC ${CMD_SOURCES})
|
|
get_filename_component(CMD_NAME ${CMD_SRC} NAME_WE)
|
|
add_executable(${CMD_NAME} ${CMD_SRC})
|
|
target_link_libraries(${CMD_NAME} LibCore)
|
|
install(TARGETS ${CMD_NAME} RUNTIME DESTINATION usr/Tests/UserEmulator)
|
|
endforeach()
|