Exporting symbols from OBJECT that is used as source in Shared lib.
So when compiling project as OBJECT
add_library (${PROJECT_NAME} OBJECT
${SOURCE_FILES}
)
Which then gets added as source to Shared lib
set(SOURCE_FILES
$<TARGET_OBJECTS:fancyLibNameHere>
)
no linking lib is created alongside the dll.
Is there a way to force VS compiler to read export symbols from the object? One that doesn't involve export all symbols.
Edited by Brad King