Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
619 commits
Select commit Hold shift + click to select a range
f79f185
window pull events
Maksasj Jul 14, 2024
7a6222d
working debug camera
Maksasj Jul 14, 2024
d3a59a6
fixed build issues
Maksasj Jul 14, 2024
eed6b19
Merge pull request #167 from Maksasj/google-test
Soskar1 Jul 15, 2024
7dcbdcc
vertex refactoring
Maksasj Jul 15, 2024
ca00fc9
Merge branch 'dev' of https://github.com/Maksasj/bebone into 25-renderer
Maksasj Jul 15, 2024
6fe4579
Merge branch 'dev' of https://github.com/Maksasj/bebone into math
Soskar1 Jul 15, 2024
f829cec
refactored camera code
Maksasj Jul 15, 2024
27c023c
removed TODO.md file
Maksasj Jul 15, 2024
0cc4747
base for viewport resizing
Maksasj Jul 15, 2024
4e12572
refactored G pass shader code
Maksasj Jul 15, 2024
f493ff0
Added unit tests for vec2
Soskar1 Jul 15, 2024
35521f0
Added tests for Vec3. Fixed Vec3.splat
Soskar1 Jul 15, 2024
5abc608
base for materials
Maksasj Jul 15, 2024
d023bc8
base for 4th example
Maksasj Jul 15, 2024
857d542
passing viewport size to pbr render graph
Maksasj Jul 15, 2024
1253e44
Added tests for vec4. Fixed vec4 methods
Soskar1 Jul 15, 2024
f28f90a
todo
Maksasj Jul 15, 2024
e29d948
base for program manager and model system
Maksasj Jul 16, 2024
2f6f292
little code refactoring
Maksasj Jul 16, 2024
267f739
Added tests for Matrix2x2f
Soskar1 Jul 16, 2024
f3c2058
Added tests for Matrix3x3f. Fixed Matrix3x3f
Soskar1 Jul 16, 2024
be4f755
material ubo
Maksasj Jul 17, 2024
69f5450
removed old bindless api
Maksasj Jul 17, 2024
f22acee
binding managed pipelines
Maksasj Jul 17, 2024
2d36299
bindless pipeline layout
Maksasj Jul 17, 2024
3172428
new working bindless model implementation
Maksasj Jul 17, 2024
b071367
removed VulkanManagedPipelineTuple class
Maksasj Jul 17, 2024
c7b96eb
fixed vulkan cube example
Maksasj Jul 17, 2024
65b6a55
fixed vulkan texture example
Maksasj Jul 17, 2024
7b88f4a
little fix
Maksasj Jul 17, 2024
b4b5d5b
fixed vulkan hello triangle example
Maksasj Jul 17, 2024
e2a39dc
base for texture manager
Maksasj Jul 17, 2024
51d4c3c
Made tests more compact
Soskar1 Jul 17, 2024
92c968c
Added tests for Matrix4x4
Soskar1 Jul 17, 2024
1d41189
Removed old tests
Soskar1 Jul 17, 2024
a90c7c2
rewrote vulkan render graph api with new bindless api
Maksasj Jul 17, 2024
b4272f0
fixed vulkan renderer scene example
Maksasj Jul 17, 2024
a39e341
renderer uses texture handles
Maksasj Jul 18, 2024
f26c061
Added is_normalized method
Soskar1 Jul 18, 2024
2de6b43
Added rotation matrix for matrix2x2
Soskar1 Jul 18, 2024
9df00f8
Added reflection and involution matrices
Soskar1 Jul 18, 2024
1fbed48
base for mesh and material managers
Maksasj Jul 18, 2024
a269bcd
Added scale matrices
Soskar1 Jul 18, 2024
86da3bb
removed is_normalized check
Soskar1 Jul 18, 2024
824f081
Added translation matrix
Soskar1 Jul 18, 2024
0c311d0
Added skew
Soskar1 Jul 18, 2024
8fb1e63
base for new material system
Maksasj Jul 18, 2024
0990b7e
Added perspective matrix
Soskar1 Jul 18, 2024
579d6a9
removed old perspective matrix
Soskar1 Jul 18, 2024
78527a1
Added view matrix (not tested yet)
Soskar1 Jul 18, 2024
cc2ebb2
Fixed perspective matrix
Soskar1 Jul 18, 2024
0e402cd
fixed orthographic matrix
Soskar1 Jul 20, 2024
0c40ad5
Fixed flappy bird example
Soskar1 Jul 20, 2024
bb74448
Fixed perspective matrix
Soskar1 Jul 20, 2024
2ed3e94
Fixed view matrix
Soskar1 Jul 20, 2024
db346d4
Removed comments
Soskar1 Jul 20, 2024
4f0c4b1
Removed BEBONE_TYPES_MATRIX4X4_PROJECTION_MATRIX_INVERSE_Y_AXIS define
Soskar1 Jul 20, 2024
adc4f1f
Removed preprocessor checks
Soskar1 Jul 20, 2024
ad3b607
Fixed Bexel example
Soskar1 Jul 20, 2024
c37f435
Merge branch 'math' of https://github.com/Maksasj/bebone into unneces…
Soskar1 Jul 20, 2024
8ecfb9a
Removed BEBONE_TYPES_MATRIX_COLUMN_MAJOR_ORDER define
Soskar1 Jul 20, 2024
7e426df
Added const refs to matrix constructors
Soskar1 Jul 21, 2024
252d4d0
Changed view matrix in OpenGL 3D cube example
Soskar1 Jul 21, 2024
12a76f7
Changed float's to f32
Soskar1 Jul 21, 2024
9f9e77c
Added look_at
Soskar1 Jul 21, 2024
6930cd1
added references to look_at
Soskar1 Jul 21, 2024
47d07f1
Changed float's to f32
Soskar1 Jul 21, 2024
585cee6
Changed float to f32
Soskar1 Jul 21, 2024
f284ae9
Removed model matrix in Flappy Bird example
Soskar1 Jul 21, 2024
5ad7943
Merge pull request #179 from Maksasj/math
Soskar1 Jul 21, 2024
7cdb459
Merge branch 'dev' of https://github.com/Maksasj/bebone into 25-renderer
Maksasj Jul 21, 2024
131e8bc
Merge branch 'dev' of https://github.com/Maksasj/bebone into unnecess…
Soskar1 Jul 21, 2024
d3bf9b3
Merge pull request #180 from Maksasj/unnecessary-defines
Soskar1 Jul 21, 2024
76c5e04
Merge branch 'dev' of https://github.com/Maksasj/bebone into 25-renderer
Maksasj Jul 21, 2024
1ac69b1
fixed build issues
Maksasj Jul 21, 2024
062657c
fixed some issues
Maksasj Jul 21, 2024
ce0d8eb
bebone uses counter-clockwise (CCW) winding order for vertex data
Maksasj Jul 21, 2024
2a9e307
Fixed view matrix. Fixed bexel example. Fixed 3d cube example
Soskar1 Jul 23, 2024
5a88cdf
Fixed 3d vulkan cube example
Soskar1 Jul 23, 2024
1f69d23
view matrix fix
Soskar1 Jul 23, 2024
b9a3390
Merge branch 'matrix-fix' of https://github.com/Maksasj/bebone into m…
Soskar1 Jul 23, 2024
f6db9a6
Merge pull request #184 from Maksasj/matrix-fix
Soskar1 Jul 23, 2024
5ae58cd
Merge branch 'dev' of https://github.com/Maksasj/bebone into 25-renderer
Maksasj Jul 25, 2024
c226cd2
merged
Maksasj Jul 25, 2024
f07c5b7
removed opengl namespace
Maksasj Jul 29, 2024
ef124a1
little code refactoring
Maksasj Jul 29, 2024
3ff275e
removed opengl renderer
Maksasj Jul 29, 2024
f058091
added back opengl triangle meshes as utils classes
Maksasj Jul 29, 2024
4d3da1e
flipping viewport in vulkan renderer
Maksasj Jul 29, 2024
d3704ab
inverse y axis for matrix
Maksasj Jul 29, 2024
0c43d38
viewport flipping for deferred g pass
Maksasj Jul 29, 2024
5af5d7b
added polymorphic destructors
Maksasj Jul 29, 2024
5c3185e
Revert "added polymorphic destructors"
Maksasj Jul 29, 2024
83897ab
camera y axis flip in right order
Maksasj Jul 29, 2024
fd0d289
reorganized renderer folders
Maksasj Jul 30, 2024
67f5491
material manager
Maksasj Jul 30, 2024
fd14f87
fixed build issues
Maksasj Jul 30, 2024
71aff5b
moved logic into managers
Maksasj Jul 30, 2024
1b74f54
fixed some todos
Maksasj Jul 30, 2024
a6146bc
deleted unused files
Maksasj Jul 30, 2024
cd2565f
rewrote vulkan command encoder
Maksasj Jul 30, 2024
510d3ce
default material creation
Maksasj Jul 30, 2024
1d6d194
material implementation class
Maksasj Jul 30, 2024
fe8eb09
passing test material data to shader
Maksasj Jul 30, 2024
76eeee7
fixed materials
Maksasj Jul 31, 2024
d3a7891
fixed build issues
Maksasj Jul 31, 2024
ccc27c7
removed unnecessary matrix function
Maksasj Jul 31, 2024
2b3c97d
refactored quad and cube mesh generator code
Maksasj Jul 31, 2024
7fc6f07
tweeks
Maksasj Jul 31, 2024
1876aa8
test perspective matrix
Maksasj Jul 31, 2024
f5930fa
vertical flip for texture coordinate in quad mesh generator
Maksasj Jul 31, 2024
226a442
quad generator
Maksasj Aug 2, 2024
fc9ae9d
cube mesh generator
Maksasj Aug 2, 2024
787b015
test uv sphere generator
Maksasj Aug 2, 2024
3cbd420
uv sphere code refactoring
Maksasj Aug 2, 2024
bfa910d
removed unused code
Maksasj Aug 2, 2024
fe75b0c
removed test obj file
Maksasj Aug 2, 2024
420506b
moved glfw init inside window initialization
Maksasj Aug 2, 2024
5279800
present pass now uses mesh handles
Maksasj Aug 3, 2024
7f0dfd2
renamed texture resources to attachments
Maksasj Aug 3, 2024
68b390f
refactored render pass viewport code
Maksasj Aug 3, 2024
5f00b9c
refactored RenderQueueTask struct and IDeferredGPass code
Maksasj Aug 3, 2024
91e6f58
texture handle
Maksasj Aug 4, 2024
be61a8a
renamed texture class to texture impl
Maksasj Aug 4, 2024
73641b8
set_viewport and bind program for CommandEncoder
Maksasj Aug 4, 2024
9566c69
deleted test obj file
Maksasj Aug 5, 2024
acf77d7
stashed
Maksasj Aug 5, 2024
4d8aac4
pass implementation
Maksasj Aug 5, 2024
cb29c8a
refactored command encoder and pass assembler
Maksasj Aug 5, 2024
698ee7c
refactored render target code
Maksasj Aug 5, 2024
f0486bd
renamed VulkanRendererTarget to VulkanRenderTarget
Maksasj Aug 5, 2024
5011590
present pass
Maksasj Aug 5, 2024
dd25008
refactored renderer attachment code
Maksasj Aug 5, 2024
a2ebc6d
uniform buffer
Maksasj Aug 6, 2024
10d0931
vulkan pass factory
Maksasj Aug 6, 2024
2236adb
test per draw call data
Maksasj Aug 6, 2024
f4306a4
removed unused suzanne model
Maksasj Aug 6, 2024
9cf732f
Merge branch 'dev' of https://github.com/Maksasj/bebone into 99-typo-…
Maksasj Aug 7, 2024
b23d5ed
fixed typos
Maksasj Aug 7, 2024
1e5459e
Merge pull request #108 from Maksasj/99-typo-in-readme-rewrite-readme
Maksasj Aug 7, 2024
f432d2c
Merge branch 'dev' of https://github.com/Maksasj/bebone into 25-renderer
Maksasj Aug 7, 2024
268a6f6
attachment type and refactored vulkan attachment implementation
Maksasj Aug 9, 2024
7ef7c67
code cleaning
Maksasj Aug 9, 2024
cb9f5a2
get size, type for attachments
Maksasj Aug 9, 2024
e61d211
render target implementation
Maksasj Aug 10, 2024
b16fef5
plugging and registering generic resources
Maksasj Aug 10, 2024
956fd73
plugging render target
Maksasj Aug 10, 2024
89f1303
cleaned PBRRenderGraph code
Maksasj Aug 10, 2024
1f4d448
refactored ipass hierarchy
Maksasj Aug 10, 2024
ee0273b
caching shader sources
Maksasj Aug 11, 2024
344b138
updated version of glslang and fixed ipass_assembler
Maksasj Aug 11, 2024
a923403
renamed IMesh to IMeshImpl
Maksasj Aug 11, 2024
2c18771
IMesh class
Maksasj Aug 11, 2024
4c44f57
cleaned code
Maksasj Aug 11, 2024
b5a8bc0
texture deletion
Maksasj Aug 12, 2024
fbd24e2
mesh delete methods
Maksasj Aug 12, 2024
98b6bd1
material delete methods
Maksasj Aug 12, 2024
e091881
IMaterial instead of IMaterialImpl
Maksasj Aug 12, 2024
2d6f58e
ITexture class
Maksasj Aug 12, 2024
4aa1a2f
fixed some warnings
Maksasj Aug 16, 2024
756a25d
moved some files
Maksasj Sep 26, 2024
e361a8e
refactored matrix2xw tests
Maksasj Sep 26, 2024
44ab192
refactored matrix3x3 tests
Maksasj Sep 26, 2024
7be2892
refactored matrix4x4 tests
Maksasj Sep 26, 2024
113dbda
removed unused source files
Maksasj Sep 26, 2024
c02319c
added log levels
Maksasj Sep 26, 2024
d38904b
base for logger class
Maksasj Sep 26, 2024
e555dc7
added static logger class
Maksasj Sep 26, 2024
e101941
log macros
Maksasj Sep 26, 2024
865887a
fixed build
Maksasj Sep 30, 2024
9868890
added memory include
Maksasj Oct 1, 2024
ff03ff6
base for new logging system
Maksasj Oct 1, 2024
e619901
fixed mingw build
Maksasj Oct 2, 2024
c3e7e68
refactored console logger formating
Maksasj Oct 2, 2024
d647598
removed old profiler
Maksasj Oct 2, 2024
dd83daf
added logging alongside all throws
Maksasj Oct 2, 2024
9ec8ea4
added logging to gfx vulkan
Maksasj Oct 5, 2024
57bb98d
added some logging to core module
Maksasj Oct 5, 2024
ed38c63
added logger tests
Maksasj Oct 5, 2024
1dcabc9
Merge pull request #195 from Maksasj/194-refactor-logging
Maksasj Oct 5, 2024
9a34d79
removed old vulkan destroy methods
Maksasj Oct 5, 2024
c893f8d
test
Maksasj Oct 5, 2024
d47141a
gcc-13
Maksasj Oct 5, 2024
1594922
g++-13
Maksasj Oct 5, 2024
ffb76fb
compiler
Maksasj Oct 5, 2024
da9d4aa
which statemenet
Maksasj Oct 5, 2024
e7ad591
test
Maksasj Oct 5, 2024
336e95b
ubuntu 24
Maksasj Oct 5, 2024
2b859c7
stashed code
Maksasj Oct 5, 2024
23b0930
more code refactoring
Maksasj Oct 6, 2024
3817330
refactored Vulkan Device ownership
Maksasj Oct 6, 2024
66aa7a4
refactored more code
Maksasj Oct 6, 2024
3195830
replaced all shared pointer to unique pointers
Maksasj Oct 6, 2024
eda24ee
removed unused code in Vulkan Device
Maksasj Oct 7, 2024
0515b28
Even more code refactoring for Vulkan images
Maksasj Oct 7, 2024
caed048
added vulkan buffer and vulkan memory interfaces
Maksasj Oct 10, 2024
1b03ff1
refactored vulkan images and buffer
Maksasj Oct 10, 2024
7078998
more code
Maksasj Oct 10, 2024
371d03a
removed usage of vulkan_wrapper class
Maksasj Oct 10, 2024
d8abb89
made noncopyable trait as private
Maksasj Oct 10, 2024
0db2bbf
refactored image view code
Maksasj Oct 11, 2024
7e4d3d6
vulkan device interface
Maksasj Oct 11, 2024
c2da29c
renamed backends
Maksasj Oct 11, 2024
f935c18
added virtual destructors to vulkan interfaces
Maksasj Oct 21, 2024
4c70f99
removed vulkan version from workflows
Maksasj Nov 12, 2024
34ca98b
removed vulkan version from clang
Maksasj Nov 12, 2024
1a9ebca
updated versions
Maksasj Nov 12, 2024
6793240
removed format library
Maksasj Nov 12, 2024
0531f13
latest ubuntu runner
Maksasj Nov 12, 2024
cc07293
added gcc-13 to ubuntu workflow
Maksasj Nov 12, 2024
4d1bdb0
jakoch/install-vulkan-sdk-action@v1.0.0 step for ubuntu workflow
Maksasj Nov 12, 2024
a63746a
fixed typo
Maksasj Nov 12, 2024
d9a5853
Fixed typo
Maksasj Nov 12, 2024
0edf386
stashing
Maksasj Nov 12, 2024
11ec4db
removed begui
Maksasj Nov 23, 2024
6f022d1
stashe
Maksasj Nov 23, 2024
c0435bd
Merge branch '25-renderer' of github.com:Maksasj/bebone into 25-renderer
Maksasj Nov 23, 2024
e8904fc
fixed build error
Maksasj Nov 23, 2024
ab45f3e
code refactoring
Maksasj Nov 23, 2024
e3389f8
Merge pull request #78 from Maksasj/25-renderer
Maksasj Nov 26, 2024
112e157
removed old renderer code
Maksasj Nov 26, 2024
9f6a8fb
base for renderer agnostic api
Maksasj Nov 26, 2024
da83a1b
Some opengl gfx refactoring
Maksasj Nov 26, 2024
7da36cc
fixed opengl related build issues
Maksasj Nov 27, 2024
0ab3506
cmake fixes
Maksasj Dec 22, 2024
dccdd20
fixed source cmake
Maksasj Dec 22, 2024
b79ffa5
little code fixes
Maksasj Dec 25, 2024
25068cd
replaced maps with unordered_map
Maksasj Dec 26, 2024
05609d5
scale matrix fix
Maksasj Dec 27, 2024
9e939c7
Added to_vecX methods for Vec4
Maksasj Jan 8, 2025
0f9b1db
Value type field for vectors
Maksasj Jan 14, 2025
87bcd9d
added test rodrigues rotations
Maksasj Jan 23, 2025
15c21b1
added set title method for window
Maksasj Jan 24, 2025
4733980
fixed Vec2i division
Maksasj Jan 30, 2025
4a2d5a6
Added new constructor for gl texture 2d
Maksasj Jan 31, 2025
c570621
fixed image painter paint pixel
Maksasj Feb 22, 2025
66ab163
cubic interpolation
Maksasj Feb 22, 2025
d6bb8a4
fixed flappy bird example texture loader map code
Maksasj Feb 27, 2025
b4be846
updateed stb version
Maksasj Feb 27, 2025
da76f3f
updated
Maksasj Mar 1, 2025
39af551
updated stb
Maksasj Mar 1, 2025
b914ea9
removed vulkan headers and fixed cmake includes for other modules
Maksasj Mar 1, 2025
ff4f4d5
some stuff
Maksasj Mar 3, 2025
4c14ecc
Merge pull request #202 from bebone0/201-use-new-modular-architecture…
Maksasj Mar 4, 2025
6bb2771
removed imgui for now
Maksasj Mar 10, 2025
1b4904c
stb update
Maksasj Mar 10, 2025
ba6b8bd
Merge branch 'dev' of github.com:bebone0/bebone into dev
Maksasj Mar 10, 2025
e6a1767
updated one thing
Maksasj Mar 10, 2025
6fc05d1
Added window scroll callback
Maksasj Jun 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 7 additions & 3 deletions .github/workflows/clang_build_win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

