mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-21 02:08:12 +03:00
35a1e12459
In Serenity, size_t is defined as u32, thus static_cast<size_t>(value) truncates the value.
10 lines
417 B
CMake
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()
|