diff options
author | Karol Kosek <krkk@serenityos.org> | 2022-10-23 16:56:27 +0200 |
---|---|---|
committer | Sam Atkins <atkinssj@gmail.com> | 2023-05-16 12:57:34 +0100 |
commit | 5035378b03454eab6e47e0a92f10d0b697ffb402 (patch) | |
tree | fc7cd3c379c1edf90c76f143c822adbaf6baf6d4 /Meta | |
parent | 8dcfb6bfbd9e9cdb329871054d6692bab0880986 (diff) | |
download | serenity-5035378b03454eab6e47e0a92f10d0b697ffb402.zip |
Meta: Copy GML source files to serenity install
We already install C++ source files to allow debugging applications
in HackStudio.
Installing GML files can make editing application widgets a bit faster
and easier, as you no longer need to copy files to the system. :^)
Diffstat (limited to 'Meta')
-rw-r--r-- | Meta/CMake/utils.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/CMake/utils.cmake b/Meta/CMake/utils.cmake index 76f4ef5ad5..b3c52bf7e1 100644 --- a/Meta/CMake/utils.cmake +++ b/Meta/CMake/utils.cmake @@ -33,7 +33,7 @@ function(serenity_install_sources) # https://cmake.org/cmake/help/v3.23/command/cmake_path.html#relative-path string(LENGTH ${SerenityOS_SOURCE_DIR} root_source_dir_length) string(SUBSTRING ${CMAKE_CURRENT_SOURCE_DIR} ${root_source_dir_length} -1 current_source_dir_relative) - file(GLOB_RECURSE sources RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.h" "*.cpp") + file(GLOB_RECURSE sources RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*.h" "*.cpp" "*.gml") foreach(source ${sources}) get_filename_component(subdirectory ${source} DIRECTORY) install(FILES ${source} DESTINATION usr/src/serenity/${current_source_dir_relative}/${subdirectory} OPTIONAL) |