env:
BUILD_TYPE: Release
BUILD_DIR: build

jobs:
build:
Expand All @@ -17,7 +18,7 @@ jobs:
- name: Install Vulkan SDK
uses: jakoch/install-vulkan-sdk-action@v1.0.0
with:
vulkan_version: 1.3.231.1
vulkan_version: 1.3.296.0
optional_components: com.lunarg.vulkan.vma
install_runtime: true
cache: true
Expand All @@ -33,7 +34,10 @@ jobs:
generator: Ninja
c-compiler: clang
cxx-compiler: clang++
build-dir: build
build-dir: ${{env.BUILD_DIR}}

- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
run: cmake --build ${{github.workspace}}/${{env.BUILD_DIR}} --config ${{env.BUILD_TYPE}}

- name: Run Core Unit Tests
run: cmake --build ${{github.workspace}}/${{env.BUILD_DIR}} --target run_core_tests
45 changes: 45 additions & 0 deletions .github/workflows/gcc_build_ubuntu.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Ubuntu GCC Build

on:
push:
branches: [ "master", "dev" ]
pull_request:
branches: [ "master", "dev" ]

env:
BUILD_TYPE: Release
BUILD_DIR: build
CMAKE_C_COMPILER: gcc-13
CMAKE_CPP_COMPILER: g++-13

