Create target property WINDOWS_EXPORT_ALL_SYMBOLS to automatically generate a module definition file from MS-compatible .obj files and give it to the linker in order to export all symbols from the .dll part of a SHARED library.
7 lines
56 B
C++
7 lines
56 B
C++
#include "stdio.h"
|
|
|
|
void world()
|
|
{
|
|
printf("world");
|
|
}
|