2017-01-25 12:03:03 -05:00
# Tyro
2015-03-30 16:38:52 -04:00
A Cross-platform Code Editor
2015-04-15 14:19:28 -04:00
## Planned Features
2015-03-30 16:38:52 -04:00
* Syntax Highlighting
* Line Numbers
* Custom Syntax themes
* SFTP editing
2015-04-15 14:19:28 -04:00
## Building
2015-04-02 14:20:35 -04:00
2015-04-15 14:19:28 -04:00
### Linux (Ubuntu/Debian)
Required packages:
* build-essential
* libssh2-1-dev
2015-11-03 13:30:00 -05:00
* libwxgtk3.0-dev
2015-04-15 14:19:28 -04:00
After these packages are installed, the project should build with a simple `make` command.
### OS X
Building wxWidgets:
2015-11-03 13:30:00 -05:00
If you want maximum compatibility with older versions of OS X,
view [the guide ](./Mac-compatibility-build.md ). Otherwise, these simpler
2015-05-08 15:40:43 -04:00
steps should work fine for a local build.
2015-06-19 15:54:18 -04:00
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`
2015-04-15 14:19:28 -04:00
Install libssh2 (Using homebrew):
* `brew install libssh2`
Build the app:
* `make Tyro.app`
### Windows
2015-04-02 14:20:35 -04:00
2015-04-24 16:50:46 -04:00
See the guide for building on Windows: [Windows-Build ](./Windows-Build.md )
2015-04-28 16:14:04 -04:00
## 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.
2015-04-24 16:50:46 -04:00
2015-11-03 13:30:00 -05:00