Go to file
2015-06-19 16:40:25 -04:00
config Update Mac build info, add better-working test system, merge duplicate html & php languages 2015-06-19 15:54:18 -04:00
include Patch Json library to compile with -std=c++11 and gcc 2015-05-28 16:15:10 -04:00
resources Trying out a different icon set 2015-05-11 15:41:31 -04:00
src More tests, and does clang++ work on travis yet?! 2015-06-19 16:37:24 -04:00
tests Revert change to catch.hpp 2015-06-19 16:40:25 -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 Fix error in bash condition of travis config 2015-06-19 16:24:19 -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 More tests, and does clang++ work on travis yet?! 2015-06-19 16:37:24 -04:00
README.md Update Mac build info, add better-working test system, merge duplicate html & php languages 2015-06-19 15:54:18 -04:00
Windows-Build.md Update windows build instructions, More travis-ci tweaking 2015-05-29 09:13:30 -04:00

#Tyro

A Cross-platform Code Editor

Build Status (Linux Build Only)

Planned Features

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

Building

Linux (Ubuntu/Debian)

Required packages:

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

Optional:

  • libwxgtk3.0-0-dbg
  • libssh2-1-dbg

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.