hello world

This commit is contained in:
2026-04-10 12:42:10 -05:00
parent de02f3e960
commit a7333861b4
6 changed files with 47 additions and 4 deletions

2
.gitignore vendored
View File

@@ -0,0 +1,2 @@
build/*

View File

@@ -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
)

View File

@@ -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
View File

0
lib/.gitkeep Normal file
View File

View File

@@ -0,0 +1,8 @@
#include <iostream>
int main(int arg, char *argv[]) {
std::cout << "Hi mom" << std::endl;
}