Use .def for function exports (#625)
Cherry-picked from primedev Co-authored-by: F1F7Y <filip.bartos07@proton.me>
This commit is contained in:
parent
eda88bd170
commit
dcf6e1b1fd
|
@ -150,8 +150,8 @@ add_library(
|
|||
"util/wininfo.cpp"
|
||||
"util/wininfo.h"
|
||||
"dllmain.cpp"
|
||||
"dllmain.h"
|
||||
"ns_version.h"
|
||||
"Northstar.def"
|
||||
)
|
||||
|
||||
target_link_libraries(
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
LIBRARY dedicated
|
||||
|
||||
EXPORTS
|
||||
InitialiseNorthstar @1
|
|
@ -1,4 +1,3 @@
|
|||
#include "dllmain.h"
|
||||
#include "logging/logging.h"
|
||||
#include "logging/crashhandler.h"
|
||||
#include "core/memalloc.h"
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
#pragma once
|
||||
|
||||
extern "C" __declspec(dllexport) bool InitialiseNorthstar();
|
Loading…
Reference in New Issue