Go to file
Jack Punter 2a69a8f005 Typo 2023-02-04 15:58:27 +00:00
code Remove scripts to update Itch.io page 2023-02-04 15:21:00 +00:00
non-source Add 'non-source/' from commit 'fd5f072a79d81b9f15aa183a65b6384de8344d6b' 2022-11-18 14:05:59 +00:00
.gitignore Correct build for new structure 2022-11-18 16:43:00 +00:00
README.md Typo 2023-02-04 15:58:27 +00:00

README.md

4Coder Community

Welcome to the 4coder community repository.

Building

Windows

  1. Setup the MSVC toolchain in your environment, this can be done with the code/custom/bin/setup_cl_x64.bat script
  2. call the package.bat script from the code directory
    1. $ cd 4cc/code
    2. ./bin/package.bat
  3. You can also use the build.bat script if you want just build the binaries, this does not copy the default config, fonts and bindings
    1. $ cd 4cc/code
    2. $ ./bin/build.bat

Linux

tested on Ubuntu 22.04:

  1. Get required libraries (apt names):

    • $ sudo apt install build-essential libx11-dev libxfixes-dev libglx-dev mesa-common-dev libasound2-dev libfreetype-dev libfontconfig-dev
  2. Use the package-linux.sh script to build and package an application

    1. $ cd 4cc/code
    2. $ ./bin/package-linux.sh
  3. You can also use the build-linux.sh script if you want just build the binaries, this does not copy the default config, fonts and bindings

    1. $ cd 4cc/code
    2. $ ./bin/build-linux.sh

Mac (Untested)

  1. The steps should be the same as linux but replace the *-linux.sh with their *-mac.sh equivalents.