mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-09 10:00:12 -05:00
`pybind11` requires access to this symbol to link in some cases. Include this symbol when generating automatic exports via `CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS`. Fixes: #24406
24 lines
303 B
C++
24 lines
303 B
C++
#include "hello.h"
|
|
|
|
#include <stdio.h>
|
|
int Hello::Data = 0;
|
|
void Hello::real()
|
|
{
|
|
return;
|
|
}
|
|
void hello()
|
|
{
|
|
printf("hello");
|
|
}
|
|
void Hello::operator delete[](void*){};
|
|
void Hello::operator delete(void*){};
|
|
|
|
#ifdef HELLO_VFTABLE
|
|
HelloVFTable::HelloVFTable()
|
|
{
|
|
}
|
|
HelloVFTable::~HelloVFTable()
|
|
{
|
|
}
|
|
#endif
|