hello world
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -0,0 +1,2 @@
|
|||||||
|
|
||||||
|
build/*
|
||||||
|
|||||||
@@ -0,0 +1,15 @@
|
|||||||
|
|
||||||
|
cmake_minimum_required(VERSION 3.2)
|
||||||
|
|
||||||
|
project(ouros)
|
||||||
|
|
||||||
|
set(CMAKE_CXX_STANDARD 20)
|
||||||
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++20 -O3")
|
||||||
|
|
||||||
|
set(CMAKE_INSTALL_PREFIX ${PROJECT_SOURCE_DIR})
|
||||||
|
|
||||||
|
#add_subdirectory(src)
|
||||||
|
|
||||||
|
add_executable(ouros
|
||||||
|
src/main.cpp
|
||||||
|
)
|
||||||
|
|||||||
26
README.md
26
README.md
@@ -13,8 +13,8 @@ Ouros is a rudimentary 3D rendering application built with C++ utilizing the Vul
|
|||||||
|
|
||||||
## Roadmap
|
## Roadmap
|
||||||
Below is some steps to organize development plan and future goals, mostly following Sascha's guide.
|
Below is some steps to organize development plan and future goals, mostly following Sascha's guide.
|
||||||
- [ ] Repo setup
|
- [x] Repo setup
|
||||||
- [ ] Hello world application
|
- [x] Hello world application
|
||||||
- [ ] Window creation (glfw or sdl)
|
- [ ] Window creation (glfw or sdl)
|
||||||
- [ ] Vulkan installation
|
- [ ] Vulkan installation
|
||||||
- [ ] Hello Vulkan: instance creation
|
- [ ] Hello Vulkan: instance creation
|
||||||
@@ -38,8 +38,26 @@ Below is beyond Sascha's guide, but available elsewhere on his github. These are
|
|||||||
- [ ] Particles
|
- [ ] Particles
|
||||||
|
|
||||||
## Build instructions
|
## Build instructions
|
||||||
TODO: git clone, build/install libraries script, cmake commands, etc.
|
|
||||||
TODO: identify dependencies and how to install them (vulkan libraries, sdl, glm, etc.)
|
### Dependencies:
|
||||||
|
- CMake > 3.2
|
||||||
|
- C++20
|
||||||
|
- Vulkan compatible gpu drivers (tested with an RTX3070 and an R9700)
|
||||||
|
- Will add more as the project grows
|
||||||
|
|
||||||
|
### Clone respository:
|
||||||
|
```bash
|
||||||
|
$ git clone https://git.vxbard.net/homeburger/ouros.git --recursive
|
||||||
|
```
|
||||||
|
### Configure and build project:
|
||||||
|
```bash
|
||||||
|
$ cmake -S . -B build
|
||||||
|
$ cmake --build build -j
|
||||||
|
```
|
||||||
|
### Execute application:
|
||||||
|
```bash
|
||||||
|
$ ./build/ouros
|
||||||
|
```
|
||||||
|
|
||||||
## Additional Resources
|
## Additional Resources
|
||||||
- https://howtovulkan.com/
|
- https://howtovulkan.com/
|
||||||
|
|||||||
0
config/.gitkeep
Normal file
0
config/.gitkeep
Normal file
0
lib/.gitkeep
Normal file
0
lib/.gitkeep
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
int main(int arg, char *argv[]) {
|
||||||
|
|
||||||
|
std::cout << "Hi mom" << std::endl;
|
||||||
|
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user