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

Fixed CopyToDependents for DLLs

This commit is contained in:
Brian Fiete 2022-01-12 12:58:51 -05:00
parent e79a3755fd
commit 63792924e0

View file

@ -1310,8 +1310,6 @@ namespace IDE
for (let checkProject in gApp.mWorkspace.mProjects)
{
if (checkProject.mGeneralOptions.mTargetType == .BeefLib)
continue;
if (checkProject.HasDependency(depProject.mProjectName))
{
List<String> targetPaths = scope .();
@ -1321,6 +1319,9 @@ namespace IDE
let options = gApp.GetCurProjectOptions(checkProject);
gApp.[Friend]GetTargetPaths(checkProject, gApp.mPlatformName, workspaceOptions, options, targetPaths);
if ((checkProject.mGeneralOptions.mTargetType == .BeefLib) && (options.mBuildOptions.mBuildKind != .DynamicLib))
continue;
if (!targetPaths.IsEmpty)
{
String targetDirPath = scope .();