... | ... | @@ -8,21 +8,16 @@ |
|
|
* GL_ARB_compute_variable_group_size
|
|
|
* GL_NV_gpu_shader5
|
|
|
* GL_NV_shader_buffer_load
|
|
|
* OpenGL 4.3+
|
|
|
* Visual Studio 2015 or 2017
|
|
|
* CMake 3.1
|
|
|
* OpenGL 4.5+
|
|
|
* Visual Studio 2017 with C++17
|
|
|
* CMake 3.8
|
|
|
|
|
|
### Setup
|
|
|
* **Visual Studio 2015** - Run the cmake.bat via CMD. If the CMake setup finishes without problems, you have a folder called `build_VS` which contains the needed Project files.
|
|
|
* **Visual Studio 2017** - With official CMake support, it's now possible to just right-click in the root folder (which contains `src`, `lib`, `include` and so on) and then click on `Open in Visual Studio`.
|
|
|
* **Visual Studio 2017** - Right click on the root folder containing the `src`, `assets` and other folders, and then click on `Open in Visual Studio`.
|
|
|
|
|
|
In both cases it's best to switch to a 64-bit build mode.
|
|
|
|
|
|
**INFO:** If you don't find them: The shaders reside in the `assets/shaders` folder.
|
|
|
**INFO:** The shaders reside in the `assets/shaders` folder.
|
|
|
|
|
|
### Adding anything
|
|
|
If you want to add a new executable, create a new folder in `src/executables`, name it as you like and add a `main.cpp`. That's it.
|
|
|
|
|
|
If you want to create a new class, you can either use a tool you like in your IDE, add the files manually or run the `add_class.bat`. There you can type in a path, relative to the `src` folder, a name for your new class and a namespace. The resulting C++ class will then be available as glare::your_namespace::your_class.
|
|
|
|
|
|
You can also add a new library just as easily as adding a new executable. Add a folder to `src/libraries`, name it as you wish and add classes to your liking. |
|
|
\ No newline at end of file |
|
|
You can also add a new library just as easily. Add a folder to `src/libraries`, name it as you wish and add classes to your liking. |
|
|
\ No newline at end of file |