Skip to content

Commit

Permalink
Update Scons Setups
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaren882 committed Nov 12, 2024
1 parent 43f6eb3 commit 9856a38
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ def buildSymlink(pathFrom, pathTo):
return commands

def buildPbo(settings,env, pbo):
optBinarize = "-binarize=C:\\Windows\\System32\\print.exe" if pbo.name in settings["noBinarize"] else ""
optBinarize = "-packonly" if pbo.name in settings["noBinarize"] else ""
cfgConvertArg = "-cfgconvert=asdfafds" # + a3toolsPath() + "\\CfgConvert\\CfgConvert.exe"
env.Command(pbo.outputPath, allFilesIn(pbo.folder)+["build"],
f'"{addonBuilderPath()}" "{os.path.abspath(pbo.buildSymlink)}" "{os.path.abspath(settings["outputFolder"])}" "-packonly" "-project=build" "-prefix={pbo.pboPrefix}" -include=tools\\buildExtIncludes.txt {optBinarize}')
f'"{addonBuilderPath()}" "{os.path.abspath(pbo.buildSymlink)}" "{os.path.abspath(settings["outputFolder"])}" "-project=build" "-prefix={pbo.pboPrefix}" -include=tools\\buildExtIncludes.txt {optBinarize}')
targetDefinition(pbo.name, f"Build the {pbo.name} pbo.")
return env.Alias(pbo.name, pbo.outputPath)

Expand Down
2 changes: 1 addition & 1 deletion tools/buildExtIncludes.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
*.bin;*.bisurf;*.cfg;*.cpp;*.fxy;*.hpp;*.h;*.ogg;*.p3d;*.paa;*.PAA;*.rtm;*.rvmat;*.sqf;*.sqs;*.tga;*.wss;*.xml;*.jpg;*.ext;*.sqm
*.bin;*.bisurf;*.cfg;*.fxy;*.hpp;*.h;*.ogg;*.p3d;*.paa;*.PAA;*.rtm;*.rvmat;*.sqf;*.sqs;*.tga;*.wss;*.xml;*.ext;*.sqm

0 comments on commit 9856a38

Please sign in to comment.