FUCK vscode
This commit is contained in:
@ -1,20 +0,0 @@
|
||||
#if defined _WIN32 || defined _WIN64
|
||||
#include <Windows.h>
|
||||
|
||||
#define EXAMPLELIBRARY_EXPORT __declspec(dllexport)
|
||||
#else
|
||||
#include <stdio.h>
|
||||
#endif
|
||||
|
||||
#ifndef EXAMPLELIBRARY_EXPORT
|
||||
#define EXAMPLELIBRARY_EXPORT
|
||||
#endif
|
||||
|
||||
EXAMPLELIBRARY_EXPORT void ExampleLibraryFunction()
|
||||
{
|
||||
#if defined _WIN32 || defined _WIN64
|
||||
MessageBox(NULL, TEXT("Loaded ExampleLibrary.dll from Third Party Plugin sample."), TEXT("Third Party Plugin"), MB_OK);
|
||||
#else
|
||||
printf("Loaded ExampleLibrary from Third Party Plugin sample");
|
||||
#endif
|
||||
}
|
@ -1,158 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup Label="ProjectConfigurations">
|
||||
<ProjectConfiguration Include="Debug|Win32">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Debug|x64">
|
||||
<Configuration>Debug</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|Win32">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>Win32</Platform>
|
||||
</ProjectConfiguration>
|
||||
<ProjectConfiguration Include="Release|x64">
|
||||
<Configuration>Release</Configuration>
|
||||
<Platform>x64</Platform>
|
||||
</ProjectConfiguration>
|
||||
</ItemGroup>
|
||||
<PropertyGroup Label="Globals">
|
||||
<ProjectGuid>{9B50F1F8-0116-442C-A071-F5C3A120A5CB}</ProjectGuid>
|
||||
<Keyword>Win32Proj</Keyword>
|
||||
<RootNamespace>ExampleLibrary</RootNamespace>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v143</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>Unicode</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||
<ImportGroup Label="ExtensionSettings">
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||
</ImportGroup>
|
||||
<PropertyGroup Label="UserMacros" />
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<LinkIncremental>true</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<LinkIncremental>false</LinkIncremental>
|
||||
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||
</PropertyGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;EXAMPLELIBRARY_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||
<ClCompile>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Disabled</Optimization>
|
||||
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;EXAMPLELIBRARY_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;EXAMPLELIBRARY_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<PrecompiledHeader>
|
||||
</PrecompiledHeader>
|
||||
<Optimization>MaxSpeed</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;EXAMPLELIBRARY_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||
<SDLCheck>true</SDLCheck>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<SubSystem>Windows</SubSystem>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
</Link>
|
||||
<PostBuildEvent>
|
||||
<Command>copy "$(TargetPath)" "$(SolutionDir)..\..\..\Binaries\ThirdParty\hstherac25Library\Win64\"</Command>
|
||||
</PostBuildEvent>
|
||||
</ItemDefinitionGroup>
|
||||
<ItemGroup>
|
||||
<ClCompile Include="ExampleLibrary.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="Public\hstherac25Library\ExampleLibrary.h" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||
<ImportGroup Label="ExtensionTargets">
|
||||
</ImportGroup>
|
||||
</Project>
|
@ -1,9 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ItemGroup>
|
||||
<ClCompile Include="ExampleLibrary.cpp" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="Public\PLUGIN_NAMELibrary\ExampleLibrary.h" />
|
||||
</ItemGroup>
|
||||
</Project>
|
Binary file not shown.
@ -1,9 +0,0 @@
|
||||
#if defined _WIN32 || defined _WIN64
|
||||
#define EXAMPLELIBRARY_IMPORT __declspec(dllimport)
|
||||
#elif defined __linux__
|
||||
#define EXAMPLELIBRARY_IMPORT __attribute__((visibility("default")))
|
||||
#else
|
||||
#define EXAMPLELIBRARY_IMPORT
|
||||
#endif
|
||||
|
||||
EXAMPLELIBRARY_IMPORT void ExampleLibraryFunction();
|
@ -1,37 +0,0 @@
|
||||
// Fill out your copyright notice in the Description page of Project Settings.
|
||||
|
||||
using System.IO;
|
||||
using UnrealBuildTool;
|
||||
|
||||
public class hstherac25Library : ModuleRules
|
||||
{
|
||||
public hstherac25Library(ReadOnlyTargetRules Target) : base(Target)
|
||||
{
|
||||
Type = ModuleType.External;
|
||||
PublicSystemIncludePaths.Add("$(ModuleDir)/Public");
|
||||
|
||||
if (Target.Platform == UnrealTargetPlatform.Win64)
|
||||
{
|
||||
// Add the import library
|
||||
PublicAdditionalLibraries.Add(Path.Combine(ModuleDirectory, "x64", "Release", "ExampleLibrary.lib"));
|
||||
|
||||
// Delay-load the DLL, so we can load it from the right place first
|
||||
PublicDelayLoadDLLs.Add("ExampleLibrary.dll");
|
||||
|
||||
// Ensure that the DLL is staged along with the executable
|
||||
RuntimeDependencies.Add("$(PluginDir)/Binaries/ThirdParty/hstherac25Library/Win64/ExampleLibrary.dll");
|
||||
}
|
||||
else if (Target.Platform == UnrealTargetPlatform.Mac)
|
||||
{
|
||||
PublicDelayLoadDLLs.Add(Path.Combine(ModuleDirectory, "Mac", "Release", "libExampleLibrary.dylib"));
|
||||
RuntimeDependencies.Add("$(PluginDir)/Source/ThirdParty/hstherac25Library/Mac/Release/libExampleLibrary.dylib");
|
||||
}
|
||||
else if (Target.Platform == UnrealTargetPlatform.Linux)
|
||||
{
|
||||
string ExampleSoPath = Path.Combine("$(PluginDir)", "Binaries", "ThirdParty", "hstherac25Library", "Linux", "x86_64-unknown-linux-gnu", "libExampleLibrary.so");
|
||||
PublicAdditionalLibraries.Add(ExampleSoPath);
|
||||
PublicDelayLoadDLLs.Add(ExampleSoPath);
|
||||
RuntimeDependencies.Add(ExampleSoPath);
|
||||
}
|
||||
}
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<TpsData xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<Notification>
|
||||
Notes: This is a sample module and not actually third party.
|
||||
</Notification>
|
||||
</TpsData>
|
Binary file not shown.
Binary file not shown.
1
Plugins/hstherac25/Source/hstherac-hs
Submodule
1
Plugins/hstherac25/Source/hstherac-hs
Submodule
Submodule Plugins/hstherac25/Source/hstherac-hs added at 2d690cf0fe
68
Plugins/hstherac25/Source/hstherac25/Private/Therac.h
Normal file
68
Plugins/hstherac25/Source/hstherac25/Private/Therac.h
Normal file
@ -0,0 +1,68 @@
|
||||
#include <HsFFI.h>
|
||||
|
||||
typedef enum ExtCallType {
|
||||
CheekyPadding,
|
||||
ExtCallSendMEOS,
|
||||
ExtCallToggleDatentComplete,
|
||||
ExtCallToggleEditingTakingPlace,
|
||||
ExtCallReset,
|
||||
ExtCallProceed
|
||||
} ExtCallType;
|
||||
|
||||
typedef enum BeamType {
|
||||
BTCheekyPadding,
|
||||
BeamTypeXRay,
|
||||
BeamTypeElectron,
|
||||
BeamTypeUndefined
|
||||
} BeamType;
|
||||
typedef enum CollimatorPosition {
|
||||
CPCheekyPadding,
|
||||
CollimatorPositionXRay,
|
||||
CollimatorPositionElectronBeam,
|
||||
CollimatorPositionUndefined
|
||||
} CollimatorPosition;
|
||||
typedef enum StateInfoRequest {
|
||||
SIRCheekyPadding,
|
||||
RequestTreatmentOutcome,
|
||||
RequestActiveSubsystem,
|
||||
RequestTreatmentState,
|
||||
RequestReason,
|
||||
RequestBeamMode,
|
||||
RequestBeamEnergy
|
||||
} StateInfoRequest;
|
||||
#ifdef __cplusplus
|
||||
extern "C" { // only need to export C interface if
|
||||
// used by C++ source code
|
||||
#endif
|
||||
#if mingw32_HOST_OS || _WIN32
|
||||
__declspec(dllexport) HsStablePtr start_machine();
|
||||
__declspec(dllexport) void kill_machine();
|
||||
__declspec(dllexport) void wrap_external_call(
|
||||
HsStablePtr wrapped_comms,
|
||||
ExtCallType ext_call_type,
|
||||
BeamType beam_type,
|
||||
CollimatorPosition collimator_position,
|
||||
HsInt beam_energy
|
||||
);
|
||||
__declspec(dllexport) HsPtr request_state_info(
|
||||
HsStablePtr wrapped_comms,
|
||||
StateInfoRequest state_info_request
|
||||
);
|
||||
#else
|
||||
HsStablePtr start_machine();
|
||||
void kill_machine();
|
||||
void wrap_external_call(
|
||||
HsStablePtr wrapped_comms,
|
||||
ExtCallType ext_call_type,
|
||||
BeamType beam_type,
|
||||
CollimatorPosition collimator_position,
|
||||
HsInt beam_energy
|
||||
);
|
||||
HsPtr request_state_info(
|
||||
HsStablePtr wrapped_comms,
|
||||
StateInfoRequest state_info_request
|
||||
);
|
||||
#endif
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
@ -6,50 +6,71 @@
|
||||
#include "Interfaces/IPluginManager.h"
|
||||
#include "Misc/Paths.h"
|
||||
#include "HAL/PlatformProcess.h"
|
||||
#include "hstherac25Library/ExampleLibrary.h"
|
||||
#include "Therac.h"
|
||||
|
||||
#define LOCTEXT_NAMESPACE "Fhstherac25Module"
|
||||
|
||||
void Fhstherac25Module::StartupModule()
|
||||
{
|
||||
// This code will execute after your module is loaded into memory; the exact timing is specified in the .uplugin file per-module
|
||||
void Fhstherac25Module::StartupModule() {
|
||||
// This code will execute after your module is loaded into memory; the exact
|
||||
// timing is specified in the .uplugin file per-module
|
||||
|
||||
// Get the base directory of this plugin
|
||||
FString BaseDir = IPluginManager::Get().FindPlugin("hstherac25")->GetBaseDir();
|
||||
// Get the base directory of this plugin
|
||||
FString BaseDir =
|
||||
IPluginManager::Get().FindPlugin("hstherac25")->GetBaseDir();
|
||||
|
||||
// Add on the relative location of the third party dll and load it
|
||||
FString LibraryPath;
|
||||
// Add on the relative location of the third party dll and load it
|
||||
FString LibraryPath;
|
||||
#if PLATFORM_WINDOWS
|
||||
LibraryPath = FPaths::Combine(*BaseDir, TEXT("Binaries/ThirdParty/hstherac25Library/Win64/ExampleLibrary.dll"));
|
||||
LibraryPath = FPaths::Combine(*BaseDir, TEXT("Source/hstherac-hs/HSdll.dll"));
|
||||
|
||||
#elif PLATFORM_MAC
|
||||
LibraryPath = FPaths::Combine(*BaseDir, TEXT("Source/ThirdParty/hstherac25Library/Mac/Release/libExampleLibrary.dylib"));
|
||||
LibraryPath = FPaths::Combine(
|
||||
*BaseDir,
|
||||
TEXT(
|
||||
"Source/ThirdParty/hstherac25Library/Mac/Release/"
|
||||
"libExampleLibrary.dylib"
|
||||
)
|
||||
);
|
||||
#elif PLATFORM_LINUX
|
||||
LibraryPath = FPaths::Combine(*BaseDir, TEXT("Binaries/ThirdParty/hstherac25Library/Linux/x86_64-unknown-linux-gnu/libExampleLibrary.so"));
|
||||
LibraryPath = FPaths::Combine(
|
||||
*BaseDir,
|
||||
TEXT(
|
||||
"Binaries/ThirdParty/hstherac25Library/Linux/"
|
||||
"x86_64-unknown-linux-gnu/libExampleLibrary.so"
|
||||
)
|
||||
);
|
||||
#endif // PLATFORM_WINDOWS
|
||||
|
||||
ExampleLibraryHandle = !LibraryPath.IsEmpty() ? FPlatformProcess::GetDllHandle(*LibraryPath) : nullptr;
|
||||
ExampleLibraryHandle = !LibraryPath.IsEmpty()
|
||||
? FPlatformProcess::GetDllHandle(*LibraryPath)
|
||||
: nullptr;
|
||||
|
||||
if (ExampleLibraryHandle)
|
||||
{
|
||||
// Call the test function in the third party library that opens a message box
|
||||
ExampleLibraryFunction();
|
||||
}
|
||||
else
|
||||
{
|
||||
FMessageDialog::Open(EAppMsgType::Ok, LOCTEXT("ThirdPartyLibraryError", "Failed to load example third party library"));
|
||||
}
|
||||
if (ExampleLibraryHandle) {
|
||||
// Call the test function in the third party library that opens a message
|
||||
// box
|
||||
// ExampleLibraryFunction();
|
||||
HsStablePtr wc = start_machine();
|
||||
} else {
|
||||
FMessageDialog::Open(
|
||||
EAppMsgType::Ok,
|
||||
LOCTEXT(
|
||||
"ThirdPartyLibraryError",
|
||||
"Failed to load example third party library"
|
||||
)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
void Fhstherac25Module::ShutdownModule()
|
||||
{
|
||||
// This function may be called during shutdown to clean up your module. For modules that support dynamic reloading,
|
||||
// we call this function before unloading the module.
|
||||
void Fhstherac25Module::ShutdownModule() {
|
||||
// This function may be called during shutdown to clean up your module. For
|
||||
// modules that support dynamic reloading, we call this function before
|
||||
// unloading the module.
|
||||
|
||||
// Free the dll handle
|
||||
FPlatformProcess::FreeDllHandle(ExampleLibraryHandle);
|
||||
ExampleLibraryHandle = nullptr;
|
||||
// Free the dll handle
|
||||
FPlatformProcess::FreeDllHandle(ExampleLibraryHandle);
|
||||
ExampleLibraryHandle = nullptr;
|
||||
}
|
||||
|
||||
#undef LOCTEXT_NAMESPACE
|
||||
|
||||
|
||||
IMPLEMENT_MODULE(Fhstherac25Module, hstherac25)
|
||||
|
@ -1,51 +1,62 @@
|
||||
// Copyright Epic Games, Inc. All Rights Reserved.
|
||||
|
||||
using UnrealBuildTool;
|
||||
using System;
|
||||
using System.IO;
|
||||
|
||||
public class hstherac25 : ModuleRules
|
||||
{
|
||||
public hstherac25(ReadOnlyTargetRules Target) : base(Target)
|
||||
{
|
||||
PCHUsage = ModuleRules.PCHUsageMode.UseExplicitOrSharedPCHs;
|
||||
|
||||
|
||||
PublicIncludePaths.AddRange(
|
||||
new string[] {
|
||||
// ... add public include paths required here ...
|
||||
"C:/ghcup/ghc/9.6.7/include",
|
||||
|
||||
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
|
||||
|
||||
PrivateIncludePaths.AddRange(
|
||||
new string[] {
|
||||
"C:/ghcup/ghc/9.6.7/include",
|
||||
|
||||
// "C:/ghcup/ghc/9.6.7/include",
|
||||
// "${workspaceFolder}/Plugins/hstherac25/Source/hstherac-hs/csrc",
|
||||
// "${workspaceFolder}/Plugins/hstherac25/Source/hstherac-hs/dist-newstyle/build/x86_64-windows/ghc-9.6.7/hstherac25-0.1.0.0/build"
|
||||
// ... add other private include paths required here ...
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
|
||||
|
||||
PublicDependencyModuleNames.AddRange(
|
||||
new string[]
|
||||
{
|
||||
"Core",
|
||||
"hstherac25Library",
|
||||
"Projects"
|
||||
// ... add other public dependencies that you statically link with here ...
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
|
||||
|
||||
PrivateDependencyModuleNames.AddRange(
|
||||
new string[]
|
||||
{
|
||||
// ... add private dependencies that you statically link with here ...
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
|
||||
|
||||
DynamicallyLoadedModuleNames.AddRange(
|
||||
new string[]
|
||||
{
|
||||
|
||||
// ... add any modules that your module loads dynamically here ...
|
||||
}
|
||||
);
|
||||
PublicAdditionalLibraries.Add(Path.Combine(ModuleDirectory, "../hstherac-hs", "HSdll.dll.a"));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user