You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Docs already reference the Alpakit template in the master branch of
the SML repo, so there's no need to maintain a copy of the template
that is bound to become outdated over time. Also, update the name
to replace to `PLUGIN_NAME` as used in the Alpakit template.
Copy file name to clipboardExpand all lines: modules/ROOT/pages/Development/Cpp/setup.adoc
+1-92Lines changed: 1 addition & 92 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,102 +74,11 @@ to assist with this.
74
74
75
75
Within this new file you will need to add the following configuration text.
76
76
77
-
Make sure to replace all instances of `YourModReference` with your actual mod reference.
77
+
Make sure to replace all instances of `PLUGIN_NAME` with your actual mod reference.
78
78
79
79
The latest version of this template can be found in the
80
80
https://github.com/satisfactorymodding/SatisfactoryModLoader/blob/master/Mods/Alpakit/Templates/CPPAndBlueprintBlank/Source/PLUGIN_NAME/PLUGIN_NAME.Build.cs[Starter Project Repository as an Alpakit template].
81
81
82
-
// cspell:ignore ISPC
83
-
84
-
[source,cs]
85
-
----
86
-
using UnrealBuildTool;
87
-
using System.IO;
88
-
using System;
89
-
90
-
public class YourModReference : ModuleRules
91
-
{
92
-
public YourModReference(ReadOnlyTargetRules Target) : base(Target)
93
-
{
94
-
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs;
95
-
96
-
// FactoryGame transitive dependencies
97
-
// Not all of these are required, but including the extra ones saves you from having to add them later.
98
-
// Some entries are commented out to avoid compile-time warnings about depending on a module that you don't explicitly depend on.
99
-
// You can uncomment these as necessary when your code actually needs to use them.
0 commit comments