restc-cpp icon indicating copy to clipboard operation
restc-cpp copied to clipboard

Building Offline

Open 13372277 opened this issue 1 year ago • 1 comments

Is it possible to build restc-cpp offline? The machine I am building on is not connected to the internet. I have downloaded rapidjson (edit: and logfault) and placed it in a couple different locations, such as dbuild/external-projects/src/externalRapidJson, but make as per the build instructions still tries to download rapidJson. I fear I may face the same issue with gtest, but I'll cross that bridge when I get there.

Thanks in advance.

13372277 avatar Jun 05 '24 18:06 13372277

It is possible. restc should ideally be able to use installed libs, conan/vcpkg or git submodules for dependencies.

I was not aware of the issues with cmake always going online during build when using the ExternalProject_Add function.

jgaa avatar Jun 24 '24 20:06 jgaa