Skip to content

Commit

Permalink
Exclude some more and build by default under debug
Browse files Browse the repository at this point in the history
  • Loading branch information
kiburtse committed Sep 7, 2023
1 parent 29cd405 commit 733c298
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/realm/exec/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 733c298

Please sign in to comment.