Skip to content

Commit

Permalink
Merge pull request #3 from TAServers/rewrite
Browse files Browse the repository at this point in the history
Bring VTFParser into the modern age
  • Loading branch information
Derpius authored Oct 14, 2024
2 parents 1ff9076 + 38c3c38 commit 6996df4
Show file tree
Hide file tree
Showing 27 changed files with 4,346 additions and 1,504 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/doxygen.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Doxygen
run-name: "Build and deploy documentation"
on:
push:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true

- name: Build documentation
uses: mattnotmitt/[email protected]

- name: Upload artefact
uses: actions/upload-pages-artifact@v3
with:
path: docs/html

deploy:
needs: build

permissions:
pages: write
id-token: write

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4
id: deployment
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -363,3 +363,4 @@ MigrationBackup/
FodyWeavers.xsd

premakeout/
docs
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "doxygen-awesome-css"]
path = doxygen-awesome-css
url = [email protected]:jothepro/doxygen-awesome-css.git
17 changes: 10 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
cmake_minimum_required (VERSION 3.20)
cmake_minimum_required(VERSION 3.20)

project("VTFParser" CXX)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD 20)

add_library(
${PROJECT_NAME}
"VTFParser.cpp"
"FileFormat/Parser.cpp"
"DXTn/DXT1.cpp" "DXTn/DXT3.cpp" "DXTn/DXT5.cpp"
add_library(VTFParser
src/helpers/check-bounds.hpp
src/errors.hpp
src/vtf.cpp
src/vtf.hpp
src/file-format-objects/header.hpp
src/file-format-objects/enums.hpp
VTFParser.hpp
)
Loading

0 comments on commit 6996df4

Please sign in to comment.