Skip to content

Commit 752a882

Browse files
committed
nothing big
1 parent 092f30f commit 752a882

File tree

3 files changed

+17
-8
lines changed

3 files changed

+17
-8
lines changed

CMakeLists.txt

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,15 @@ add_custom_command(
8484
"copying ${CMAKE_CURRENT_SOURCE_DIR}/outputs to ${OUTPUT_DIR}/outputs"
8585
COMMENT "Copying output folder to build directory")
8686

87-
# Pack
88-
include (InstallRequiredSystemLibraries)
87+
install(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/bin/Release/
88+
DESTINATION .
89+
USE_SOURCE_PERMISSIONS
90+
PATTERN "*.pdb" EXCLUDE)
91+
92+
include(InstallRequiredSystemLibraries)
8993
set (CPACK_RESOURCE_FILE_LICENSE
90-
"${CMAKE_CURRENT_SOURCE_DIR}/License.txt")
91-
set (CPACK_PACKAGE_VERSION_MAJOR "${${PROJECT_NAME}_VERSION_MAJOR}")
92-
set (CPACK_PACKAGE_VERSION_MINOR "${${PROJECT_NAME}_VERSION_MINOR}")
93-
set(CPACK_SOURCE_GENERATOR "TGZ")
94-
include (CPack)
94+
"${CMAKE_CURRENT_SOURCE_DIR}/LICENSE")
95+
set(CPACK_PACKAGE_VERSION_MAJOR "${${PROJECT_NAME}_VERSION_MAJOR}")
96+
set(CPACK_PACKAGE_VERSION_MINOR "${${PROJECT_NAME}_VERSION_MINOR}")
97+
set(CPACK_GENERATOR "ZIP")
98+
include(CPack)

controls.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
WASDQE - camera movement
2+
1 - switch to default rendering mode
3+
2 - switch to CPU ray-tracing mode
4+
3 - switch to GPU ray-tracing mode
5+
F/G - show/hide cursor

include/UIManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ class LogWindow : public UIWindow {
9292
void drawWindow() override {
9393
if (!display) return;
9494
ImGui::SetNextWindowPos(ImVec2(ImGui::GetIO().DisplaySize.x - 240, 10), ImGuiCond_Always);
95-
ImGui::SetNextWindowSize(ImVec2(230, 170), ImGuiCond_Always);
95+
ImGui::SetNextWindowSize(ImVec2(230, 140), ImGuiCond_Always);
9696
if (ImGui::Begin("LOG", nullptr, ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoResize)) {
9797

9898
ImGui::Text("FPS: %.1f ", frameRateMonitor->getFPS()); ImGui::SameLine(); ImGui::Text("| %.1f ", frameRateMonitor->getAverageFPS());

0 commit comments

Comments
 (0)