ladybird/Userland/Tests/AK/CMakeLists.txt
Paul Scharnofske 35a1e12459 AK+Format: Don't cast to size_t when you want u64.
In Serenity, size_t is defined as u32, thus static_cast<size_t>(value)
truncates the value.
2021-02-13 19:47:06 +01:00

10 lines
417 B
CMake

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}_Userland ${CMD_SRC})
set_target_properties(${CMD_NAME}_Userland PROPERTIES OUTPUT_NAME ${CMD_NAME})
target_link_libraries(${CMD_NAME}_Userland LibCore)
install(TARGETS ${CMD_NAME}_Userland RUNTIME DESTINATION usr/Tests/AK)
endforeach()