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.
14 lines
208 B
C++
14 lines
208 B
C++
#include <stdio.h>
|
|
#include "hello.h"
|
|
int Hello::Data = 0;
|
|
void Hello::real()
|
|
{
|
|
return;
|
|
}
|
|
void hello()
|
|
{
|
|
printf("hello");
|
|
}
|
|
void Hello::operator delete[](void*) {};
|
|
void Hello::operator delete(void*) {};
|