jobs:
build:
runs-on: ubuntu-24.04

steps:
- uses: actions/checkout@v1
with:
submodules: recursive

- name: Install Vulkan SDK
uses: jakoch/install-vulkan-sdk-action@v1.0.0
with:
optional_components: com.lunarg.vulkan.vma
install_runtime: true
cache: true
stripdown: true

- name: Install GCC 13
run: sudo apt-get update && sudo apt-get -y install g++-13

- name: Install Ninja
run: sudo apt install ninja-build

- name: Configure CMake
run: cmake -B ${{env.BUILD_DIR}} -D CMAKE_C_COMPILER=/usr/bin/gcc-13 -D CMAKE_CXX_COMPILER=/usr/bin/g++-13 -G Ninja

- name: Build
run: cmake --build ${{github.workspace}}/${{env.BUILD_DIR}} --config ${{env.BUILD_TYPE}}

- name: Run Core Unit Tests
run: cmake --build ${{github.workspace}}/${{env.BUILD_DIR}} --target run_core_tests
10 changes: 7 additions & 3 deletions .github/workflows/mingw_gcc_build_win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

env:
BUILD_TYPE: Release
BUILD_DIR: build

jobs:
build:
Expand All @@ -17,7 +18,7 @@ jobs:
- name: Install Vulkan SDK
uses: jakoch/install-vulkan-sdk-action@v1.0.0
with:
vulkan_version: 1.3.231.1
vulkan_version: 1.3.296.0
optional_components: com.lunarg.vulkan.vma
install_runtime: true
cache: true
Expand All @@ -33,7 +34,10 @@ jobs:
generator: Ninja
c-compiler: gcc
cxx-compiler: g++
build-dir: build
build-dir: ${{env.BUILD_DIR}}

- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
run: cmake --build ${{github.workspace}}/${{env.BUILD_DIR}} --config ${{env.BUILD_TYPE}}

- name: Run Core Unit Tests
run: cmake --build ${{github.workspace}}/${{env.BUILD_DIR}} --target run_core_tests
45 changes: 0 additions & 45 deletions .github/workflows/ubuntu-latest.yml

This file was deleted.

4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@ build
/.idea/
make.bat
test.bat
imgui.ini
imgui.ini
.vs
./out
17 changes: 7 additions & 10 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,16 @@
[submodule "3dparty/glad"]
path = 3dparty/glad
url = https://github.com/Maksasj/glad
[submodule "3dparty/Vulkan-Headers"]
path = 3dparty/Vulkan-Headers
url = https://github.com/Maksasj/Vulkan-Headers.git
[submodule "3dparty/omni_types"]
path = 3dparty/omni_types
url = https://github.com/Maksasj/omni_types

[submodule "3dparty/stb"]
path = 3dparty/stb
url = https://github.com/Maksasj/stb
[submodule "3dparty/imgui"]
path = 3dparty/imgui
url = https://github.com/Maksasj/imgui
[submodule "3dparty/glslang"]
path = 3dparty/glslang
url = https://github.com/Maksasj/glslang
[submodule "3dparty/miniaudio"]
path = 3dparty/miniaudio
url = https://github.com/Maksasj/miniaudio
[submodule "3dparty/google-test"]
path = 3dparty/google-test
url = https://github.com/Soskar1/googletest.git
branch = v1.14.x
10 changes: 3 additions & 7 deletions 3dparty/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
add_subdirectory(glad)

