Skip to content
This repository was archived by the owner on Aug 1, 2026. It is now read-only.

Repository files navigation

editor

Archival Note

Note

An attempt to build a text editor, gone horribly horribly wrong, I over-engineered everything, from the build system to the code abstractions. Restarted with a cleaner approach at https://github.com/printfdebugging/roots.

Environment Setup

  • Windows
    • Install MSYS2 with winget install MSYS2.MSYS2
    • Add C:\msys64\clang64\bin to PATH
      • You can do that from the Edit the system environment variables dialog
      • Or run this command (from the codeblock below) in Powershell
    • Install Git with winget install Git.Git
    • Install VSCode with winget install Microsoft.VisualStudioCode
if ($env:Path -notlike "*C:\msys64\clang64\bin*") { [Environment]::SetEnvironmentVariable("Path", [Environment]::GetEnvironmentVariable("Path", "User") + ";C:\msys64\clang64\bin", "User") }

Dependencies

  • On Windows, open the MSYS2 CLANG64 shell
  • On Linux, use "THE BASH"
  • Run ./external/scripts/dependencies.sh, this installs compilers, build tools etc

Note

dependencies.sh only installs packages for Archlinux and MSYS2. If you use some other distribution, feel free to find the equivalent package names and add them to the script, thanks!

Bulid Steps

git submodule update --init --recursive # downloads half the internet, sorry!

# build and install (locally) the external libraries
make -C external install

# build the project itself
cmake -B build
cmake --build build

# run the editor
./build/editor

About

An attempt to build a text editor, gone horribly horribly wrong, I over-engineered everything, from the build system to the code abstractions. Restarted with a cleaner approach at https://github.com/printfdebugging/roots.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages