From d5fd26f7e93c492f5f1960607246380328519523 Mon Sep 17 00:00:00 2001
From: Yuwei Xiao <xyw1105@126.com>
Date: Thu, 20 Feb 2020 20:38:04 +0800
Subject: [PATCH] windows build & update

---
 CMakeLists.txt  | 2 +-
 README.md       | 6 +++++-
 include/Gui.cpp | 4 ++--
 3 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1ec2487..84afcec 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,6 +1,6 @@
 
 cmake_minimum_required(VERSION 3.1)
-project(PBS)
+project(CA)
 
 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
 
diff --git a/README.md b/README.md
index 889ef4f..5ca8e54 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@ Code framework for course exercise.
 
 ## Installation
 
-Install **Git** and build system **Cmake**. 
+Install **Git** and build system **Cmake**. For windows user, MSVC need to be installed.
 
 ### Note for linux users
 
@@ -37,6 +37,10 @@ Compile and run the executable, e.g. Ubuntu:
 make && ./0_dummy/0_dummy
 ```
 
+### For Windows
+
+Cmake will generate Microsft visual studio project. Click the `*.sln` file to open the project and build.
+
 ## Exercise Handin
 
 **You only need to handin the directory containing the modified executable**. For example (homework 0), you only need to compress folder *0_dummy* and submit the compressed file. *Please don't include any build file, only the source code and related resource file*.
diff --git a/include/Gui.cpp b/include/Gui.cpp
index 7e22e59..d4659fc 100644
--- a/include/Gui.cpp
+++ b/include/Gui.cpp
@@ -12,7 +12,7 @@ void Gui::setSimulation(Simulation *sim) {
 }
 
 void Gui::start() {
-	// message: http://patorjk.com/software/taag/#p=display&v=0&f=Roman&t=PBS%2019
+	// message: http://patorjk.com/software/taag/#p=display&v=0&f=Roman&t=DALAB
 	std::string usage(
 		R"(
 oooooooooo.         .o.       ooooo              .o.       oooooooooo.  
@@ -306,7 +306,7 @@ bool Gui::mouseCallback(igl::opengl::glfw::Viewer &viewer,
 }
 
 void Gui::drawMenuWindow(igl::opengl::glfw::imgui::ImGuiMenu &menu) {
-	glfwSetWindowTitle(m_viewer.window, "PBS Exercises");
+	glfwSetWindowTitle(m_viewer.window, "CA Exercises");
 
 	float menu_width = 220.f * menu.menu_scaling();
 
-- 
GitLab