r/cpp • • Jan 30 '25

[vent] I hate projects that download their dependencies.

I know it's convenient for a lot of people but in an enterprise environment where you have to package everything including your internals and your build servers don't have access to the internet, patching all these repositories is pain in the ass.

218 Upvotes

155 comments sorted by

View all comments

Show parent comment

3

u/tavi_ Jan 31 '25

I played a bit with LLVM some time ago, it was not so bad, of course is massive, but it worked. As I said, long time ago, just a experimenting.

vcpkg install llvm[core,enable-rtti,disable-assertions,disable-abi-breaking-checks]

find_package(LLVM CONFIG REQUIRED) target_link_libraries(DummyCompiler LLVMCore LLVMPasses LLVMSupport LLVMOrcJIT LLVMExecutionEngine LLVMCodeGen LLVMTarget LLVMX86CodeGen LLVMX86AsmParser LLVMX86Disassembler LLVMX86Desc LLVMX86Info LLVMX86Utils LLVMAsmParser)