Commit d5fd26f7 authored by Yuwei Xiao's avatar Yuwei Xiao
Browse files

windows build & update

parent d910db64
cmake_minimum_required(VERSION 3.1)
project(PBS)
project(CA)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
......
......@@ -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*.
......
......@@ -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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment