Skip to content

Commit

Permalink
Merge branch 'master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
sammyfreg committed Dec 11, 2023
2 parents 04918a2 + 33c2cd0 commit 528b263
Show file tree
Hide file tree
Showing 9 changed files with 444 additions and 4 deletions.
Binary file added Build/Sharpmake/Sharpmake.Application
Binary file not shown.
13 changes: 11 additions & 2 deletions Build/netImgui.sharpmake.cs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,14 @@ public override void ConfigureAll(Configuration conf, NetImguiTarget target)
conf.Options.Add(new Options.Vc.Linker.DisableSpecificWarnings("4099")); //Prevents: warning LNK4099: PDB '' was not found with 'glfw3_mtd.lib(context.c.obj)' or at ''; linking object as if no debug info
//---------------------------------------------

conf.EventPostBuild.Add("xcopy \"" + NetImguiTarget.GetPath(@"\Code\ServerApp\Background.png") + "\" \"" + conf.TargetPath + "\" /D /Y");
if (target.DevEnv == DevEnv.xcode4ios)
{
conf.Options.Add(new Sharpmake.Options.XCode.Compiler.InfoPListFile(NetImguiTarget.GetPath(@"/Code/ServerApp/info.plist")));
}
else
{
conf.EventPostBuild.Add("xcopy \"" + NetImguiTarget.GetPath(@"\Code\ServerApp\Background.png") + "\" \"" + conf.TargetPath + "\" /D /Y");
}
}

private string getGlfwLibName(Platform platform, DevEnv developerEnv)
Expand All @@ -102,7 +109,9 @@ private string getGlfwLibName(Platform platform, DevEnv developerEnv)
libName += "-vc2019";
} else if( developerEnv == DevEnv.vs2017 ) {
libName += "-vc2017";
}
} else if( developerEnv == DevEnv.xcode4ios ) {
libName += "-macos-universal";
}

if (platform == Platform.win64) {
libName += "-64";
Expand Down
2 changes: 1 addition & 1 deletion Build/readme.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
This folder contains files needed to generate the various NetImgui projects.

User can safely ignore its content; only "GenerateProject.bat" needs calling.
User can safely ignore its content; only "GenerateProject.bat" needs calling, or "GenerateProject.sh" on macOS.

Optionally, "GenerateCompatibilityTest.bat" can be called to get older versions of Dear ImGui and test compatibility of NetImgui against all of them.
Loading

0 comments on commit 528b263

Please sign in to comment.