file structure and hello world program

This commit is contained in:
2026-05-06 22:18:03 -05:00
parent 5240970e1c
commit dc7ebdbb73
8 changed files with 36 additions and 2 deletions

2
.gitignore vendored Normal file
View File

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

25
CMakeLists.txt Normal file
View File

@@ -0,0 +1,25 @@
cmake_minimum_required(VERSION 3.10)
project(maiden)
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_INSTALL_PREFIX ${PROJECT_SOURCE_DIR})
# add_subdirectory() to nest CMakeLists
add_executable(maiden
src/main.cpp
# include extra source files here
)
target_include_directories(maiden PRIVATE
"${CMAKE_CURRENT_SOURCE_DIR}/src"
# add additional include directories here
)
target_link_libraries(maiden PRIVATE
# add libraries here
)

View File

@@ -15,5 +15,3 @@ The maiden project is a GPU accelerated 3D rendering engine built with C++ based
## Development Roadmap
### lots of todo here

0
assets/.gitkeep Normal file
View File

0
config/.gitkeep Normal file
View File

0
lib/.gitkeep Normal file
View File

0
scripts/build.sh Normal file
View File

9
src/main.cpp Normal file
View File

@@ -0,0 +1,9 @@
#include <iostream>
int main(int argc, char** argv) {
std::cout << "hi mom !" << std::endl;
return 0;
}