mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 09:00:22 +00:00
Build: Add grub-image target to CMake
This commit is contained in:
parent
ebb1649a52
commit
775d44efb5
Notes:
sideshowbarker
2024-07-19 18:30:38 +09:00
Committer: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/775d44efb58
1 changed files with 6 additions and 0 deletions
|
@ -14,6 +14,12 @@ add_custom_target(run
|
|||
USES_TERMINAL
|
||||
)
|
||||
|
||||
add_custom_target(grub-image
|
||||
COMMAND ${CMAKE_COMMAND} -E env "SERENITY_ROOT=${CMAKE_SOURCE_DIR}" ${CMAKE_SOURCE_DIR}/Meta/build-image-grub.sh
|
||||
BYPRODUCTS ${CMAKE_BINARY_DIR}/_disk_image
|
||||
USES_TERMINAL
|
||||
)
|
||||
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Werror -std=c++2a -fdiagnostics-color=always")
|
||||
|
||||
include_directories(Libraries)
|
||||
|
|
Loading…
Reference in a new issue