mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 00:50:22 +00:00
Lagom: Build LibJS + "js" test program
You can now get a full Linux build of the "js" test program by simply building in Meta/Lagom :^)
This commit is contained in:
parent
79e065f0a2
commit
e31dac3ba4
Notes:
sideshowbarker
2024-07-19 08:10:25 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/e31dac3ba49
1 changed files with 8 additions and 1 deletions
|
@ -12,8 +12,10 @@ endif()
|
|||
file(GLOB AK_SOURCES "../../AK/*.cpp")
|
||||
file(GLOB LIBCORE_SOURCES "../../Libraries/LibCore/*.cpp")
|
||||
file(GLOB LIBIPC_SOURCES "../../Libraries/LibIPC/*.cpp")
|
||||
file(GLOB LIBJS_SOURCES "../../Libraries/LibJS/*.cpp")
|
||||
file(GLOB LIBJS_SUBDIR_SOURCES "../../Libraries/LibJS/*/*.cpp")
|
||||
|
||||
set(SOURCES ${AK_SOURCES} ${LIBCORE_SOURCES} ${LIBIPC_SOURCES})
|
||||
set(SOURCES ${AK_SOURCES} ${LIBCORE_SOURCES} ${LIBIPC_SOURCES} ${LIBJS_SOURCES} ${LIBJS_SUBDIR_SOURCES})
|
||||
|
||||
include_directories (../../)
|
||||
include_directories (../../Libraries/)
|
||||
|
@ -26,3 +28,8 @@ target_link_libraries(TestApp stdc++)
|
|||
add_executable(TestJson TestJson.cpp)
|
||||
target_link_libraries(TestJson lagom)
|
||||
target_link_libraries(TestJson stdc++)
|
||||
|
||||
add_executable(js ../../Userland/js.cpp)
|
||||
target_link_libraries(js lagom)
|
||||
target_link_libraries(js stdc++)
|
||||
target_link_libraries(js pthread)
|
||||
|
|
Loading…
Reference in a new issue