mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 05:25:32 +03: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
@ -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 New Issue
Block a user