Compare commits

...

5 Commits

Author SHA1 Message Date
8c62ce6bce feat: included glm to Cmake 2025-09-08 12:52:38 +02:00
1e918d5370 docs: updated toDos 2025-09-08 10:51:29 +00:00
a2ba43fe79 feat: further improvement of the build and compress script 2025-09-08 12:20:49 +02:00
dbca360da2 docs: updated toDos 2025-09-08 10:12:46 +00:00
627380e3e2 Update readme.md 2025-09-04 10:52:54 +00:00
3 changed files with 12 additions and 2 deletions

View File

@@ -11,4 +11,6 @@ SET(CMAKE_CXX_FLAGS "-Os -s")
add_executable(one main.cpp)
target_link_libraries(one m glfw GLEW GL)
find_package(glm REQUIRED)
target_link_libraries(one m glfw GLEW GL glm::glm)

View File

@@ -1,7 +1,12 @@
#!/bin/bash
cd build
cmake --build .
echo "dd bs=1 skip=61<\$0|unlzma>/tmp/C;chmod +x /tmp/C;/tmp/C;exit" > two
CMD="#!/bin/bash
dd bs=1 skip=%s<\$0|unlzma>/tmp/C;chmod +x /tmp/C;trap '' HUP;/tmp/C&"
COUNT=$(printf "$CMD" | wc -c)
EXTRA=$(printf "$COUNT" | wc -c)
COUNT=$((COUNT + EXTRA + 1))
echo "$CMD" | sed 's/%s/'"$COUNT"'/' > two
chmod +x two
sstrip one
lzma -9 one

View File

@@ -8,6 +8,9 @@
- [ ] Shader Management
- [ ] Configure Preprocessor
- [ ] Shader Storage
- [x] Binary compression
- [x] C++ Math Lib
- [ ] SDF
- [ ] Basic Shape Rendering