mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-08 05:27:14 +09:00
AK: Move install rules into AK's CMakeLists
This commit is contained in:
parent
5418165690
commit
da106177b4
Notes:
github-actions[bot]
2025-05-19 22:38:38 +00:00
Author: https://github.com/ADKaster
Commit: da106177b4
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4821
Reviewed-by: https://github.com/trflynn89 ✅
2 changed files with 16 additions and 16 deletions
|
@ -80,3 +80,19 @@ elseif (APPLE)
|
||||||
endif()
|
endif()
|
||||||
target_link_options(AK ${ASSERTION_HANDLER_VISIBILITY} LINKER:-U,_ak_assertion_handler)
|
target_link_options(AK ${ASSERTION_HANDLER_VISIBILITY} LINKER:-U,_ak_assertion_handler)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# Manually install AK headers
|
||||||
|
if (ENABLE_INSTALL_HEADERS)
|
||||||
|
install(
|
||||||
|
DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
|
||||||
|
COMPONENT Lagom_Development
|
||||||
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
||||||
|
FILES_MATCHING PATTERN "*.h"
|
||||||
|
)
|
||||||
|
install(FILES
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/Debug.h
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/Backtrace.h
|
||||||
|
COMPONENT Lagom_Development
|
||||||
|
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/AK"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
|
@ -342,22 +342,6 @@ add_serenity_subdirectory(Libraries/LibFileSystem)
|
||||||
# This is used by the BindingsGenerator so needs to always be built.
|
# This is used by the BindingsGenerator so needs to always be built.
|
||||||
add_serenity_subdirectory(Libraries/LibIDL)
|
add_serenity_subdirectory(Libraries/LibIDL)
|
||||||
|
|
||||||
# Manually install AK headers
|
|
||||||
if (ENABLE_INSTALL_HEADERS)
|
|
||||||
install(
|
|
||||||
DIRECTORY "${SERENITY_PROJECT_ROOT}/AK"
|
|
||||||
COMPONENT Lagom_Development
|
|
||||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
|
|
||||||
FILES_MATCHING PATTERN "*.h"
|
|
||||||
)
|
|
||||||
install(FILES
|
|
||||||
${Lagom_BINARY_DIR}/AK/Debug.h
|
|
||||||
${Lagom_BINARY_DIR}/AK/Backtrace.h
|
|
||||||
COMPONENT Lagom_Development
|
|
||||||
DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/AK"
|
|
||||||
)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# Code Generators and other host tools
|
# Code Generators and other host tools
|
||||||
if (BUILD_LAGOM_TOOLS)
|
if (BUILD_LAGOM_TOOLS)
|
||||||
add_subdirectory(Tools)
|
add_subdirectory(Tools)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue