Merge branch 'master' of http://10.1.1.35:3000/wiharb/simple-cmake-template
This commit is contained in:
29
README.md
29
README.md
@@ -1,12 +1,21 @@
|
|||||||
_build/ - Location for build artifacts (gitignore)
|
## Overview
|
||||||
_external/ (Compiled/src 3rd party libraries and headers)
|
A simple cmake template
|
||||||
assets/ - binary assets (textures, audio files, compiled shaders)
|
- Works with VS Code and Visual Studio 2022
|
||||||
source/ (Source files for project)
|
- Works on Windows (probably Linux as well but have not tested)
|
||||||
.gitattributes
|
- Initialize with : `cmake -S . -B ./_build`
|
||||||
.gitignore
|
- Pulls down 3rd party dependancies with CMake Fetch
|
||||||
LICENCE
|
- Makes `ASSETS_PATH` macro available to code
|
||||||
CMakeLists.txt
|
## Structure
|
||||||
README
|
```
|
||||||
|
_build/ - Location for build artifacts (gitignore)
|
||||||
|
_external/ (Compiled/src 3rd party libraries and headers)
|
||||||
|
assets/ - binary assets (textures, audio files, compiled shaders)
|
||||||
|
sources/ (Source files for project)
|
||||||
|
.gitattributes
|
||||||
|
.gitignore
|
||||||
|
LICENCE
|
||||||
|
CMakeLists.txt
|
||||||
|
README
|
||||||
|
```
|
||||||
## Asset handling
|
## Asset handling
|
||||||
CMAKE implements `ASSETS_PATH` as either a relative or absolute path to assets/
|
CMAKE implements `ASSETS_PATH` as either a relative or absolute path to assets/
|
||||||
|
|||||||
Reference in New Issue
Block a user