Meta: Remove unused serenity_libc_static helper function

This commit is contained in:
Andrew Kaster 2022-03-19 13:54:58 -06:00 committed by Andreas Kling
parent 3c80a4caeb
commit a6b2c34746
Notes: sideshowbarker 2024-07-17 18:49:10 +09:00

View file

@ -78,17 +78,6 @@ function(serenity_libc target_name fs_name)
serenity_generated_sources(${target_name})
endfunction()
function(serenity_libc_static target_name fs_name)
serenity_install_headers("")
serenity_install_sources("Userland/Libraries/LibC")
add_library(${target_name} ${SOURCES})
set_target_properties(${target_name} PROPERTIES EXCLUDE_FROM_ALL TRUE)
install(TARGETS ${target_name} ARCHIVE DESTINATION usr/lib OPTIONAL)
set_target_properties(${target_name} PROPERTIES OUTPUT_NAME ${fs_name})
target_link_directories(${target_name} PUBLIC ${CMAKE_CURRENT_BINARY_DIR})
serenity_generated_sources(${target_name})
endfunction()
function(serenity_bin target_name)
serenity_install_sources()
add_executable(${target_name} ${SOURCES})