mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 05:48:12 +00:00
CMake: Also install the source files of userland programs
Previously, we only copied the source files of libraries to `/usr/src/serenity`. We now also install the source files of userland programs.
This commit is contained in:
parent
3b5eeb7fdd
commit
58746a08a1
1 changed files with 1 additions and 0 deletions
|
@ -75,6 +75,7 @@ function(serenity_libc_static target_name fs_name)
|
|||
endfunction()
|
||||
|
||||
function(serenity_bin target_name)
|
||||
serenity_install_sources()
|
||||
add_executable(${target_name} ${SOURCES})
|
||||
set_target_properties(${target_name} PROPERTIES EXCLUDE_FROM_ALL TRUE)
|
||||
install(TARGETS ${target_name} RUNTIME DESTINATION bin OPTIONAL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue