1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Removed linking for static lib builds

This commit is contained in:
Brian Fiete 2021-06-28 05:47:37 -07:00
parent c4bb50b340
commit 42bee45635

View file

@ -180,7 +180,6 @@ namespace IDE
#endif
//String error = scope String();
bool isTest = options.mBuildOptions.mBuildKind == .Test;
bool isExe = ((project.mGeneralOptions.mTargetType != Project.TargetType.BeefLib) && (project.mGeneralOptions.mTargetType != Project.TargetType.BeefTest)) || (isTest);
if (!isExe)
@ -299,6 +298,9 @@ namespace IDE
bool isExe = ((project.mGeneralOptions.mTargetType != Project.TargetType.BeefLib) && (project.mGeneralOptions.mTargetType != Project.TargetType.BeefTest)) || (isTest);
bool isDynLib = project.mGeneralOptions.mTargetType == Project.TargetType.BeefDynLib;
if (options.mBuildOptions.mBuildKind == .StaticLib)
isExe = false;
if (isExe || isDynLib)
{
CopyLibFiles(targetPath, workspaceOptions, options);
@ -795,6 +797,9 @@ namespace IDE
bool isTest = options.mBuildOptions.mBuildKind == .Test;
bool isExe = ((project.mGeneralOptions.mTargetType != Project.TargetType.BeefLib) && (project.mGeneralOptions.mTargetType != Project.TargetType.BeefTest)) || (isTest);
if (options.mBuildOptions.mBuildKind == .StaticLib)
isExe = false;
if (isExe)
{
String linkLine = scope String();