set(OMNI_GLAD_INTEGRATION ON)
include_directories("glad/include")
add_subdirectory(omni_types)

set(GLFW_BUILD_DOCS OFF CACHE BOOL "" FORCE)
set(GLFW_INSTALL OFF CACHE BOOL "" FORCE)
set(GLFW_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)
Expand All @@ -15,8 +11,8 @@ set(SHADERC_SKIP_EXAMPLES ON)
set(SHADERC_SKIP_COPYRIGHT_CHECK ON)
add_subdirectory(glslang)

add_subdirectory("Vulkan-Headers")

add_subdirectory(stb)
add_subdirectory(miniaudio)

add_subdirectory(imgui)
add_subdirectory(google-test)
include_directories(${gtest_SOURCE_DIR}/include ${gtest_SOURCE_DIR})
1 change: 0 additions & 1 deletion 3dparty/Vulkan-Headers
Submodule Vulkan-Headers deleted from a3b683
2 changes: 1 addition & 1 deletion 3dparty/glslang
Submodule glslang updated 706 files
1 change: 1 addition & 0 deletions 3dparty/google-test
Submodule google-test added at f8d7d7
1 change: 0 additions & 1 deletion 3dparty/imgui
Submodule imgui deleted from 5f4078
1 change: 1 addition & 0 deletions 3dparty/miniaudio
Submodule miniaudio added at b487e0
1 change: 0 additions & 1 deletion 3dparty/omni_types
Submodule omni_types deleted from 6fa7d3
2 changes: 1 addition & 1 deletion 3dparty/stb
Submodule stb updated from 0763cb to ae3bde
15 changes: 8 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ project(Bebone)

