Skip to content

Commit

Permalink
Add 'Compiler' info to the 'Platform' information window
Browse files Browse the repository at this point in the history
  • Loading branch information
Benualdo committed Feb 16, 2025
1 parent 119092b commit 48f2449
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sharpmake/vg.application.sharpmake.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public override void ConfigureAll(Configuration conf, Target target)
// Explicitly link with the full path since the project depends on a non-Gfx API lib.
// This ensures the linker searches in the correct directory.
//conf.AddPrivateDependency<Core>(target);
conf.LibraryFiles.Add($"{SolutionDir}\\build\\lib\\{target.Optimization} {target.Compiler}\\core.lib");
conf.LibraryFiles.Add($"{SolutionDir}\\build\\lib\\{target.Platform}\\{target.Optimization} {target.Compiler}\\core.lib");

conf.AddPrivateDependency<Core>(target, DependencySetting.OnlyBuildOrder);

Expand Down
2 changes: 2 additions & 0 deletions src/editor/ImGui/Window/Platform/ImGuiPlatform.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,15 @@ namespace vg::editor
const auto & deviceParams = Editor::get()->getRenderer()->GetDeviceCreationParams();

ImGui::Text("Platform:");
ImGui::Text("Compiler:");
ImGui::Text("Configuration:");
ImGui::Text("Graphics API:");
ImGui::Text("Debug Device:");

ImGui::NextColumn();

ImGui::Text(Plugin::getPlatform().c_str());
ImGui::Text(Plugin::getCompiler().c_str());
ImGui::Text(Plugin::getConfiguration().c_str());
ImGui::Text(asString(deviceParams.api).c_str());
ImGui::Text(deviceParams.debugDevice ? "True" : "False");
Expand Down

0 comments on commit 48f2449

Please sign in to comment.