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:
parent
c4bb50b340
commit
42bee45635
1 changed files with 6 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue