1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-14 22:34:09 +02:00

Bug fixes, installer, [Export]

Fixed a bunch of bugs in aggregate const initializers
Fixed ZIP bugs
Fixed a compilation case where we change protection while reifying a type
Added another project kind - Dynamic Library
Added [Export] for DLL method exporting
Fixed some issues of things being  generated as __NOINLINE incorrectly
Fixed an issue with module extensions with not-yet-demanded on-demand methods
Started adding Installer
This commit is contained in:
Brian Fiete 2019-08-27 08:04:41 -07:00
parent efa22e51fb
commit 09016c8dc0
135 changed files with 3615 additions and 2337 deletions

View file

@ -13,7 +13,6 @@ using IDE.ui;
using IDE.Util;
using System.Threading;
using System.Diagnostics;
using System.Runtime.InteropServices;
namespace IDE
{
@ -300,6 +299,9 @@ namespace IDE
if (mIncludeKind != .Manual)
return .None;
if (mParentFolder.mPath == null)
return .SimpleSource;
var expectPath = scope String();
expectPath.Append(mParentFolder.mPath);
expectPath.Append(Path.DirectorySeparatorChar);
@ -829,12 +831,13 @@ namespace IDE
public enum TargetType
{
case BeefConsoleApplication,
BeefWindowsApplication,
BeefLib,
CustomBuild,
C_ConsoleApplication,
C_WindowsApplication,
BeefTest;
BeefWindowsApplication,
BeefLib,
BeefDynLib,
CustomBuild,
C_ConsoleApplication,
C_WindowsApplication,
BeefTest;
public bool IsBeef
{
@ -843,9 +846,10 @@ namespace IDE
switch (this)
{
case BeefConsoleApplication,
BeefWindowsApplication,
BeefLib,
BeefTest: return true;
BeefWindowsApplication,
BeefLib,
BeefDynLib,
BeefTest: return true;
default: return false;
}
}
@ -1162,6 +1166,7 @@ namespace IDE
//public String mLastImportDir = new String() ~ delete _;
public bool mHasChanged;
public bool mNeedsTargetRebuild;
public bool mForceCustomCommands;
public bool mEnabled = true;
public bool mLocked;
public bool mLockedDefault;