mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05:00
Lagom: Build LibCrypto, LibTLS and test-crypto :^)
This commit is contained in:
parent
c1dd67e792
commit
5f9de61bf2
1 changed files with 9 additions and 1 deletions
|
@ -45,9 +45,12 @@ file(GLOB LIBLINE_SOURCES "../../Libraries/LibLine/*.cpp")
|
|||
file(GLOB LIBX86_SOURCES "../../Libraries/LibX86/*.cpp")
|
||||
file(GLOB LIBJS_SOURCES "../../Libraries/LibJS/*.cpp")
|
||||
file(GLOB LIBJS_SUBDIR_SOURCES "../../Libraries/LibJS/*/*.cpp")
|
||||
file(GLOB LIBCRYPTO_SOURCES "../../Libraries/LibCrypto/*.cpp")
|
||||
file(GLOB LIBCRYPTO_SUBDIR_SOURCES "../../Libraries/LibCrypto/*/*.cpp")
|
||||
file(GLOB LIBTLS_SOURCES "../../Libraries/LibTLS/*.cpp")
|
||||
|
||||
set(LAGOM_CORE_SOURCES ${AK_SOURCES} ${LIBCORE_SOURCES})
|
||||
set(LAGOM_MORE_SOURCES ${LIBIPC_SOURCES} ${LIBLINE_SOURCES} ${LIBJS_SOURCES} ${LIBJS_SUBDIR_SOURCES} ${LIBX86_SOURCES})
|
||||
set(LAGOM_MORE_SOURCES ${LIBIPC_SOURCES} ${LIBLINE_SOURCES} ${LIBJS_SOURCES} ${LIBJS_SUBDIR_SOURCES} ${LIBX86_SOURCES} ${LIBCRYPTO_SOURCES} ${LIBCRYPTO_SUBDIR_SOURCES} ${LIBTLS_SOURCES})
|
||||
|
||||
include_directories (../../)
|
||||
include_directories (../../Libraries/)
|
||||
|
@ -70,6 +73,11 @@ if (BUILD_LAGOM)
|
|||
target_link_libraries(js_lagom stdc++)
|
||||
target_link_libraries(js_lagom pthread)
|
||||
|
||||
add_executable(test-crypto_lagom ../../Userland/test-crypto.cpp)
|
||||
set_target_properties(test-crypto_lagom PROPERTIES OUTPUT_NAME test-crypto)
|
||||
target_link_libraries(test-crypto_lagom Lagom)
|
||||
target_link_libraries(test-crypto_lagom stdc++)
|
||||
|
||||
add_executable(disasm_lagom ../../Userland/disasm.cpp)
|
||||
set_target_properties(disasm_lagom PROPERTIES OUTPUT_NAME disasm)
|
||||
target_link_libraries(disasm_lagom Lagom)
|
||||
|
|
Loading…
Add table
Reference in a new issue