mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-23 17:52:26 -05:00
Meta: Add -S to Jakt compiler invocation in compile_jakt
This prevents the Jakt compiler from attempting to compile the generated C++ source itself.
This commit is contained in:
parent
9400b76d79
commit
4656198127
Notes:
sideshowbarker
2024-07-17 10:41:27 +09:00
Author: https://github.com/MacDue Commit: https://github.com/SerenityOS/serenity/commit/4656198127 Pull-request: https://github.com/SerenityOS/serenity/pull/14090
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ function(compile_jakt source)
|
|||
set(output "${source_base}.cpp")
|
||||
add_custom_command(
|
||||
OUTPUT ${output}
|
||||
COMMAND $<TARGET_FILE:Lagom::jakt> -o "${CMAKE_CURRENT_BINARY_DIR}/jakt_tmp" ${source}
|
||||
COMMAND $<TARGET_FILE:Lagom::jakt> -S -o "${CMAKE_CURRENT_BINARY_DIR}/jakt_tmp" ${source}
|
||||
COMMAND "${CMAKE_COMMAND}" -E copy_if_different "${CMAKE_CURRENT_BINARY_DIR}/jakt_tmp/${output}" ${output}
|
||||
COMMAND "${CMAKE_COMMAND}" -E remove "${CMAKE_CURRENT_BINARY_DIR}/jakt_tmp/${output}"
|
||||
VERBATIM
|
||||
|
|
Loading…
Add table
Reference in a new issue