exportAll Link Option (C++)

Syntax: Default:
link(exportAll[, yes])
link(exportAll, no)
link(exportAll, no)

This option determines whether all defined, external symbols in C++ source are exported from the target module. If you are building a DLL or shared library, this is the simplest way of making symbols externally visible so that other modules can access them.

By default, all C++ symbols referenced by any other DLL, shared library or executable file that is represented in the same codestore as the target DLL or shared library file are exported. If you are building a DLL or shared library  to be used by modules not in the current codestore, you should consider alternative ways of exporting symbols.

The options link(exportAll), link(export_NameSpace, name), and link(export_Prefix, prefix) are easier to use than link( export, ...) or link(exportList, ...), but give you less flexibility.



Incremental C++ Builds
Configuration Files
Codestore


Set Build Options
Build
Build Dynamic Link Libraries
Export Symbols from a DLL
Build Modules That Use DLLs


Link Options