Go to file
2019-05-30 10:53:03 -04:00
cmake Remove Hunter and update build status icon on README 2015-11-18 16:11:53 -05:00
config Ugly progress commit 2019-03-20 16:49:25 -04:00
include Patch Json library to compile with -std=c++11 and gcc 2015-05-28 16:15:10 -04:00
resources Start of changes to build on Windows w/ Visual Studio 2015-10-23 15:49:29 -04:00
src Full file tree in sidebar (from cwd) 2019-05-30 10:53:03 -04:00
tests Refactor includes to be more sane 2015-07-07 10:01:17 -04:00
.editorconfig Yet another progress commit 2019-05-16 15:21:32 -04:00
.gitignore Update Mac build info, add better-working test system, merge duplicate html & php languages 2015-06-19 15:54:18 -04:00
.travis.yml Attempt to build Tyro on travis CI 2015-11-18 15:43:04 -05:00
cmake.sh Ugly progress commit 2019-05-14 16:23:47 -04:00
CMakeLists.txt Full file tree in sidebar (from cwd) 2019-05-30 10:53:03 -04:00
Mac-compatibility-build.md Update Mac build info, add better-working test system, merge duplicate html & php languages 2015-06-19 15:54:18 -04:00
Makefile Select files from sidebar! 2019-05-10 16:35:09 -04:00
README.md Update README.md 2017-01-25 12:03:03 -05:00
sonar-project.properties Check for C11, use pragma once 2016-01-13 09:29:09 -05:00
Windows-Build.md Start of changes to build on Windows w/ Visual Studio 2015-10-23 15:49:29 -04:00

Tyro

A Cross-platform Code Editor

Planned Features

  • Syntax Highlighting
  • Line Numbers
  • Custom Syntax themes
  • SFTP editing

Building

Linux (Ubuntu/Debian)

Required packages:

  • build-essential
  • libssh2-1-dev
  • libwxgtk3.0-dev

After these packages are installed, the project should build with a simple make command.

OS X

Building wxWidgets:

If you want maximum compatibility with older versions of OS X, view the guide. Otherwise, these simpler steps should work fine for a local build.

  1. Download the latest wxWidgets source (>= 3.0.2)
  2. Run export CXX="clang++ -std=c++11 -stdlib=libc++" to compile with clang for better C++11 support
  3. Make a new directory in the source tree, like wxmac
  4. Run ../configure --disable-shared --disable-webviewwebkit --disable-compat28 in the new directory
  5. Run make && make install

Install libssh2 (Using homebrew):

  • brew install libssh2

Build the app:

  • make Tyro.app

Windows

See the guide for building on Windows: Windows-Build

Make commands

Please note that make commands are chainable. For a typical programming loop, make clean dev run is very useful.

  • all - Make a release binary in the build folder
  • clean - Remove intermediate build files
  • dev - Make a development binary in the build folder
  • run - Run the current binary in the build folder
  • release - Make a release binary, with the appropriate resources compiled in. Makes an app bundle on OS X, and adds the icon to the program on Windows.