diff options
author | Andreas Kling <kling@serenityos.org> | 2020-05-27 12:28:39 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-05-27 12:28:39 +0200 |
commit | 5f9de61bf26b3fbb5c6d43fd4011b6b712efa6b2 (patch) | |
tree | 0db948d14fb52944814b69c85e0fbace6d4f92e6 /Meta/Lagom/CMakeLists.txt | |
parent | c1dd67e7929b94700bd4bdb2e1856d95e5b30cc4 (diff) | |
download | serenity-5f9de61bf26b3fbb5c6d43fd4011b6b712efa6b2.zip |
Lagom: Build LibCrypto, LibTLS and test-crypto :^)
Diffstat (limited to 'Meta/Lagom/CMakeLists.txt')
-rw-r--r-- | Meta/Lagom/CMakeLists.txt | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Meta/Lagom/CMakeLists.txt b/Meta/Lagom/CMakeLists.txt index 08fdecf34b..4f9b7bd04a 100644 --- a/Meta/Lagom/CMakeLists.txt +++ b/Meta/Lagom/CMakeLists.txt @@ -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) |