summaryrefslogtreecommitdiff
path: root/Userland/Tests/LibGfx/CMakeLists.txt
blob: 1c2bc2f17e8d0500035914fdb6ee02386151bb39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
file(GLOB CMD_SOURCES  CONFIGURE_DEPENDS "*.cpp")

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/LibGfx)
endforeach()

target_link_libraries(font LibGUI LibCore)
target_link_libraries(image-decoder LibGUI LibCore)
target_link_libraries(painter LibGUI LibCore)