Open kraenhansen opened 2 months ago
For SDKs that don't use the FFI / C-API (such as the JS SDK), it would be great to cut down compilation time if we could configure the CMake project to avoid generating targets for the FFI / C-API. I imagine we'd add option(REALM_ENABLE_FFI "Enabled the ffi c-api" ON) around here: https://github.com/realm/realm-core/blob/e7285a374e3f497a0b2fd6fb1d5d535486c8bfbc/CMakeLists.txt#L256-L269
option(REALM_ENABLE_FFI "Enabled the ffi c-api" ON)
And use that option to either:
EXCLUDE_FROM_ALL
ON
RealmFFI
RealmFFIStatic
➤ PM Bot commented:
Jira ticket: RCORE-2107
For SDKs that don't use the FFI / C-API (such as the JS SDK), it would be great to cut down compilation time if we could configure the CMake project to avoid generating targets for the FFI / C-API. I imagine we'd add
option(REALM_ENABLE_FFI "Enabled the ffi c-api" ON)
around here: https://github.com/realm/realm-core/blob/e7285a374e3f497a0b2fd6fb1d5d535486c8bfbc/CMakeLists.txt#L256-L269And use that option to either:
EXCLUDE_FROM_ALL
toON
for theRealmFFI
(already has this on) andRealmFFIStatic
targets, around here https://github.com/realm/realm-core/blob/e7285a374e3f497a0b2fd6fb1d5d535486c8bfbc/src/realm/object-store/c_api/CMakeLists.txt#L65-L80