chore: clean up and make building the project a bit easier #31

Merged
insberr merged 11 commits from cleanup-and-fix into main 2026-07-21 08:42:28 -07:00
Owner

Some things to do:

  • Remove .idea
  • Fix nix so the project can build on nix
  • Update deps
  • Migrate CI build to crowci
    • build linux binary
    • build appimage
    • build windows exe (might skip this)
  • Update README to be a bit more useful
  • Organize project files
  • Add license
  • Clean up CMakeLists
  • Statically link libraries
Some things to do: - [x] Remove `.idea` - [x] Fix nix so the project can build on nix - [x] Update deps - [x] Migrate CI build to crowci - [x] build linux binary - [ ] build appimage - [ ] build windows exe (might skip this) - [x] Update README to be a bit more useful - [x] Organize project files - [x] Add license - [x] Clean up `CMakeLists` - [x] Statically link libraries
insberr self-assigned this 2026-07-18 02:07:15 -07:00
Author
Owner

Move everything into a src folder LOL. and then I can do this in the cmakelists

file(GLOB ARCHEA_SOURCE_FILES "${CMAKE_CURRENT_SOURCE_DIR}/src/**/*.cpp")
add_executable(archea ${ARCHEA_SOURCE_FILES})
Move everything into a `src` folder LOL. and then I can do this in the cmakelists ```cmake file(GLOB ARCHEA_SOURCE_FILES "${CMAKE_CURRENT_SOURCE_DIR}/src/**/*.cpp") add_executable(archea ${ARCHEA_SOURCE_FILES}) ```
Author
Owner

I think something like this works a bit better

file(GLOB_RECURSE ARCHEA_SOURCE_FILES CONFIGURE_DEPENDS
    "${CMAKE_SOURCE_DIR}/src/*.cpp"
    "${CMAKE_SOURCE_DIR}/src/*.h"
)
add_executable(archea ${ARCHEA_SOURCE_FILES})
I think something like this works a bit better ```cmake file(GLOB_RECURSE ARCHEA_SOURCE_FILES CONFIGURE_DEPENDS "${CMAKE_SOURCE_DIR}/src/*.cpp" "${CMAKE_SOURCE_DIR}/src/*.h" ) add_executable(archea ${ARCHEA_SOURCE_FILES}) ```
crowci?
Some checks failed
ci/crow/manual/build Pipeline failed
94a4c0a661
OH MY GOD THAT WAS A PAIN IN THE ASS
Author
Owner

Fun fact! Everything builds, but GLEW fails to init at runtime,,, yay thats going to be fun to figure out!

Fun fact! Everything builds, but GLEW fails to init at runtime,,, yay thats going to be fun to figure out!
Author
Owner

Might try and switch to glad, though that also seems to be a bit of a nightmare. A lot of code edits might need to be made

Might try and switch to glad, though that also seems to be a bit of a nightmare. A lot of code edits might need to be made
Author
Owner

So i can just do this and ignore the error, and things run. But thats kinda jank in my opinion.

GLenum err = glewInit();
if (err != GLEW_OK && err != GLEW_ERROR_NO_GLX_DISPLAY) {
    // real init failure — handle it
}

So im going to switch to glad

So i can just do this and ignore the error, and things run. But thats kinda jank in my opinion. ```cpp GLenum err = glewInit(); if (err != GLEW_OK && err != GLEW_ERROR_NO_GLX_DISPLAY) { // real init failure — handle it } ``` So im going to switch to `glad`
add LICENSE
Some checks failed
ci/crow/push/build Pipeline failed
ci/crow/manual/build Pipeline failed
a9b6129af7
Author
Owner

yeah this is fine

yeah this is fine
insberr changed title from WIP: chore: clean up and make building the project a bit easier to chore: clean up and make building the project a bit easier 2026-07-21 08:42:07 -07:00
insberr deleted branch cleanup-and-fix 2026-07-21 08:42:33 -07:00
Sign in to join this conversation.
No description provided.