From 733c29885060163975bf8610f91652e26e6db1ee Mon Sep 17 00:00:00 2001 From: Kirill Burtsev Date: Wed, 6 Sep 2023 23:09:19 +0200 Subject: [PATCH] Exclude some more and build by default under debug --- src/realm/exec/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/realm/exec/CMakeLists.txt b/src/realm/exec/CMakeLists.txt index de6293d1ef1..16bb966d868 100644 --- a/src/realm/exec/CMakeLists.txt +++ b/src/realm/exec/CMakeLists.txt @@ -20,6 +20,9 @@ set_target_properties(RealmTrawler PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX} ) target_link_libraries(RealmTrawler Storage) +if (EMSCRIPTEN) + set_target_properties(RealmTrawler PROPERTIES EXCLUDE_FROM_ALL TRUE) +endif() add_executable(RealmEnumerate realm_enumerate.cpp) set_target_properties(RealmEnumerate PROPERTIES @@ -38,6 +41,9 @@ set_target_properties(RealmDecrypt PROPERTIES DEBUG_POSTFIX ${CMAKE_DEBUG_POSTFIX} ) target_link_libraries(RealmDecrypt Storage) +if (NOT REALM_ENABLE_ENCRYPTION) + set_target_properties(RealmDecrypt PROPERTIES EXCLUDE_FROM_ALL TRUE) +endif() add_executable(RealmEncrypt realm_encrypt.cpp) set_target_properties(RealmEncrypt PROPERTIES