# Bebone versions
set(BEBONE_VERSION_MAJOR 0 CACHE STRING "Bebone major version")
set(BEBONE_VERSION_MINOR 1 CACHE STRING "Bebone minor version")
set(BEBONE_VERSION_PATCH 1 CACHE STRING "Bebone patch version")
set(BEBONE_VERSION_MINOR 2 CACHE STRING "Bebone minor version")
set(BEBONE_VERSION_PATCH 0 CACHE STRING "Bebone patch version")

set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD 23)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

if(NOT CMAKE_BUILD_TYPE)
Expand All @@ -22,9 +22,9 @@ if(CMAKE_BUILD_TYPE MATCHES Release)
endif()

if(MSVC)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W4 /WX")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /W4")
else()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -std=c++2b")
endif()

# Bebone build options
Expand All @@ -34,9 +34,10 @@ option(BEBONE_TESTS "Bebone build all tests" ON)
option(BEBONE_BUILD_CORE "Bebone build core module" ON)
option(BEBONE_BUILD_ASSETS "Bebone build assets module" ON)
option(BEBONE_BUILD_GFX "Bebone build gfx module" ON)
option(BEBONE_BUILD_RENDERER "Bebone build renderer module" ON)
option(BEBONE_BUILD_SOUND "Bebone build sound module" ON)

add_subdirectory(3dparty)

add_subdirectory(src)

if(BEBONE_EXAMPLES)
Expand All @@ -45,4 +46,4 @@ endif()

if(BEBONE_TESTS)
add_subdirectory(tests)
endif()
endif()
Loading
Loading