r/cpp • • Apr 12 '26

CMake Past, Present, and Future - Bill Hoffman, Kitware [29m25s]

https://www.youtube.com/watch?v=cD-JgncskTQ
69 Upvotes

134 comments sorted by

View all comments

Show parent comment

1

u/gracicot Apr 12 '26 edited Apr 12 '26

Generally, wouldn't it make sense that all symbols required by a module be embedded in the shared object if one? Shouldn't the shared object link all objects file generated by compiling the BMIs? It sounds completely broken if you need to statically link some symbols to consume a dynamically linked library like the standard library. Sounds to me like MSVC has kinda broken semantics. I'm curious about why MSVC chose this way.