mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:07:45 +00:00
Meta: Remove unused serenity_libc_static helper function
This commit is contained in:
parent
3c80a4caeb
commit
a6b2c34746
1 changed files with 0 additions and 11 deletions
|
@ -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})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue