mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
AK: Move install rules into AK's CMakeLists
This commit is contained in:
parent
5418165690
commit
da106177b4
|
|
@ -80,3 +80,19 @@ elseif (APPLE)
|
|||
endif()
|
||||
target_link_options(AK ${ASSERTION_HANDLER_VISIBILITY} LINKER:-U,_ak_assertion_handler)
|
||||
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.
|
||||
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
|
||||
if (BUILD_LAGOM_TOOLS)
|
||||
add_subdirectory(Tools)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user